diff --git a/.github/workflows/dbt_run.yml b/.github/workflows/dbt_run.yml index e91f94d53aa..afc1d89b4c7 100644 --- a/.github/workflows/dbt_run.yml +++ b/.github/workflows/dbt_run.yml @@ -48,6 +48,9 @@ jobs: - name: dbt seed run: "dbt seed $PROFILE --select @state:modified --exclude tag:prod_exclude tag:remove --state . --project-dir ${PROJECT_DIR}" + - name: list downstream models + run: "./scripts/list_modified_downstream.sh" + - name: dbt run initial model(s) run: "dbt -x run $PROFILE --select state:modified --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ad6a4040b30..41761301108 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -101,7 +101,7 @@ models: - name: mock_table columns: - name: tx_id - tests: + data_tests: - unique - not_null ``` diff --git a/Pipfile b/Pipfile index 14601f8e9a7..fe5bde4c96d 100644 --- a/Pipfile +++ b/Pipfile @@ -7,7 +7,7 @@ name = "pypi" numpy = "2.0.12" pre-commit = "2.20.0" pytest = "7.1.3" -dbt-trino = "1.7.0" +dbt-trino = "1.8.2" [requires] -python_version = "3.9" +python_version = "3.9" \ No newline at end of file diff --git a/Pipfile.lock b/Pipfile.lock index 4f3aa6e7b1f..f7261af038c 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "ab63c0ae72cd1081edda6062d062743e639d2517c30d9aa57d8181ed42d77e72" + "sha256": "ad039719a8fc32f6782de06f76f191e442fce11863ff3248c65ee3ab7e137618" }, "pipfile-spec": 6, "requires": { @@ -18,92 +18,42 @@ "default": { "agate": { "hashes": [ - "sha256:23f9f412f74f97b72f82b1525ab235cc816bc8c8525d968a091576a0dbc54a5f", - "sha256:eadf46d980168b8922d5d396d6258eecd5e7dbef7e6f0c0b71e968545ea96389" + "sha256:1cf329510b3dde07c4ad1740b7587c9c679abc3dcd92bb1107eabc10c2e03c50", + "sha256:bc60880c2ee59636a2a80cd8603d63f995be64526abf3cbba12f00767bcd5b3d" ], - "version": "==1.7.1" + "version": "==1.9.1" + }, + "annotated-types": { + "hashes": [ + "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", + "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89" + ], + "markers": "python_version >= '3.8'", + "version": "==0.7.0" }, "attrs": { "hashes": [ - "sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04", - "sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015" + "sha256:5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346", + "sha256:81921eb96de3191c8258c199618104dd27ac608d9366f5e35d011eae1867ede2" ], "markers": "python_version >= '3.7'", - "version": "==23.1.0" + "version": "==24.2.0" }, "babel": { "hashes": [ - "sha256:33e0952d7dd6374af8dbf6768cc4ddf3ccfefc244f9986d4074704f2fbd18900", - "sha256:7077a4984b02b6727ac10f1f7294484f737443d7e2e66c5e4380e41a3ae0b4ed" + "sha256:368b5b98b37c06b7daf6696391c3240c938b37767d4584413e8438c5c435fa8b", + "sha256:d1f3554ca26605fe173f3de0c65f750f5a42f924499bf134de6423582298e316" ], - "markers": "python_version >= '3.7'", - "version": "==2.13.1" + "markers": "python_version >= '3.8'", + "version": "==2.16.0" }, "certifi": { "hashes": [ - "sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082", - "sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9" + "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8", + "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9" ], "markers": "python_version >= '3.6'", - "version": "==2023.7.22" - }, - "cffi": { - "hashes": [ - "sha256:0c9ef6ff37e974b73c25eecc13952c55bceed9112be2d9d938ded8e856138bcc", - "sha256:131fd094d1065b19540c3d72594260f118b231090295d8c34e19a7bbcf2e860a", - "sha256:1b8ebc27c014c59692bb2664c7d13ce7a6e9a629be20e54e7271fa696ff2b417", - "sha256:2c56b361916f390cd758a57f2e16233eb4f64bcbeee88a4881ea90fca14dc6ab", - "sha256:2d92b25dbf6cae33f65005baf472d2c245c050b1ce709cc4588cdcdd5495b520", - "sha256:31d13b0f99e0836b7ff893d37af07366ebc90b678b6664c955b54561fc36ef36", - "sha256:32c68ef735dbe5857c810328cb2481e24722a59a2003018885514d4c09af9743", - "sha256:3686dffb02459559c74dd3d81748269ffb0eb027c39a6fc99502de37d501faa8", - "sha256:582215a0e9adbe0e379761260553ba11c58943e4bbe9c36430c4ca6ac74b15ed", - "sha256:5b50bf3f55561dac5438f8e70bfcdfd74543fd60df5fa5f62d94e5867deca684", - "sha256:5bf44d66cdf9e893637896c7faa22298baebcd18d1ddb6d2626a6e39793a1d56", - "sha256:6602bc8dc6f3a9e02b6c22c4fc1e47aa50f8f8e6d3f78a5e16ac33ef5fefa324", - "sha256:673739cb539f8cdaa07d92d02efa93c9ccf87e345b9a0b556e3ecc666718468d", - "sha256:68678abf380b42ce21a5f2abde8efee05c114c2fdb2e9eef2efdb0257fba1235", - "sha256:68e7c44931cc171c54ccb702482e9fc723192e88d25a0e133edd7aff8fcd1f6e", - "sha256:6b3d6606d369fc1da4fd8c357d026317fbb9c9b75d36dc16e90e84c26854b088", - "sha256:748dcd1e3d3d7cd5443ef03ce8685043294ad6bd7c02a38d1bd367cfd968e000", - "sha256:7651c50c8c5ef7bdb41108b7b8c5a83013bfaa8a935590c5d74627c047a583c7", - "sha256:7b78010e7b97fef4bee1e896df8a4bbb6712b7f05b7ef630f9d1da00f6444d2e", - "sha256:7e61e3e4fa664a8588aa25c883eab612a188c725755afff6289454d6362b9673", - "sha256:80876338e19c951fdfed6198e70bc88f1c9758b94578d5a7c4c91a87af3cf31c", - "sha256:8895613bcc094d4a1b2dbe179d88d7fb4a15cee43c052e8885783fac397d91fe", - "sha256:88e2b3c14bdb32e440be531ade29d3c50a1a59cd4e51b1dd8b0865c54ea5d2e2", - "sha256:8f8e709127c6c77446a8c0a8c8bf3c8ee706a06cd44b1e827c3e6a2ee6b8c098", - "sha256:9cb4a35b3642fc5c005a6755a5d17c6c8b6bcb6981baf81cea8bfbc8903e8ba8", - "sha256:9f90389693731ff1f659e55c7d1640e2ec43ff725cc61b04b2f9c6d8d017df6a", - "sha256:a09582f178759ee8128d9270cd1344154fd473bb77d94ce0aeb2a93ebf0feaf0", - "sha256:a6a14b17d7e17fa0d207ac08642c8820f84f25ce17a442fd15e27ea18d67c59b", - "sha256:a72e8961a86d19bdb45851d8f1f08b041ea37d2bd8d4fd19903bc3083d80c896", - "sha256:abd808f9c129ba2beda4cfc53bde801e5bcf9d6e0f22f095e45327c038bfe68e", - "sha256:ac0f5edd2360eea2f1daa9e26a41db02dd4b0451b48f7c318e217ee092a213e9", - "sha256:b29ebffcf550f9da55bec9e02ad430c992a87e5f512cd63388abb76f1036d8d2", - "sha256:b2ca4e77f9f47c55c194982e10f058db063937845bb2b7a86c84a6cfe0aefa8b", - "sha256:b7be2d771cdba2942e13215c4e340bfd76398e9227ad10402a8767ab1865d2e6", - "sha256:b84834d0cf97e7d27dd5b7f3aca7b6e9263c56308ab9dc8aae9784abb774d404", - "sha256:b86851a328eedc692acf81fb05444bdf1891747c25af7529e39ddafaf68a4f3f", - "sha256:bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0", - "sha256:c0f31130ebc2d37cdd8e44605fb5fa7ad59049298b3f745c74fa74c62fbfcfc4", - "sha256:c6a164aa47843fb1b01e941d385aab7215563bb8816d80ff3a363a9f8448a8dc", - "sha256:d8a9d3ebe49f084ad71f9269834ceccbf398253c9fac910c4fd7053ff1386936", - "sha256:db8e577c19c0fda0beb7e0d4e09e0ba74b1e4c092e0e40bfa12fe05b6f6d75ba", - "sha256:dc9b18bf40cc75f66f40a7379f6a9513244fe33c0e8aa72e2d56b0196a7ef872", - "sha256:e09f3ff613345df5e8c3667da1d918f9149bd623cd9070c983c013792a9a62eb", - "sha256:e4108df7fe9b707191e55f33efbcb2d81928e10cea45527879a4749cbe472614", - "sha256:e6024675e67af929088fda399b2094574609396b1decb609c55fa58b028a32a1", - "sha256:e70f54f1796669ef691ca07d046cd81a29cb4deb1e5f942003f401c0c4a2695d", - "sha256:e715596e683d2ce000574bae5d07bd522c781a822866c20495e52520564f0969", - "sha256:e760191dd42581e023a68b758769e2da259b5d52e3103c6060ddc02c9edb8d7b", - "sha256:ed86a35631f7bfbb28e108dd96773b9d5a6ce4811cf6ea468bb6a359b256b1e4", - "sha256:ee07e47c12890ef248766a6e55bd38ebfb2bb8edd4142d56db91b21ea68b7627", - "sha256:fa3a0128b152627161ce47201262d3140edb5a5c3da88d73a1b790a959126956", - "sha256:fcc8eb6d5902bb1cf6dc4f187ee3ea80a1eba0a89aba40a5cb20a5087d961357" - ], - "markers": "python_version >= '3.8'", - "version": "==1.16.0" + "version": "==2024.8.30" }, "cfgv": { "hashes": [ @@ -115,99 +65,114 @@ }, "charset-normalizer": { "hashes": [ - "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027", - "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087", - "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786", - "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8", - "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09", - "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185", - "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574", - "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e", - "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519", - "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898", - "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269", - "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3", - "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f", - "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6", - "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8", - "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a", - "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73", - "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc", - "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714", - "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2", - "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc", - "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce", - "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d", - "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e", - "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6", - "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269", - "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96", - "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d", - "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a", - "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4", - "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77", - "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d", - "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0", - "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed", - "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068", - "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac", - "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25", - "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8", - "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab", - "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26", - "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2", - "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db", - "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f", - "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5", - "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99", - "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c", - "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d", - "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811", - "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa", - "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a", - "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03", - "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b", - "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04", - "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c", - "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001", - "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458", - "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389", - "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99", - "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985", - "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537", - "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238", - "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f", - "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d", - "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796", - "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a", - "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143", - "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8", - "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c", - "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5", - "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5", - "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711", - "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4", - "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6", - "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c", - "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7", - "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4", - "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b", - "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae", - "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12", - "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c", - "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae", - "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8", - "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887", - "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b", - "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4", - "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f", - "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5", - "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33", - "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519", - "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561" + "sha256:0099d79bdfcf5c1f0c2c72f91516702ebf8b0b8ddd8905f97a8aecf49712c621", + "sha256:0713f3adb9d03d49d365b70b84775d0a0d18e4ab08d12bc46baa6132ba78aaf6", + "sha256:07afec21bbbbf8a5cc3651aa96b980afe2526e7f048fdfb7f1014d84acc8b6d8", + "sha256:0b309d1747110feb25d7ed6b01afdec269c647d382c857ef4663bbe6ad95a912", + "sha256:0d99dd8ff461990f12d6e42c7347fd9ab2532fb70e9621ba520f9e8637161d7c", + "sha256:0de7b687289d3c1b3e8660d0741874abe7888100efe14bd0f9fd7141bcbda92b", + "sha256:1110e22af8ca26b90bd6364fe4c763329b0ebf1ee213ba32b68c73de5752323d", + "sha256:130272c698667a982a5d0e626851ceff662565379baf0ff2cc58067b81d4f11d", + "sha256:136815f06a3ae311fae551c3df1f998a1ebd01ddd424aa5603a4336997629e95", + "sha256:14215b71a762336254351b00ec720a8e85cada43b987da5a042e4ce3e82bd68e", + "sha256:1db4e7fefefd0f548d73e2e2e041f9df5c59e178b4c72fbac4cc6f535cfb1565", + "sha256:1ffd9493de4c922f2a38c2bf62b831dcec90ac673ed1ca182fe11b4d8e9f2a64", + "sha256:2006769bd1640bdf4d5641c69a3d63b71b81445473cac5ded39740a226fa88ab", + "sha256:20587d20f557fe189b7947d8e7ec5afa110ccf72a3128d61a2a387c3313f46be", + "sha256:223217c3d4f82c3ac5e29032b3f1c2eb0fb591b72161f86d93f5719079dae93e", + "sha256:27623ba66c183eca01bf9ff833875b459cad267aeeb044477fedac35e19ba907", + "sha256:285e96d9d53422efc0d7a17c60e59f37fbf3dfa942073f666db4ac71e8d726d0", + "sha256:2de62e8801ddfff069cd5c504ce3bc9672b23266597d4e4f50eda28846c322f2", + "sha256:2f6c34da58ea9c1a9515621f4d9ac379871a8f21168ba1b5e09d74250de5ad62", + "sha256:309a7de0a0ff3040acaebb35ec45d18db4b28232f21998851cfa709eeff49d62", + "sha256:35c404d74c2926d0287fbd63ed5d27eb911eb9e4a3bb2c6d294f3cfd4a9e0c23", + "sha256:3710a9751938947e6327ea9f3ea6332a09bf0ba0c09cae9cb1f250bd1f1549bc", + "sha256:3d59d125ffbd6d552765510e3f31ed75ebac2c7470c7274195b9161a32350284", + "sha256:40d3ff7fc90b98c637bda91c89d51264a3dcf210cade3a2c6f838c7268d7a4ca", + "sha256:425c5f215d0eecee9a56cdb703203dda90423247421bf0d67125add85d0c4455", + "sha256:43193c5cda5d612f247172016c4bb71251c784d7a4d9314677186a838ad34858", + "sha256:44aeb140295a2f0659e113b31cfe92c9061622cadbc9e2a2f7b8ef6b1e29ef4b", + "sha256:47334db71978b23ebcf3c0f9f5ee98b8d65992b65c9c4f2d34c2eaf5bcaf0594", + "sha256:4796efc4faf6b53a18e3d46343535caed491776a22af773f366534056c4e1fbc", + "sha256:4a51b48f42d9358460b78725283f04bddaf44a9358197b889657deba38f329db", + "sha256:4b67fdab07fdd3c10bb21edab3cbfe8cf5696f453afce75d815d9d7223fbe88b", + "sha256:4ec9dd88a5b71abfc74e9df5ebe7921c35cbb3b641181a531ca65cdb5e8e4dea", + "sha256:4f9fc98dad6c2eaa32fc3af1417d95b5e3d08aff968df0cd320066def971f9a6", + "sha256:54b6a92d009cbe2fb11054ba694bc9e284dad30a26757b1e372a1fdddaf21920", + "sha256:55f56e2ebd4e3bc50442fbc0888c9d8c94e4e06a933804e2af3e89e2f9c1c749", + "sha256:5726cf76c982532c1863fb64d8c6dd0e4c90b6ece9feb06c9f202417a31f7dd7", + "sha256:5d447056e2ca60382d460a604b6302d8db69476fd2015c81e7c35417cfabe4cd", + "sha256:5ed2e36c3e9b4f21dd9422f6893dec0abf2cca553af509b10cd630f878d3eb99", + "sha256:5ff2ed8194587faf56555927b3aa10e6fb69d931e33953943bc4f837dfee2242", + "sha256:62f60aebecfc7f4b82e3f639a7d1433a20ec32824db2199a11ad4f5e146ef5ee", + "sha256:63bc5c4ae26e4bc6be6469943b8253c0fd4e4186c43ad46e713ea61a0ba49129", + "sha256:6b40e8d38afe634559e398cc32b1472f376a4099c75fe6299ae607e404c033b2", + "sha256:6b493a043635eb376e50eedf7818f2f322eabbaa974e948bd8bdd29eb7ef2a51", + "sha256:6dba5d19c4dfab08e58d5b36304b3f92f3bd5d42c1a3fa37b5ba5cdf6dfcbcee", + "sha256:6fd30dc99682dc2c603c2b315bded2799019cea829f8bf57dc6b61efde6611c8", + "sha256:707b82d19e65c9bd28b81dde95249b07bf9f5b90ebe1ef17d9b57473f8a64b7b", + "sha256:7706f5850360ac01d80c89bcef1640683cc12ed87f42579dab6c5d3ed6888613", + "sha256:7782afc9b6b42200f7362858f9e73b1f8316afb276d316336c0ec3bd73312742", + "sha256:79983512b108e4a164b9c8d34de3992f76d48cadc9554c9e60b43f308988aabe", + "sha256:7f683ddc7eedd742e2889d2bfb96d69573fde1d92fcb811979cdb7165bb9c7d3", + "sha256:82357d85de703176b5587dbe6ade8ff67f9f69a41c0733cf2425378b49954de5", + "sha256:84450ba661fb96e9fd67629b93d2941c871ca86fc38d835d19d4225ff946a631", + "sha256:86f4e8cca779080f66ff4f191a685ced73d2f72d50216f7112185dc02b90b9b7", + "sha256:8cda06946eac330cbe6598f77bb54e690b4ca93f593dee1568ad22b04f347c15", + "sha256:8ce7fd6767a1cc5a92a639b391891bf1c268b03ec7e021c7d6d902285259685c", + "sha256:8ff4e7cdfdb1ab5698e675ca622e72d58a6fa2a8aa58195de0c0061288e6e3ea", + "sha256:9289fd5dddcf57bab41d044f1756550f9e7cf0c8e373b8cdf0ce8773dc4bd417", + "sha256:92a7e36b000bf022ef3dbb9c46bfe2d52c047d5e3f3343f43204263c5addc250", + "sha256:92db3c28b5b2a273346bebb24857fda45601aef6ae1c011c0a997106581e8a88", + "sha256:95c3c157765b031331dd4db3c775e58deaee050a3042fcad72cbc4189d7c8dca", + "sha256:980b4f289d1d90ca5efcf07958d3eb38ed9c0b7676bf2831a54d4f66f9c27dfa", + "sha256:9ae4ef0b3f6b41bad6366fb0ea4fc1d7ed051528e113a60fa2a65a9abb5b1d99", + "sha256:9c98230f5042f4945f957d006edccc2af1e03ed5e37ce7c373f00a5a4daa6149", + "sha256:9fa2566ca27d67c86569e8c85297aaf413ffab85a8960500f12ea34ff98e4c41", + "sha256:a14969b8691f7998e74663b77b4c36c0337cb1df552da83d5c9004a93afdb574", + "sha256:a8aacce6e2e1edcb6ac625fb0f8c3a9570ccc7bfba1f63419b3769ccf6a00ed0", + "sha256:a8e538f46104c815be19c975572d74afb53f29650ea2025bbfaef359d2de2f7f", + "sha256:aa41e526a5d4a9dfcfbab0716c7e8a1b215abd3f3df5a45cf18a12721d31cb5d", + "sha256:aa693779a8b50cd97570e5a0f343538a8dbd3e496fa5dcb87e29406ad0299654", + "sha256:ab22fbd9765e6954bc0bcff24c25ff71dcbfdb185fcdaca49e81bac68fe724d3", + "sha256:ab2e5bef076f5a235c3774b4f4028a680432cded7cad37bba0fd90d64b187d19", + "sha256:ab973df98fc99ab39080bfb0eb3a925181454d7c3ac8a1e695fddfae696d9e90", + "sha256:af73657b7a68211996527dbfeffbb0864e043d270580c5aef06dc4b659a4b578", + "sha256:b197e7094f232959f8f20541ead1d9862ac5ebea1d58e9849c1bf979255dfac9", + "sha256:b295729485b06c1a0683af02a9e42d2caa9db04a373dc38a6a58cdd1e8abddf1", + "sha256:b8831399554b92b72af5932cdbbd4ddc55c55f631bb13ff8fe4e6536a06c5c51", + "sha256:b8dcd239c743aa2f9c22ce674a145e0a25cb1566c495928440a181ca1ccf6719", + "sha256:bcb4f8ea87d03bc51ad04add8ceaf9b0f085ac045ab4d74e73bbc2dc033f0236", + "sha256:bd7af3717683bea4c87acd8c0d3d5b44d56120b26fd3f8a692bdd2d5260c620a", + "sha256:bf4475b82be41b07cc5e5ff94810e6a01f276e37c2d55571e3fe175e467a1a1c", + "sha256:c3e446d253bd88f6377260d07c895816ebf33ffffd56c1c792b13bff9c3e1ade", + "sha256:c57516e58fd17d03ebe67e181a4e4e2ccab1168f8c2976c6a334d4f819fe5944", + "sha256:c94057af19bc953643a33581844649a7fdab902624d2eb739738a30e2b3e60fc", + "sha256:cab5d0b79d987c67f3b9e9c53f54a61360422a5a0bc075f43cab5621d530c3b6", + "sha256:ce031db0408e487fd2775d745ce30a7cd2923667cf3b69d48d219f1d8f5ddeb6", + "sha256:cee4373f4d3ad28f1ab6290684d8e2ebdb9e7a1b74fdc39e4c211995f77bec27", + "sha256:d5b054862739d276e09928de37c79ddeec42a6e1bfc55863be96a36ba22926f6", + "sha256:dbe03226baf438ac4fda9e2d0715022fd579cb641c4cf639fa40d53b2fe6f3e2", + "sha256:dc15e99b2d8a656f8e666854404f1ba54765871104e50c8e9813af8a7db07f12", + "sha256:dcaf7c1524c0542ee2fc82cc8ec337f7a9f7edee2532421ab200d2b920fc97cf", + "sha256:dd4eda173a9fcccb5f2e2bd2a9f423d180194b1bf17cf59e3269899235b2a114", + "sha256:dd9a8bd8900e65504a305bf8ae6fa9fbc66de94178c420791d0293702fce2df7", + "sha256:de7376c29d95d6719048c194a9cf1a1b0393fbe8488a22008610b0361d834ecf", + "sha256:e7fdd52961feb4c96507aa649550ec2a0d527c086d284749b2f582f2d40a2e0d", + "sha256:e91f541a85298cf35433bf66f3fab2a4a2cff05c127eeca4af174f6d497f0d4b", + "sha256:e9e3c4c9e1ed40ea53acf11e2a386383c3304212c965773704e4603d589343ed", + "sha256:ee803480535c44e7f5ad00788526da7d85525cfefaf8acf8ab9a310000be4b03", + "sha256:f09cb5a7bbe1ecae6e87901a2eb23e0256bb524a79ccc53eb0b7629fbe7677c4", + "sha256:f19c1585933c82098c2a520f8ec1227f20e339e33aca8fa6f956f6691b784e67", + "sha256:f1a2f519ae173b5b6a2c9d5fa3116ce16e48b3462c8b96dfdded11055e3d6365", + "sha256:f28f891ccd15c514a0981f3b9db9aa23d62fe1a99997512b0491d2ed323d229a", + "sha256:f3e73a4255342d4eb26ef6df01e3962e73aa29baa3124a8e824c5d3364a65748", + "sha256:f606a1881d2663630ea5b8ce2efe2111740df4b687bd78b34a8131baa007f79b", + "sha256:fe9f97feb71aa9896b81973a7bbada8c49501dc73e58a10fcef6663af95e5079", + "sha256:ffc519621dce0c767e96b9c53f09c5d215578e10b02c285809f76509a3931482" ], "markers": "python_full_version >= '3.7.0'", - "version": "==3.3.2" + "version": "==3.4.0" }, "click": { "hashes": [ @@ -225,97 +190,128 @@ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6'", "version": "==0.4.6" }, + "daff": { + "hashes": [ + "sha256:22d0da9fd6a3275b54c926a9c97b180f9258aad65113ea18f3fec52cbadcd818" + ], + "version": "==1.3.46" + }, + "dbt-adapters": { + "hashes": [ + "sha256:ad3392794ed0504e2082e19b3e447701982af1ab28b91f829bb3feb986bd1b29", + "sha256:f192294112d5722c6a0981a104f7a9f57548aeeefe31b0b9d5708493f74a09f5" + ], + "markers": "python_full_version >= '3.8.0'", + "version": "==1.7.0" + }, + "dbt-common": { + "hashes": [ + "sha256:458d60383f83c849e8f811e6746366323b85aa9246004ec876eed3f22772eb73", + "sha256:4798b16ea58db0cac6bc86250d2fe696599a7627c304b60dcaa804227c732a9b" + ], + "markers": "python_version >= '3.8'", + "version": "==1.11.0" + }, "dbt-core": { "hashes": [ - "sha256:5b1cd6e216a0aede4916214e54776b299339393a1afd11494c2117d18fa6e1e8", - "sha256:9ed5e8fd893721c1d295c936fe3e223a64f147b0d731ba1195e851fc262a6e63" + "sha256:0786999515f6eb704a0b2337f7d1846fee54eaf74add71e7a1c5f83778fc224f", + "sha256:3dc6a5c994cb58a2448e092bf80c071ae2bfa8e3ecdde8fa4bcd45b78c41695d" ], "markers": "python_version >= '3.8'", - "version": "==1.7.0" + "version": "==1.8.7" }, "dbt-extractor": { "hashes": [ - "sha256:01216bd1636a6e0f80a72f1baaefe2a9ec95e16dc86e4c4c9474bf11307c0847", - "sha256:0dc2879068f4b325beb2d866842b923d5df5ad953c122588b17151b32d9cd33b", - "sha256:111e4766736a00f1a4b76d0fe2016d70015b833b791b0bf20c2328e3d27e35f6", - "sha256:166bad7ee26487ad22b4d7d3c98f168b0c450004aaaa7babd9ccf3c7e36a48f8", - "sha256:2a56a24cc0b52d004274c9a4eadb342fddc36afae178f59da400da5a214061a4", - "sha256:3249ce65b6add2c0bef756d8e7fe19a838451c5a63c08e52de7b4a4c5aad40de", - "sha256:4314011c99f91a4041f048c6a4e2b9d24180f5e5935febca68dd28db5ef55177", - "sha256:6ca976dd4d73de8be2eddde1285007ee7f2f826218a7975bd00e71830b499eac", - "sha256:7199d4fccd21889b59d873fd7b453a59672e9cdf445b938cf280d0fb1d805afc", - "sha256:856719ad009cf3aa29d8f0abbf72eff0286ba0f2351c58c0c4eb87303aabf476", - "sha256:a980467342e3a9f9f79eb8eab2dd0106f8fd3c13913b7af2f4ad96279ad3df25", - "sha256:b61a14f273d94b9279510e3cfab0559ca4f8bff83a3e1ea8b367d17a34bccf65", - "sha256:c1a4dcf3571da55671dc3d96df64ea0ec3649588bf5a58677cad5b207edd9e93", - "sha256:f333af362bdb95fa6e52b88e1df3575755680190b4867344c808d438a98b6e71", - "sha256:fcce461dc21e737e3c9788413bb3142dc50bf5c64a35035ffe1f8441bc86d133" + "sha256:100453ba06e169cbdb118234ab3f06f6722a2e0e316089b81c88dea701212abc", + "sha256:1b25fa7a276ab26aa2d70ff6e0cf4cfb1490d7831fb57ee1337c24d2b0333b84", + "sha256:3614ce9f83ae4cd0dc95f77730034a793a1c090a52dcf698ba1c94050afe3a8b", + "sha256:3b91e6106b967d908b34f83929d3f50ee2b498876a1be9c055fe060ed728c556", + "sha256:475e2c05b17eb4976eff6c8f7635be42bec33f15a74ceb87a40242c94a99cebf", + "sha256:62e4f040fd338b652683421ce48e903812e27fd6e7af58b1b70a4e1f9f2c79e3", + "sha256:6916aae085fd5f2af069fd6947933e78b742c9e3d2165e1740c2e28ae543309a", + "sha256:91e25ad78f1f4feadd27587ebbcc46ad909cfad843118908f30336d08d8400ca", + "sha256:c0ce901d4ebf0664977e4e1cbf596d4afc6c1339fcc7d2cf67ce3481566a626f", + "sha256:c5651e458be910ff567c0da3ea2eb084fd01884cc88888ac2cf1e240dcddacc2", + "sha256:cbe338b76e9ffaa18275456e041af56c21bb517f6fbda7a58308138703da0996", + "sha256:cd5d95576a8dea4190240aaf9936a37fd74b4b7913ca69a3c368fc4472bb7e13", + "sha256:cdf9938b36cd098bcdd80f43dc03864da3f69f57d903a9160a32236540d4ddcd", + "sha256:d3b9bf50eb062b4344d9546fe42038996c6e7e7daa10724aa955d64717260e5d", + "sha256:ea4edf33035d0a060b1e01c42fb2d99316457d44c954d6ed4eed9f1948664d87", + "sha256:eecc08f3743e802a8ede60c89f7b2bce872acc86120cbc0ae7df229bb8a95083" ], "markers": "python_full_version >= '3.6.1'", - "version": "==0.5.0" + "version": "==0.5.1" }, "dbt-semantic-interfaces": { "hashes": [ - "sha256:53cbf7a93bee5d1569f43a4566450e658f05857613d8ebaabd08239236d4faa2", - "sha256:dc01f861aa93f511e658bf2aa616451ec2325643a3a684b0c9efba1120495c85" + "sha256:3a497abef1ba8112affdf804b26bfdcd5468ed95cc924b509068e18d371c7c4d", + "sha256:b95ff3a6721dc30f6278cb84933d95e0ef27766e67eeb6bb41906242e77f7c9b" ], "markers": "python_version >= '3.8'", - "version": "==0.4.0" + "version": "==0.5.1" }, "dbt-trino": { "hashes": [ - "sha256:53c5ad79df91d9c9832a82a2d0ae2f566b51898eba21d011d96bc7b6e79d45d7", - "sha256:7d3b7da7d569667ffd7feef333170c2f4d9c4374b9a8b8a8f85ab34d21864f65" + "sha256:5380c38ec8c4ad58829f6b78341eb9d55c6c43ddc5f21b6fdbdb47b1e4f38f2f", + "sha256:fdd8019337bbdfb3810be3c7be52cfe7cb4ec4c07d9187cfbd644ac916ce91cf" ], "index": "pypi", - "version": "==1.7.0" + "version": "==1.8.2" + }, + "deepdiff": { + "hashes": [ + "sha256:260c16f052d4badbf60351b4f77e8390bee03a0b516246f6839bc813fb429ddf", + "sha256:447760081918216aa4fd4ca78a4b6a848b81307b2ea94c810255334b759e1dc3" + ], + "markers": "python_version >= '3.8'", + "version": "==7.0.1" }, "distlib": { "hashes": [ - "sha256:2e24928bc811348f0feb63014e97aaae3037f2cf48712d51ae61df7fd6075057", - "sha256:9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8" + "sha256:47f8c22fd27c27e25a65601af709b38e4f0a45ea4fc2e710f65755fa8caaaf87", + "sha256:a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403" ], - "version": "==0.3.7" + "version": "==0.3.9" }, "exceptiongroup": { "hashes": [ - "sha256:097acd85d473d75af5bb98e41b61ff7fe35efe6675e4f9370ec6ec5126d160e9", - "sha256:343280667a4585d195ca1cf9cef84a4e178c4b6cf2274caef9859782b567d5e3" + "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b", + "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc" ], "markers": "python_version < '3.11'", - "version": "==1.1.3" + "version": "==1.2.2" }, "filelock": { "hashes": [ - "sha256:521f5f56c50f8426f5e03ad3b281b490a87ef15bc6c526f168290f0c7148d44e", - "sha256:57dbda9b35157b05fb3e58ee91448612eb674172fab98ee235ccb0b5bee19a1c" + "sha256:2082e5703d51fbf98ea75855d9d5527e33d8ff23099bec374a134febee6946b0", + "sha256:c249fbfcd5db47e5e2d6d62198e565475ee65e4831e2561c8e313fa7eb961435" ], "markers": "python_version >= '3.8'", - "version": "==3.13.1" + "version": "==3.16.1" }, "identify": { "hashes": [ - "sha256:7736b3c7a28233637e3c36550646fc6389bedd74ae84cb788200cc8e2dd60b75", - "sha256:90199cb9e7bd3c5407a9b7e81b4abec4bb9d249991c79439ec8af740afc6293d" + "sha256:53863bcac7caf8d2ed85bd20312ea5dcfc22226800f6d6881f232d861db5a8f0", + "sha256:91478c5fb7c3aac5ff7bf9b4344f803843dc586832d5f110d672b19aa1984c98" ], "markers": "python_version >= '3.8'", - "version": "==2.5.31" + "version": "==2.6.1" }, "idna": { "hashes": [ - "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4", - "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2" + "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", + "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3" ], - "markers": "python_version >= '3.5'", - "version": "==3.4" + "markers": "python_version >= '3.6'", + "version": "==3.10" }, "importlib-metadata": { "hashes": [ - "sha256:3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb", - "sha256:dbace7892d8c0c4ac1ad096662232f831d4e64f4c4545bd53016a3e9d4654743" + "sha256:1231cf92d825c9e03cfc4da076a16de6422c863558229ea0b22b675657463443", + "sha256:f0afba6205ad8f8947c7d338b5342d5db2afbfd82f9cbef7879a9539cc12eb9b" ], "markers": "python_version >= '3.8'", - "version": "==6.8.0" + "version": "==6.11.0" }, "iniconfig": { "hashes": [ @@ -334,34 +330,34 @@ }, "jinja2": { "hashes": [ - "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852", - "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61" + "sha256:4a3aee7acbbe7303aede8e9648d13b8bf88a429282aa6122a993f0ac800cb369", + "sha256:bc5dd2abb727a5319567b7a813e6a2e7318c39f4f487cfe6c89c6f9c7d25197d" ], "markers": "python_version >= '3.7'", - "version": "==3.1.2" + "version": "==3.1.4" }, "jsonschema": { "hashes": [ - "sha256:c9ff4d7447eed9592c23a12ccee508baf0dd0d59650615e847feb6cdca74f392", - "sha256:eee9e502c788e89cb166d4d37f43084e3b64ab405c795c03d343a4dbc2c810fc" + "sha256:d71497fef26351a33265337fa77ffeb82423f3ea21283cd9467bb03999266bc4", + "sha256:fbadb6f8b144a8f8cf9f0b89ba94501d143e50411a1278633f56a7acf7fd5566" ], "markers": "python_version >= '3.8'", - "version": "==4.19.2" + "version": "==4.23.0" }, "jsonschema-specifications": { "hashes": [ - "sha256:05adf340b659828a004220a9613be00fa3f223f2b82002e273dee62fd50524b1", - "sha256:c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb" + "sha256:0f38b83639958ce1152d02a7f062902c41c8fd20d558b0c34344292d417ae272", + "sha256:a09a0680616357d9a0ecf05c12ad234479f549239d0f5b55f3deea67475da9bf" ], - "markers": "python_version >= '3.8'", - "version": "==2023.7.1" + "markers": "python_version >= '3.9'", + "version": "==2024.10.1" }, "leather": { "hashes": [ - "sha256:5e741daee96e9f1e9e06081b8c8a10c4ac199301a0564cdd99b09df15b4603d2", - "sha256:b43e21c8fa46b2679de8449f4d953c06418666dc058ce41055ee8a8d3bb40918" + "sha256:18290bc93749ae39039af5e31e871fcfad74d26c4c3ea28ea4f681f4571b3a2b", + "sha256:f964bec2086f3153a6c16e707f20cb718f811f57af116075f4c0f4805c608b95" ], - "version": "==0.3.4" + "version": "==0.4.0" }, "logbook": { "hashes": [ @@ -379,80 +375,81 @@ }, "markupsafe": { "hashes": [ - "sha256:05fb21170423db021895e1ea1e1f3ab3adb85d1c2333cbc2310f2a26bc77272e", - "sha256:0a4e4a1aff6c7ac4cd55792abf96c915634c2b97e3cc1c7129578aa68ebd754e", - "sha256:10bbfe99883db80bdbaff2dcf681dfc6533a614f700da1287707e8a5d78a8431", - "sha256:134da1eca9ec0ae528110ccc9e48041e0828d79f24121a1a146161103c76e686", - "sha256:14ff806850827afd6b07a5f32bd917fb7f45b046ba40c57abdb636674a8b559c", - "sha256:1577735524cdad32f9f694208aa75e422adba74f1baee7551620e43a3141f559", - "sha256:1b40069d487e7edb2676d3fbdb2b0829ffa2cd63a2ec26c4938b2d34391b4ecc", - "sha256:1b8dd8c3fd14349433c79fa8abeb573a55fc0fdd769133baac1f5e07abf54aeb", - "sha256:1f67c7038d560d92149c060157d623c542173016c4babc0c1913cca0564b9939", - "sha256:282c2cb35b5b673bbcadb33a585408104df04f14b2d9b01d4c345a3b92861c2c", - "sha256:2c1b19b3aaacc6e57b7e25710ff571c24d6c3613a45e905b1fde04d691b98ee0", - "sha256:2ef12179d3a291be237280175b542c07a36e7f60718296278d8593d21ca937d4", - "sha256:338ae27d6b8745585f87218a3f23f1512dbf52c26c28e322dbe54bcede54ccb9", - "sha256:3c0fae6c3be832a0a0473ac912810b2877c8cb9d76ca48de1ed31e1c68386575", - "sha256:3fd4abcb888d15a94f32b75d8fd18ee162ca0c064f35b11134be77050296d6ba", - "sha256:42de32b22b6b804f42c5d98be4f7e5e977ecdd9ee9b660fda1a3edf03b11792d", - "sha256:47d4f1c5f80fc62fdd7777d0d40a2e9dda0a05883ab11374334f6c4de38adffd", - "sha256:504b320cd4b7eff6f968eddf81127112db685e81f7e36e75f9f84f0df46041c3", - "sha256:525808b8019e36eb524b8c68acdd63a37e75714eac50e988180b169d64480a00", - "sha256:56d9f2ecac662ca1611d183feb03a3fa4406469dafe241673d521dd5ae92a155", - "sha256:5bbe06f8eeafd38e5d0a4894ffec89378b6c6a625ff57e3028921f8ff59318ac", - "sha256:65c1a9bcdadc6c28eecee2c119465aebff8f7a584dd719facdd9e825ec61ab52", - "sha256:68e78619a61ecf91e76aa3e6e8e33fc4894a2bebe93410754bd28fce0a8a4f9f", - "sha256:69c0f17e9f5a7afdf2cc9fb2d1ce6aabdb3bafb7f38017c0b77862bcec2bbad8", - "sha256:6b2b56950d93e41f33b4223ead100ea0fe11f8e6ee5f641eb753ce4b77a7042b", - "sha256:715d3562f79d540f251b99ebd6d8baa547118974341db04f5ad06d5ea3eb8007", - "sha256:787003c0ddb00500e49a10f2844fac87aa6ce977b90b0feaaf9de23c22508b24", - "sha256:7ef3cb2ebbf91e330e3bb937efada0edd9003683db6b57bb108c4001f37a02ea", - "sha256:8023faf4e01efadfa183e863fefde0046de576c6f14659e8782065bcece22198", - "sha256:8758846a7e80910096950b67071243da3e5a20ed2546e6392603c096778d48e0", - "sha256:8afafd99945ead6e075b973fefa56379c5b5c53fd8937dad92c662da5d8fd5ee", - "sha256:8c41976a29d078bb235fea9b2ecd3da465df42a562910f9022f1a03107bd02be", - "sha256:8e254ae696c88d98da6555f5ace2279cf7cd5b3f52be2b5cf97feafe883b58d2", - "sha256:8f9293864fe09b8149f0cc42ce56e3f0e54de883a9de90cd427f191c346eb2e1", - "sha256:9402b03f1a1b4dc4c19845e5c749e3ab82d5078d16a2a4c2cd2df62d57bb0707", - "sha256:962f82a3086483f5e5f64dbad880d31038b698494799b097bc59c2edf392fce6", - "sha256:9aad3c1755095ce347e26488214ef77e0485a3c34a50c5a5e2471dff60b9dd9c", - "sha256:9dcdfd0eaf283af041973bff14a2e143b8bd64e069f4c383416ecd79a81aab58", - "sha256:aa57bd9cf8ae831a362185ee444e15a93ecb2e344c8e52e4d721ea3ab6ef1823", - "sha256:aa7bd130efab1c280bed0f45501b7c8795f9fdbeb02e965371bbef3523627779", - "sha256:ab4a0df41e7c16a1392727727e7998a467472d0ad65f3ad5e6e765015df08636", - "sha256:ad9e82fb8f09ade1c3e1b996a6337afac2b8b9e365f926f5a61aacc71adc5b3c", - "sha256:af598ed32d6ae86f1b747b82783958b1a4ab8f617b06fe68795c7f026abbdcad", - "sha256:b076b6226fb84157e3f7c971a47ff3a679d837cf338547532ab866c57930dbee", - "sha256:b7ff0f54cb4ff66dd38bebd335a38e2c22c41a8ee45aa608efc890ac3e3931bc", - "sha256:bfce63a9e7834b12b87c64d6b155fdd9b3b96191b6bd334bf37db7ff1fe457f2", - "sha256:c011a4149cfbcf9f03994ec2edffcb8b1dc2d2aede7ca243746df97a5d41ce48", - "sha256:c9c804664ebe8f83a211cace637506669e7890fec1b4195b505c214e50dd4eb7", - "sha256:ca379055a47383d02a5400cb0d110cef0a776fc644cda797db0c5696cfd7e18e", - "sha256:cb0932dc158471523c9637e807d9bfb93e06a95cbf010f1a38b98623b929ef2b", - "sha256:cd0f502fe016460680cd20aaa5a76d241d6f35a1c3350c474bac1273803893fa", - "sha256:ceb01949af7121f9fc39f7d27f91be8546f3fb112c608bc4029aef0bab86a2a5", - "sha256:d080e0a5eb2529460b30190fcfcc4199bd7f827663f858a226a81bc27beaa97e", - "sha256:dd15ff04ffd7e05ffcb7fe79f1b98041b8ea30ae9234aed2a9168b5797c3effb", - "sha256:df0be2b576a7abbf737b1575f048c23fb1d769f267ec4358296f31c2479db8f9", - "sha256:e09031c87a1e51556fdcb46e5bd4f59dfb743061cf93c4d6831bf894f125eb57", - "sha256:e4dd52d80b8c83fdce44e12478ad2e85c64ea965e75d66dbeafb0a3e77308fcc", - "sha256:f698de3fd0c4e6972b92290a45bd9b1536bffe8c6759c62471efaa8acb4c37bc", - "sha256:fec21693218efe39aa7f8599346e90c705afa52c5b31ae019b2e57e8f6542bb2", - "sha256:ffcc3f7c66b5f5b7931a5aa68fc9cecc51e685ef90282f4a82f0f5e9b704ad11" + "sha256:0bff5e0ae4ef2e1ae4fdf2dfd5b76c75e5c2fa4132d05fc1b0dabcd20c7e28c4", + "sha256:0f4ca02bea9a23221c0182836703cbf8930c5e9454bacce27e767509fa286a30", + "sha256:1225beacc926f536dc82e45f8a4d68502949dc67eea90eab715dea3a21c1b5f0", + "sha256:131a3c7689c85f5ad20f9f6fb1b866f402c445b220c19fe4308c0b147ccd2ad9", + "sha256:15ab75ef81add55874e7ab7055e9c397312385bd9ced94920f2802310c930396", + "sha256:1a9d3f5f0901fdec14d8d2f66ef7d035f2157240a433441719ac9a3fba440b13", + "sha256:1c99d261bd2d5f6b59325c92c73df481e05e57f19837bdca8413b9eac4bd8028", + "sha256:1e084f686b92e5b83186b07e8a17fc09e38fff551f3602b249881fec658d3eca", + "sha256:2181e67807fc2fa785d0592dc2d6206c019b9502410671cc905d132a92866557", + "sha256:2cb8438c3cbb25e220c2ab33bb226559e7afb3baec11c4f218ffa7308603c832", + "sha256:3169b1eefae027567d1ce6ee7cae382c57fe26e82775f460f0b2778beaad66c0", + "sha256:3809ede931876f5b2ec92eef964286840ed3540dadf803dd570c3b7e13141a3b", + "sha256:38a9ef736c01fccdd6600705b09dc574584b89bea478200c5fbf112a6b0d5579", + "sha256:3d79d162e7be8f996986c064d1c7c817f6df3a77fe3d6859f6f9e7be4b8c213a", + "sha256:444dcda765c8a838eaae23112db52f1efaf750daddb2d9ca300bcae1039adc5c", + "sha256:48032821bbdf20f5799ff537c7ac3d1fba0ba032cfc06194faffa8cda8b560ff", + "sha256:4aa4e5faecf353ed117801a068ebab7b7e09ffb6e1d5e412dc852e0da018126c", + "sha256:52305740fe773d09cffb16f8ed0427942901f00adedac82ec8b67752f58a1b22", + "sha256:569511d3b58c8791ab4c2e1285575265991e6d8f8700c7be0e88f86cb0672094", + "sha256:57cb5a3cf367aeb1d316576250f65edec5bb3be939e9247ae594b4bcbc317dfb", + "sha256:5b02fb34468b6aaa40dfc198d813a641e3a63b98c2b05a16b9f80b7ec314185e", + "sha256:6381026f158fdb7c72a168278597a5e3a5222e83ea18f543112b2662a9b699c5", + "sha256:6af100e168aa82a50e186c82875a5893c5597a0c1ccdb0d8b40240b1f28b969a", + "sha256:6c89876f41da747c8d3677a2b540fb32ef5715f97b66eeb0c6b66f5e3ef6f59d", + "sha256:6e296a513ca3d94054c2c881cc913116e90fd030ad1c656b3869762b754f5f8a", + "sha256:70a87b411535ccad5ef2f1df5136506a10775d267e197e4cf531ced10537bd6b", + "sha256:7e94c425039cde14257288fd61dcfb01963e658efbc0ff54f5306b06054700f8", + "sha256:846ade7b71e3536c4e56b386c2a47adf5741d2d8b94ec9dc3e92e5e1ee1e2225", + "sha256:88416bd1e65dcea10bc7569faacb2c20ce071dd1f87539ca2ab364bf6231393c", + "sha256:88b49a3b9ff31e19998750c38e030fc7bb937398b1f78cfa599aaef92d693144", + "sha256:8c4e8c3ce11e1f92f6536ff07154f9d49677ebaaafc32db9db4620bc11ed480f", + "sha256:8e06879fc22a25ca47312fbe7c8264eb0b662f6db27cb2d3bbbc74b1df4b9b87", + "sha256:9025b4018f3a1314059769c7bf15441064b2207cb3f065e6ea1e7359cb46db9d", + "sha256:93335ca3812df2f366e80509ae119189886b0f3c2b81325d39efdb84a1e2ae93", + "sha256:9778bd8ab0a994ebf6f84c2b949e65736d5575320a17ae8984a77fab08db94cf", + "sha256:9e2d922824181480953426608b81967de705c3cef4d1af983af849d7bd619158", + "sha256:a123e330ef0853c6e822384873bef7507557d8e4a082961e1defa947aa59ba84", + "sha256:a904af0a6162c73e3edcb969eeeb53a63ceeb5d8cf642fade7d39e7963a22ddb", + "sha256:ad10d3ded218f1039f11a75f8091880239651b52e9bb592ca27de44eed242a48", + "sha256:b424c77b206d63d500bcb69fa55ed8d0e6a3774056bdc4839fc9298a7edca171", + "sha256:b5a6b3ada725cea8a5e634536b1b01c30bcdcd7f9c6fff4151548d5bf6b3a36c", + "sha256:ba8062ed2cf21c07a9e295d5b8a2a5ce678b913b45fdf68c32d95d6c1291e0b6", + "sha256:ba9527cdd4c926ed0760bc301f6728ef34d841f405abf9d4f959c478421e4efd", + "sha256:bbcb445fa71794da8f178f0f6d66789a28d7319071af7a496d4d507ed566270d", + "sha256:bcf3e58998965654fdaff38e58584d8937aa3096ab5354d493c77d1fdd66d7a1", + "sha256:c0ef13eaeee5b615fb07c9a7dadb38eac06a0608b41570d8ade51c56539e509d", + "sha256:cabc348d87e913db6ab4aa100f01b08f481097838bdddf7c7a84b7575b7309ca", + "sha256:cdb82a876c47801bb54a690c5ae105a46b392ac6099881cdfb9f6e95e4014c6a", + "sha256:cfad01eed2c2e0c01fd0ecd2ef42c492f7f93902e39a42fc9ee1692961443a29", + "sha256:d16a81a06776313e817c951135cf7340a3e91e8c1ff2fac444cfd75fffa04afe", + "sha256:d8213e09c917a951de9d09ecee036d5c7d36cb6cb7dbaece4c71a60d79fb9798", + "sha256:e07c3764494e3776c602c1e78e298937c3315ccc9043ead7e685b7f2b8d47b3c", + "sha256:e17c96c14e19278594aa4841ec148115f9c7615a47382ecb6b82bd8fea3ab0c8", + "sha256:e444a31f8db13eb18ada366ab3cf45fd4b31e4db1236a4448f68778c1d1a5a2f", + "sha256:e6a2a455bd412959b57a172ce6328d2dd1f01cb2135efda2e4576e8a23fa3b0f", + "sha256:eaa0a10b7f72326f1372a713e73c3f739b524b3af41feb43e4921cb529f5929a", + "sha256:eb7972a85c54febfb25b5c4b4f3af4dcc731994c7da0d8a0b4a6eb0640e1d178", + "sha256:ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0", + "sha256:f3818cb119498c0678015754eba762e0d61e5b52d34c8b13d770f0719f7b1d79", + "sha256:f8b3d067f2e40fe93e1ccdd6b2e1d16c43140e76f02fb1319a05cf2b79d99430", + "sha256:fcabf5ff6eea076f859677f5f0b6b5c1a51e70a376b0579e0eadef8db48c6b50" ], - "markers": "python_version >= '3.7'", - "version": "==2.1.3" + "markers": "python_version >= '3.9'", + "version": "==3.0.2" }, "mashumaro": { "extras": [ "msgpack" ], "hashes": [ - "sha256:0248a5c8574aa6cd20696621502d38a7ea66af3d6d93c5d03f93b33298edc878", - "sha256:d2c0fd5e7878987629d41f4986d9b0903d362a92eeb299b7d88b87eb113f4f48" + "sha256:169f0290253b3e6077bcb39c14a9dd0791a3fdedd9e286e536ae561d4ff1975b", + "sha256:ad0a162b8f4ea232dadd2891d77ff20165b855b9d84610f36ac84462d4576aa0" ], "markers": "python_version >= '3.8'", - "version": "==3.10" + "version": "==3.13.1" }, "minimal-snowplow-tracker": { "hashes": [ @@ -462,72 +459,80 @@ }, "more-itertools": { "hashes": [ - "sha256:626c369fa0eb37bac0291bce8259b332fd59ac792fa5497b59837309cd5b114a", - "sha256:64e0735fcfdc6f3464ea133afe8ea4483b1c5fe3a3d69852e6503b43a0b222e6" + "sha256:037b0d3203ce90cca8ab1defbbdac29d5f993fc20131f3664dc8d6acfa872aef", + "sha256:5482bfef7849c25dc3c6dd53a6173ae4795da2a41a80faea6700d9f5846c5da6" ], "markers": "python_version >= '3.8'", - "version": "==10.1.0" + "version": "==10.5.0" }, "msgpack": { "hashes": [ - "sha256:04ad6069c86e531682f9e1e71b71c1c3937d6014a7c3e9edd2aa81ad58842862", - "sha256:0bfdd914e55e0d2c9e1526de210f6fe8ffe9705f2b1dfcc4aecc92a4cb4b533d", - "sha256:1dc93e8e4653bdb5910aed79f11e165c85732067614f180f70534f056da97db3", - "sha256:1e2d69948e4132813b8d1131f29f9101bc2c915f26089a6d632001a5c1349672", - "sha256:235a31ec7db685f5c82233bddf9858748b89b8119bf4538d514536c485c15fe0", - "sha256:27dcd6f46a21c18fa5e5deed92a43d4554e3df8d8ca5a47bf0615d6a5f39dbc9", - "sha256:28efb066cde83c479dfe5a48141a53bc7e5f13f785b92ddde336c716663039ee", - "sha256:3476fae43db72bd11f29a5147ae2f3cb22e2f1a91d575ef130d2bf49afd21c46", - "sha256:36e17c4592231a7dbd2ed09027823ab295d2791b3b1efb2aee874b10548b7524", - "sha256:384d779f0d6f1b110eae74cb0659d9aa6ff35aaf547b3955abf2ab4c901c4819", - "sha256:38949d30b11ae5f95c3c91917ee7a6b239f5ec276f271f28638dec9156f82cfc", - "sha256:3967e4ad1aa9da62fd53e346ed17d7b2e922cba5ab93bdd46febcac39be636fc", - "sha256:3e7bf4442b310ff154b7bb9d81eb2c016b7d597e364f97d72b1acc3817a0fdc1", - "sha256:3f0c8c6dfa6605ab8ff0611995ee30d4f9fcff89966cf562733b4008a3d60d82", - "sha256:484ae3240666ad34cfa31eea7b8c6cd2f1fdaae21d73ce2974211df099a95d81", - "sha256:4a7b4f35de6a304b5533c238bee86b670b75b03d31b7797929caa7a624b5dda6", - "sha256:4cb14ce54d9b857be9591ac364cb08dc2d6a5c4318c1182cb1d02274029d590d", - "sha256:4e71bc4416de195d6e9b4ee93ad3f2f6b2ce11d042b4d7a7ee00bbe0358bd0c2", - "sha256:52700dc63a4676669b341ba33520f4d6e43d3ca58d422e22ba66d1736b0a6e4c", - "sha256:572efc93db7a4d27e404501975ca6d2d9775705c2d922390d878fcf768d92c87", - "sha256:576eb384292b139821c41995523654ad82d1916da6a60cff129c715a6223ea84", - "sha256:5b0bf0effb196ed76b7ad883848143427a73c355ae8e569fa538365064188b8e", - "sha256:5b6ccc0c85916998d788b295765ea0e9cb9aac7e4a8ed71d12e7d8ac31c23c95", - "sha256:5ed82f5a7af3697b1c4786053736f24a0efd0a1b8a130d4c7bfee4b9ded0f08f", - "sha256:6d4c80667de2e36970ebf74f42d1088cc9ee7ef5f4e8c35eee1b40eafd33ca5b", - "sha256:730076207cb816138cf1af7f7237b208340a2c5e749707457d70705715c93b93", - "sha256:7687e22a31e976a0e7fc99c2f4d11ca45eff652a81eb8c8085e9609298916dcf", - "sha256:822ea70dc4018c7e6223f13affd1c5c30c0f5c12ac1f96cd8e9949acddb48a61", - "sha256:84b0daf226913133f899ea9b30618722d45feffa67e4fe867b0b5ae83a34060c", - "sha256:85765fdf4b27eb5086f05ac0491090fc76f4f2b28e09d9350c31aac25a5aaff8", - "sha256:8dd178c4c80706546702c59529ffc005681bd6dc2ea234c450661b205445a34d", - "sha256:8f5b234f567cf76ee489502ceb7165c2a5cecec081db2b37e35332b537f8157c", - "sha256:98bbd754a422a0b123c66a4c341de0474cad4a5c10c164ceed6ea090f3563db4", - "sha256:993584fc821c58d5993521bfdcd31a4adf025c7d745bbd4d12ccfecf695af5ba", - "sha256:a40821a89dc373d6427e2b44b572efc36a2778d3f543299e2f24eb1a5de65415", - "sha256:b291f0ee7961a597cbbcc77709374087fa2a9afe7bdb6a40dbbd9b127e79afee", - "sha256:b573a43ef7c368ba4ea06050a957c2a7550f729c31f11dd616d2ac4aba99888d", - "sha256:b610ff0f24e9f11c9ae653c67ff8cc03c075131401b3e5ef4b82570d1728f8a9", - "sha256:bdf38ba2d393c7911ae989c3bbba510ebbcdf4ecbdbfec36272abe350c454075", - "sha256:bfef2bb6ef068827bbd021017a107194956918ab43ce4d6dc945ffa13efbc25f", - "sha256:cab3db8bab4b7e635c1c97270d7a4b2a90c070b33cbc00c99ef3f9be03d3e1f7", - "sha256:cb70766519500281815dfd7a87d3a178acf7ce95390544b8c90587d76b227681", - "sha256:cca1b62fe70d761a282496b96a5e51c44c213e410a964bdffe0928e611368329", - "sha256:ccf9a39706b604d884d2cb1e27fe973bc55f2890c52f38df742bc1d79ab9f5e1", - "sha256:dc43f1ec66eb8440567186ae2f8c447d91e0372d793dfe8c222aec857b81a8cf", - "sha256:dd632777ff3beaaf629f1ab4396caf7ba0bdd075d948a69460d13d44357aca4c", - "sha256:e45ae4927759289c30ccba8d9fdce62bb414977ba158286b5ddaf8df2cddb5c5", - "sha256:e50ebce52f41370707f1e21a59514e3375e3edd6e1832f5e5235237db933c98b", - "sha256:ebbbba226f0a108a7366bf4b59bf0f30a12fd5e75100c630267d94d7f0ad20e5", - "sha256:ec79ff6159dffcc30853b2ad612ed572af86c92b5168aa3fc01a67b0fa40665e", - "sha256:f0936e08e0003f66bfd97e74ee530427707297b0d0361247e9b4f59ab78ddc8b", - "sha256:f26a07a6e877c76a88e3cecac8531908d980d3d5067ff69213653649ec0f60ad", - "sha256:f64e376cd20d3f030190e8c32e1c64582eba56ac6dc7d5b0b49a9d44021b52fd", - "sha256:f6ffbc252eb0d229aeb2f9ad051200668fc3a9aaa8994e49f0cb2ffe2b7867e7", - "sha256:f9a7c509542db4eceed3dcf21ee5267ab565a83555c9b88a8109dcecc4709002", - "sha256:ff1d0899f104f3921d94579a5638847f783c9b04f2d5f229392ca77fba5b82fc" - ], - "version": "==1.0.7" + "sha256:06f5fd2f6bb2a7914922d935d3b8bb4a7fff3a9a91cfce6d06c13bc42bec975b", + "sha256:071603e2f0771c45ad9bc65719291c568d4edf120b44eb36324dcb02a13bfddf", + "sha256:0907e1a7119b337971a689153665764adc34e89175f9a34793307d9def08e6ca", + "sha256:0f92a83b84e7c0749e3f12821949d79485971f087604178026085f60ce109330", + "sha256:115a7af8ee9e8cddc10f87636767857e7e3717b7a2e97379dc2054712693e90f", + "sha256:13599f8829cfbe0158f6456374e9eea9f44eee08076291771d8ae93eda56607f", + "sha256:17fb65dd0bec285907f68b15734a993ad3fc94332b5bb21b0435846228de1f39", + "sha256:2137773500afa5494a61b1208619e3871f75f27b03bcfca7b3a7023284140247", + "sha256:3180065ec2abbe13a4ad37688b61b99d7f9e012a535b930e0e683ad6bc30155b", + "sha256:398b713459fea610861c8a7b62a6fec1882759f308ae0795b5413ff6a160cf3c", + "sha256:3d364a55082fb2a7416f6c63ae383fbd903adb5a6cf78c5b96cc6316dc1cedc7", + "sha256:3df7e6b05571b3814361e8464f9304c42d2196808e0119f55d0d3e62cd5ea044", + "sha256:41c991beebf175faf352fb940bf2af9ad1fb77fd25f38d9142053914947cdbf6", + "sha256:42f754515e0f683f9c79210a5d1cad631ec3d06cea5172214d2176a42e67e19b", + "sha256:452aff037287acb1d70a804ffd022b21fa2bb7c46bee884dbc864cc9024128a0", + "sha256:4676e5be1b472909b2ee6356ff425ebedf5142427842aa06b4dfd5117d1ca8a2", + "sha256:46c34e99110762a76e3911fc923222472c9d681f1094096ac4102c18319e6468", + "sha256:471e27a5787a2e3f974ba023f9e265a8c7cfd373632247deb225617e3100a3c7", + "sha256:4a1964df7b81285d00a84da4e70cb1383f2e665e0f1f2a7027e683956d04b734", + "sha256:4b51405e36e075193bc051315dbf29168d6141ae2500ba8cd80a522964e31434", + "sha256:4d1b7ff2d6146e16e8bd665ac726a89c74163ef8cd39fa8c1087d4e52d3a2325", + "sha256:53258eeb7a80fc46f62fd59c876957a2d0e15e6449a9e71842b6d24419d88ca1", + "sha256:534480ee5690ab3cbed89d4c8971a5c631b69a8c0883ecfea96c19118510c846", + "sha256:58638690ebd0a06427c5fe1a227bb6b8b9fdc2bd07701bec13c2335c82131a88", + "sha256:58dfc47f8b102da61e8949708b3eafc3504509a5728f8b4ddef84bd9e16ad420", + "sha256:59caf6a4ed0d164055ccff8fe31eddc0ebc07cf7326a2aaa0dbf7a4001cd823e", + "sha256:5dbad74103df937e1325cc4bfeaf57713be0b4f15e1c2da43ccdd836393e2ea2", + "sha256:5e1da8f11a3dd397f0a32c76165cf0c4eb95b31013a94f6ecc0b280c05c91b59", + "sha256:646afc8102935a388ffc3914b336d22d1c2d6209c773f3eb5dd4d6d3b6f8c1cb", + "sha256:64fc9068d701233effd61b19efb1485587560b66fe57b3e50d29c5d78e7fef68", + "sha256:65553c9b6da8166e819a6aa90ad15288599b340f91d18f60b2061f402b9a4915", + "sha256:685ec345eefc757a7c8af44a3032734a739f8c45d1b0ac45efc5d8977aa4720f", + "sha256:6ad622bf7756d5a497d5b6836e7fc3752e2dd6f4c648e24b1803f6048596f701", + "sha256:73322a6cc57fcee3c0c57c4463d828e9428275fb85a27aa2aa1a92fdc42afd7b", + "sha256:74bed8f63f8f14d75eec75cf3d04ad581da6b914001b474a5d3cd3372c8cc27d", + "sha256:79ec007767b9b56860e0372085f8504db5d06bd6a327a335449508bbee9648fa", + "sha256:7a946a8992941fea80ed4beae6bff74ffd7ee129a90b4dd5cf9c476a30e9708d", + "sha256:7ad442d527a7e358a469faf43fda45aaf4ac3249c8310a82f0ccff9164e5dccd", + "sha256:7c9a35ce2c2573bada929e0b7b3576de647b0defbd25f5139dcdaba0ae35a4cc", + "sha256:7e7b853bbc44fb03fbdba34feb4bd414322180135e2cb5164f20ce1c9795ee48", + "sha256:879a7b7b0ad82481c52d3c7eb99bf6f0645dbdec5134a4bddbd16f3506947feb", + "sha256:8a706d1e74dd3dea05cb54580d9bd8b2880e9264856ce5068027eed09680aa74", + "sha256:8a84efb768fb968381e525eeeb3d92857e4985aacc39f3c47ffd00eb4509315b", + "sha256:8cf9e8c3a2153934a23ac160cc4cba0ec035f6867c8013cc6077a79823370346", + "sha256:8da4bf6d54ceed70e8861f833f83ce0814a2b72102e890cbdfe4b34764cdd66e", + "sha256:8e59bca908d9ca0de3dc8684f21ebf9a690fe47b6be93236eb40b99af28b6ea6", + "sha256:914571a2a5b4e7606997e169f64ce53a8b1e06f2cf2c3a7273aa106236d43dd5", + "sha256:a51abd48c6d8ac89e0cfd4fe177c61481aca2d5e7ba42044fd218cfd8ea9899f", + "sha256:a52a1f3a5af7ba1c9ace055b659189f6c669cf3657095b50f9602af3a3ba0fe5", + "sha256:ad33e8400e4ec17ba782f7b9cf868977d867ed784a1f5f2ab46e7ba53b6e1e1b", + "sha256:b4c01941fd2ff87c2a934ee6055bda4ed353a7846b8d4f341c428109e9fcde8c", + "sha256:bce7d9e614a04d0883af0b3d4d501171fbfca038f12c77fa838d9f198147a23f", + "sha256:c40ffa9a15d74e05ba1fe2681ea33b9caffd886675412612d93ab17b58ea2fec", + "sha256:c5a91481a3cc573ac8c0d9aace09345d989dc4a0202b7fcb312c88c26d4e71a8", + "sha256:c921af52214dcbb75e6bdf6a661b23c3e6417f00c603dd2070bccb5c3ef499f5", + "sha256:d46cf9e3705ea9485687aa4001a76e44748b609d260af21c4ceea7f2212a501d", + "sha256:d8ce0b22b890be5d252de90d0e0d119f363012027cf256185fc3d474c44b1b9e", + "sha256:dd432ccc2c72b914e4cb77afce64aab761c1137cc698be3984eee260bcb2896e", + "sha256:e0856a2b7e8dcb874be44fea031d22e5b3a19121be92a1e098f46068a11b0870", + "sha256:e1f3c3d21f7cf67bcf2da8e494d30a75e4cf60041d98b3f79875afb5b96f3a3f", + "sha256:f1ba6136e650898082d9d5a5217d5906d1e138024f836ff48691784bbe1adf96", + "sha256:f3e9b4936df53b970513eac1758f3882c88658a220b58dcc1e39606dccaaf01c", + "sha256:f80bc7d47f76089633763f952e67f8214cb7b3ee6bfa489b3cb6a84cfac114cd", + "sha256:fd2906780f25c8ed5d7b323379f6138524ba793428db5d0e9d226d3fa6aa1788" + ], + "version": "==1.1.0" }, "networkx": { "hashes": [ @@ -539,57 +544,78 @@ }, "nodeenv": { "hashes": [ - "sha256:d51e0c37e64fbf47d017feac3145cdbb58836d7eee8c6f6d3b6880c5456227d2", - "sha256:df865724bb3c3adc86b3876fa209771517b0cfe596beff01a92700e0e8be4cec" + "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f", + "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9" ], "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6'", - "version": "==1.8.0" + "version": "==1.9.1" }, "numpy": { "hashes": [ - "sha256:06934e1a22c54636a059215d6da99e23286424f316fddd979f5071093b648668", - "sha256:1c59c046c31a43310ad0199d6299e59f57a289e22f0f36951ced1c9eac3665b9", - "sha256:1d1bd82d539607951cac963388534da3b7ea0e18b149a53cf883d8f699178c0f", - "sha256:1e11668d6f756ca5ef534b5be8653d16c5352cbb210a5c2a79ff288e937010d5", - "sha256:3649d566e2fc067597125428db15d60eb42a4e0897fc48d28cb75dc2e0454e53", - "sha256:59227c981d43425ca5e5c01094d59eb14e8772ce6975d4b2fc1e106a833d5ae2", - "sha256:6081aed64714a18c72b168a9276095ef9155dd7888b9e74b5987808f0dd0a974", - "sha256:6965888d65d2848e8768824ca8288db0a81263c1efccec881cb35a0d805fcd2f", - "sha256:76ff661a867d9272cd2a99eed002470f46dbe0943a5ffd140f49be84f68ffc42", - "sha256:78ca54b2f9daffa5f323f34cdf21e1d9779a54073f0018a3094ab907938331a2", - "sha256:82e871307a6331b5f09efda3c22e03c095d957f04bf6bc1804f30048d0e5e7af", - "sha256:8ab9163ca8aeb7fd32fe93866490654d2f7dda4e61bc6297bf72ce07fdc02f67", - "sha256:9696aa2e35cc41e398a6d42d147cf326f8f9d81befcb399bc1ed7ffea339b64e", - "sha256:97e5d6a9f0702c2863aaabf19f0d1b6c2628fbe476438ce0b5ce06e83085064c", - "sha256:9f42284ebf91bdf32fafac29d29d4c07e5e9d1af862ea73686581773ef9e73a7", - "sha256:a03fb25610ef560a6201ff06df4f8105292ba56e7cdd196ea350d123fc32e24e", - "sha256:a5b411040beead47a228bde3b2241100454a6abde9df139ed087bd73fc0a4908", - "sha256:af22f3d8e228d84d1c0c44c1fbdeb80f97a15a0abe4f080960393a00db733b66", - "sha256:afd5ced4e5a96dac6725daeb5242a35494243f2239244fad10a90ce58b071d24", - "sha256:b9d45d1dbb9de84894cc50efece5b09939752a2d75aab3a8b0cef6f3a35ecd6b", - "sha256:bb894accfd16b867d8643fc2ba6c8617c78ba2828051e9a69511644ce86ce83e", - "sha256:c8c6c72d4a9f831f328efb1312642a1cafafaa88981d9ab76368d50d07d93cbe", - "sha256:cd7837b2b734ca72959a1caf3309457a318c934abef7a43a14bb984e574bbb9a", - "sha256:cdd9ec98f0063d93baeb01aad472a1a0840dee302842a2746a7a8e92968f9575", - "sha256:d1cfc92db6af1fd37a7bb58e55c8383b4aa1ba23d012bdbba26b4bcca45ac297", - "sha256:d1d2c6b7dd618c41e202c59c1413ef9b2c8e8a15f5039e344af64195459e3104", - "sha256:d2984cb6caaf05294b8466966627e80bf6c7afd273279077679cb010acb0e5ab", - "sha256:d58e8c51a7cf43090d124d5073bc29ab2755822181fcad978b12e144e5e5a4b3", - "sha256:d78f269e0c4fd365fc2992c00353e4530d274ba68f15e968d8bc3c69ce5f5244", - "sha256:dcfaf015b79d1f9f9c9fd0731a907407dc3e45769262d657d754c3a028586124", - "sha256:e44ccb93f30c75dfc0c3aa3ce38f33486a75ec9abadabd4e59f114994a9c4617", - "sha256:e509cbc488c735b43b5ffea175235cec24bbc57b227ef1acc691725beb230d1c" + "sha256:0123ffdaa88fa4ab64835dcbde75dcdf89c453c922f18dced6e27c90d1d0ec5a", + "sha256:11a76c372d1d37437857280aa142086476136a8c0f373b2e648ab2c8f18fb195", + "sha256:13e689d772146140a252c3a28501da66dfecd77490b498b168b501835041f951", + "sha256:1e795a8be3ddbac43274f18588329c72939870a16cae810c2b73461c40718ab1", + "sha256:26df23238872200f63518dd2aa984cfca675d82469535dc7162dc2ee52d9dd5c", + "sha256:286cd40ce2b7d652a6f22efdfc6d1edf879440e53e76a75955bc0c826c7e64dc", + "sha256:2b2955fa6f11907cf7a70dab0d0755159bca87755e831e47932367fc8f2f2d0b", + "sha256:2da5960c3cf0df7eafefd806d4e612c5e19358de82cb3c343631188991566ccd", + "sha256:312950fdd060354350ed123c0e25a71327d3711584beaef30cdaa93320c392d4", + "sha256:423e89b23490805d2a5a96fe40ec507407b8ee786d66f7328be214f9679df6dd", + "sha256:496f71341824ed9f3d2fd36cf3ac57ae2e0165c143b55c3a035ee219413f3318", + "sha256:49ca4decb342d66018b01932139c0961a8f9ddc7589611158cb3c27cbcf76448", + "sha256:51129a29dbe56f9ca83438b706e2e69a39892b5eda6cedcb6b0c9fdc9b0d3ece", + "sha256:5fec9451a7789926bcf7c2b8d187292c9f93ea30284802a0ab3f5be8ab36865d", + "sha256:671bec6496f83202ed2d3c8fdc486a8fc86942f2e69ff0e986140339a63bcbe5", + "sha256:7f0a0c6f12e07fa94133c8a67404322845220c06a9e80e85999afe727f7438b8", + "sha256:807ec44583fd708a21d4a11d94aedf2f4f3c3719035c76a2bbe1fe8e217bdc57", + "sha256:883c987dee1880e2a864ab0dc9892292582510604156762362d9326444636e78", + "sha256:8c5713284ce4e282544c68d1c3b2c7161d38c256d2eefc93c1d683cf47683e66", + "sha256:8cafab480740e22f8d833acefed5cc87ce276f4ece12fdaa2e8903db2f82897a", + "sha256:8df823f570d9adf0978347d1f926b2a867d5608f434a7cff7f7908c6570dcf5e", + "sha256:9059e10581ce4093f735ed23f3b9d283b9d517ff46009ddd485f1747eb22653c", + "sha256:905d16e0c60200656500c95b6b8dca5d109e23cb24abc701d41c02d74c6b3afa", + "sha256:9189427407d88ff25ecf8f12469d4d39d35bee1db5d39fc5c168c6f088a6956d", + "sha256:96a55f64139912d61de9137f11bf39a55ec8faec288c75a54f93dfd39f7eb40c", + "sha256:97032a27bd9d8988b9a97a8c4d2c9f2c15a81f61e2f21404d7e8ef00cb5be729", + "sha256:984d96121c9f9616cd33fbd0618b7f08e0cfc9600a7ee1d6fd9b239186d19d97", + "sha256:9a92ae5c14811e390f3767053ff54eaee3bf84576d99a2456391401323f4ec2c", + "sha256:9ea91dfb7c3d1c56a0e55657c0afb38cf1eeae4544c208dc465c3c9f3a7c09f9", + "sha256:a15f476a45e6e5a3a79d8a14e62161d27ad897381fecfa4a09ed5322f2085669", + "sha256:a392a68bd329eafac5817e5aefeb39038c48b671afd242710b451e76090e81f4", + "sha256:a3f4ab0caa7f053f6797fcd4e1e25caee367db3112ef2b6ef82d749530768c73", + "sha256:a46288ec55ebbd58947d31d72be2c63cbf839f0a63b49cb755022310792a3385", + "sha256:a61ec659f68ae254e4d237816e33171497e978140353c0c2038d46e63282d0c8", + "sha256:a842d573724391493a97a62ebbb8e731f8a5dcc5d285dfc99141ca15a3302d0c", + "sha256:becfae3ddd30736fe1889a37f1f580e245ba79a5855bff5f2a29cb3ccc22dd7b", + "sha256:c05e238064fc0610c840d1cf6a13bf63d7e391717d247f1bf0318172e759e692", + "sha256:c1c9307701fec8f3f7a1e6711f9089c06e6284b3afbbcd259f7791282d660a15", + "sha256:c7b0be4ef08607dd04da4092faee0b86607f111d5ae68036f16cc787e250a131", + "sha256:cfd41e13fdc257aa5778496b8caa5e856dc4896d4ccf01841daee1d96465467a", + "sha256:d731a1c6116ba289c1e9ee714b08a8ff882944d4ad631fd411106a30f083c326", + "sha256:df55d490dea7934f330006d0f81e8551ba6010a5bf035a249ef61a94f21c500b", + "sha256:ec9852fb39354b5a45a80bdab5ac02dd02b15f44b3804e9f00c556bf24b4bded", + "sha256:f15975dfec0cf2239224d80e32c3170b1d168335eaedee69da84fbe9f1f9cd04", + "sha256:f26b258c385842546006213344c50655ff1555a9338e2e5e02a0756dc3e803dd" ], "index": "pypi", - "version": "==1.26.1" + "version": "==2.0.2" }, - "packaging": { + "ordered-set": { "hashes": [ - "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5", - "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7" + "sha256:046e1132c71fcf3330438a539928932caf51ddbc582496833e23de611de14562", + "sha256:694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8" ], "markers": "python_version >= '3.7'", - "version": "==23.2" + "version": "==4.1.0" + }, + "packaging": { + "hashes": [ + "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002", + "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124" + ], + "markers": "python_version >= '3.8'", + "version": "==24.1" }, "parsedatetime": { "hashes": [ @@ -600,125 +626,179 @@ }, "pathspec": { "hashes": [ - "sha256:1d6ed233af05e679efb96b1851550ea95bbb64b7c490b0f5aa52996c11e92a20", - "sha256:e0d8d0ac2f12da61956eb2306b69f9469b42f4deb0f3cb6ed47b9cce9996ced3" + "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08", + "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712" ], - "markers": "python_version >= '3.7'", - "version": "==0.11.2" + "markers": "python_version >= '3.8'", + "version": "==0.12.1" }, "platformdirs": { "hashes": [ - "sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3", - "sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e" + "sha256:357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907", + "sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb" ], - "markers": "python_version >= '3.7'", - "version": "==3.11.0" + "markers": "python_version >= '3.8'", + "version": "==4.3.6" }, "pluggy": { "hashes": [ - "sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12", - "sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7" + "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", + "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669" ], "markers": "python_version >= '3.8'", - "version": "==1.3.0" + "version": "==1.5.0" }, "pre-commit": { "hashes": [ - "sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32", - "sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660" + "sha256:80905ac375958c0444c65e9cebebd948b3cdb518f335a091a670a89d652139d2", + "sha256:efde913840816312445dc98787724647c65473daefe420785f885e8ed9a06878" ], "index": "pypi", - "version": "==3.5.0" + "version": "==4.0.1" }, "protobuf": { "hashes": [ - "sha256:1a3ba712877e6d37013cdc3476040ea1e313a6c2e1580836a94f76b3c176d575", - "sha256:1a53d6f64b00eecf53b65ff4a8c23dc95df1fa1e97bb06b8122e5a64f49fc90a", - "sha256:32ac2100b0e23412413d948c03060184d34a7c50b3e5d7524ee96ac2b10acf51", - "sha256:5c1203ac9f50e4853b0a0bfffd32c67118ef552a33942982eeab543f5c634395", - "sha256:63714e79b761a37048c9701a37438aa29945cd2417a97076048232c1df07b701", - "sha256:683dc44c61f2620b32ce4927de2108f3ebe8ccf2fd716e1e684e5a50da154054", - "sha256:68f7caf0d4f012fd194a301420cf6aa258366144d814f358c5b32558228afa7c", - "sha256:b2cf8b5d381f9378afe84618288b239e75665fe58d0f3fd5db400959274296e9", - "sha256:c40ff8f00aa737938c5378d461637d15c442a12275a81019cc2fef06d81c9419", - "sha256:cf21faba64cd2c9a3ed92b7a67f226296b10159dbb8fbc5e854fc90657d908e4", - "sha256:d94a33db8b7ddbd0af7c467475fb9fde0c705fb315a8433c0e2020942b863a1f" + "sha256:0aebecb809cae990f8129ada5ca273d9d670b76d9bfc9b1809f0a9c02b7dbf41", + "sha256:4be0571adcbe712b282a330c6e89eae24281344429ae95c6d85e79e84780f5ea", + "sha256:5e61fd921603f58d2f5acb2806a929b4675f8874ff5f330b7d6f7e2e784bbcd8", + "sha256:7a183f592dc80aa7c8da7ad9e55091c4ffc9497b3054452d629bb85fa27c2a45", + "sha256:7f8249476b4a9473645db7f8ab42b02fe1488cbe5fb72fddd445e0665afd8584", + "sha256:919ad92d9b0310070f8356c24b855c98df2b8bd207ebc1c0c6fcc9ab1e007f3d", + "sha256:98d8d8aa50de6a2747efd9cceba361c9034050ecce3e09136f90de37ddba66e1", + "sha256:abe32aad8561aa7cc94fc7ba4fdef646e576983edb94a73381b03c53728a626f", + "sha256:b0234dd5a03049e4ddd94b93400b67803c823cfc405689688f59b34e0742381a", + "sha256:b2fde3d805354df675ea4c7c6338c1aecd254dfc9925e88c6d31a2bcb97eb173", + "sha256:fe14e16c22be926d3abfcb500e60cab068baf10b542b8c858fa27e098123e331" ], "markers": "python_version >= '3.8'", - "version": "==4.25.0" + "version": "==4.25.5" }, - "pycparser": { + "pydantic": { "hashes": [ - "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9", - "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206" + "sha256:d155cef71265d1e9807ed1c32b4c8deec042a44a50a4188b25ac67ecd81a9c0f", + "sha256:f048cec7b26778210e28a0459867920654d48e5e62db0958433636cde4254f12" ], - "version": "==2.21" + "markers": "python_version >= '3.8'", + "version": "==2.9.2" }, - "pydantic": { + "pydantic-core": { "hashes": [ - "sha256:1740068fd8e2ef6eb27a20e5651df000978edce6da6803c2bef0bc74540f9548", - "sha256:210ce042e8f6f7c01168b2d84d4c9eb2b009fe7bf572c2266e235edf14bacd80", - "sha256:32c8b48dcd3b2ac4e78b0ba4af3a2c2eb6048cb75202f0ea7b34feb740efc340", - "sha256:3ecea2b9d80e5333303eeb77e180b90e95eea8f765d08c3d278cd56b00345d01", - "sha256:4b03e42ec20286f052490423682016fd80fda830d8e4119f8ab13ec7464c0132", - "sha256:4c5370a7edaac06daee3af1c8b1192e305bc102abcbf2a92374b5bc793818599", - "sha256:56e3ff861c3b9c6857579de282ce8baabf443f42ffba355bf070770ed63e11e1", - "sha256:5a1f9f747851338933942db7af7b6ee8268568ef2ed86c4185c6ef4402e80ba8", - "sha256:5e08865bc6464df8c7d61439ef4439829e3ab62ab1669cddea8dd00cd74b9ffe", - "sha256:61d9dce220447fb74f45e73d7ff3b530e25db30192ad8d425166d43c5deb6df0", - "sha256:654db58ae399fe6434e55325a2c3e959836bd17a6f6a0b6ca8107ea0571d2e17", - "sha256:678bcf5591b63cc917100dc50ab6caebe597ac67e8c9ccb75e698f66038ea953", - "sha256:6cf25c1a65c27923a17b3da28a0bdb99f62ee04230c931d83e888012851f4e7f", - "sha256:75ac15385a3534d887a99c713aa3da88a30fbd6204a5cd0dc4dab3d770b9bd2f", - "sha256:75b297827b59bc229cac1a23a2f7a4ac0031068e5be0ce385be1462e7e17a35d", - "sha256:7d6f6e7305244bddb4414ba7094ce910560c907bdfa3501e9db1a7fd7eaea127", - "sha256:84bafe2e60b5e78bc64a2941b4c071a4b7404c5c907f5f5a99b0139781e69ed8", - "sha256:854223752ba81e3abf663d685f105c64150873cc6f5d0c01d3e3220bcff7d36f", - "sha256:8ae5dd6b721459bfa30805f4c25880e0dd78fc5b5879f9f7a692196ddcb5a580", - "sha256:8ef467901d7a41fa0ca6db9ae3ec0021e3f657ce2c208e98cd511f3161c762c6", - "sha256:968ac42970f57b8344ee08837b62f6ee6f53c33f603547a55571c954a4225691", - "sha256:97cce3ae7341f7620a0ba5ef6cf043975cd9d2b81f3aa5f4ea37928269bc1b87", - "sha256:9849f031cf8a2f0a928fe885e5a04b08006d6d41876b8bbd2fc68a18f9f2e3fd", - "sha256:9f00790179497767aae6bcdc36355792c79e7bbb20b145ff449700eb076c5f96", - "sha256:b87326822e71bd5f313e7d3bfdc77ac3247035ac10b0c0618bd99dcf95b1e687", - "sha256:b97c1fac8c49be29486df85968682b0afa77e1b809aff74b83081cc115e52f33", - "sha256:bc0898c12f8e9c97f6cd44c0ed70d55749eaf783716896960b4ecce2edfd2d69", - "sha256:c553f6a156deb868ba38a23cf0df886c63492e9257f60a79c0fd8e7173537653", - "sha256:c636925f38b8db208e09d344c7aa4f29a86bb9947495dd6b6d376ad10334fb78", - "sha256:c958d053453a1c4b1c2062b05cd42d9d5c8eb67537b8d5a7e3c3032943ecd261", - "sha256:d3a3c792a58e1622667a2837512099eac62490cdfd63bd407993aaf200a4cf1f", - "sha256:e31647d85a2013d926ce60b84f9dd5300d44535a9941fe825dc349ae1f760df9", - "sha256:e70ca129d2053fb8b728ee7d1af8e553a928d7e301a311094b8a0501adc8763d", - "sha256:efff03cc7a4f29d9009d1c96ceb1e7a70a65cfe86e89d34e4a5f2ab1e5693737", - "sha256:f59ef915cac80275245824e9d771ee939133be38215555e9dc90c6cb148aaeb5", - "sha256:f8e81fc5fb17dae698f52bdd1c4f18b6ca674d7068242b2aff075f588301bbb0" + "sha256:0a7df63886be5e270da67e0966cf4afbae86069501d35c8c1b3b6c168f42cb36", + "sha256:0cb3da3fd1b6a5d0279a01877713dbda118a2a4fc6f0d821a57da2e464793f05", + "sha256:0dbd8dbed2085ed23b5c04afa29d8fd2771674223135dc9bc937f3c09284d071", + "sha256:0dff76e0602ca7d4cdaacc1ac4c005e0ce0dcfe095d5b5259163a80d3a10d327", + "sha256:1278e0d324f6908e872730c9102b0112477a7f7cf88b308e4fc36ce1bdb6d58c", + "sha256:128585782e5bfa515c590ccee4b727fb76925dd04a98864182b22e89a4e6ed36", + "sha256:1498bec4c05c9c787bde9125cfdcc63a41004ff167f495063191b863399b1a29", + "sha256:19442362866a753485ba5e4be408964644dd6a09123d9416c54cd49171f50744", + "sha256:1b84d168f6c48fabd1f2027a3d1bdfe62f92cade1fb273a5d68e621da0e44e6d", + "sha256:1e90d2e3bd2c3863d48525d297cd143fe541be8bbf6f579504b9712cb6b643ec", + "sha256:20152074317d9bed6b7a95ade3b7d6054845d70584216160860425f4fbd5ee9e", + "sha256:216f9b2d7713eb98cb83c80b9c794de1f6b7e3145eef40400c62e86cee5f4e1e", + "sha256:233710f069d251feb12a56da21e14cca67994eab08362207785cf8c598e74577", + "sha256:255a8ef062cbf6674450e668482456abac99a5583bbafb73f9ad469540a3a232", + "sha256:2584f7cf844ac4d970fba483a717dbe10c1c1c96a969bf65d61ffe94df1b2863", + "sha256:2971bb5ffe72cc0f555c13e19b23c85b654dd2a8f7ab493c262071377bfce9f6", + "sha256:29d2c342c4bc01b88402d60189f3df065fb0dda3654744d5a165a5288a657368", + "sha256:2e203fdf807ac7e12ab59ca2bfcabb38c7cf0b33c41efeb00f8e5da1d86af480", + "sha256:33e3d65a85a2a4a0dc3b092b938a4062b1a05f3a9abde65ea93b233bca0e03f2", + "sha256:374a5e5049eda9e0a44c696c7ade3ff355f06b1fe0bb945ea3cac2bc336478a2", + "sha256:37b0fe330e4a58d3c58b24d91d1eb102aeec675a3db4c292ec3928ecd892a9a6", + "sha256:3d5639516376dce1940ea36edf408c554475369f5da2abd45d44621cb616f769", + "sha256:42c6dcb030aefb668a2b7009c85b27f90e51e6a3b4d5c9bc4c57631292015b0d", + "sha256:4a7cd62e831afe623fbb7aabbb4fe583212115b3ef38a9f6b71869ba644624a2", + "sha256:4ba762ed58e8d68657fc1281e9bb72e1c3e79cc5d464be146e260c541ec12d84", + "sha256:4fc714bdbfb534f94034efaa6eadd74e5b93c8fa6315565a222f7b6f42ca1166", + "sha256:4ffa2ebd4c8530079140dd2d7f794a9d9a73cbb8e9d59ffe24c63436efa8f271", + "sha256:5a1504ad17ba4210df3a045132a7baeeba5a200e930f57512ee02909fc5c4cb5", + "sha256:5c364564d17da23db1106787675fc7af45f2f7b58b4173bfdd105564e132e6fb", + "sha256:5e11661ce0fd30a6790e8bcdf263b9ec5988e95e63cf901972107efc49218b13", + "sha256:5f54b118ce5de9ac21c363d9b3caa6c800341e8c47a508787e5868c6b79c9323", + "sha256:5f5ff8d839f4566a474a969508fe1c5e59c31c80d9e140566f9a37bba7b8d556", + "sha256:61817945f2fe7d166e75fbfb28004034b48e44878177fc54d81688e7b85a3665", + "sha256:624e278a7d29b6445e4e813af92af37820fafb6dcc55c012c834f9e26f9aaaef", + "sha256:63e46b3169866bd62849936de036f901a9356e36376079b05efa83caeaa02ceb", + "sha256:6531b7ca5f951d663c339002e91aaebda765ec7d61b7d1e3991051906ddde119", + "sha256:68665f4c17edcceecc112dfed5dbe6f92261fb9d6054b47d01bf6371a6196126", + "sha256:696dd8d674d6ce621ab9d45b205df149399e4bb9aa34102c970b721554828510", + "sha256:6f783e0ec4803c787bcea93e13e9932edab72068f68ecffdf86a99fd5918878b", + "sha256:723314c1d51722ab28bfcd5240d858512ffd3116449c557a1336cbe3919beb87", + "sha256:74b9127ffea03643e998e0c5ad9bd3811d3dac8c676e47db17b0ee7c3c3bf35f", + "sha256:7530e201d10d7d14abce4fb54cfe5b94a0aefc87da539d0346a484ead376c3cc", + "sha256:77733e3892bb0a7fa797826361ce8a9184d25c8dffaec60b7ffe928153680ba8", + "sha256:78ddaaa81421a29574a682b3179d4cf9e6d405a09b99d93ddcf7e5239c742e21", + "sha256:7c9129eb40958b3d4500fa2467e6a83356b3b61bfff1b414c7361d9220f9ae8f", + "sha256:7d32706badfe136888bdea71c0def994644e09fff0bfe47441deaed8e96fdbc6", + "sha256:81965a16b675b35e1d09dd14df53f190f9129c0202356ed44ab2728b1c905658", + "sha256:8394d940e5d400d04cad4f75c0598665cbb81aecefaca82ca85bd28264af7f9b", + "sha256:86d2f57d3e1379a9525c5ab067b27dbb8a0642fb5d454e17a9ac434f9ce523e3", + "sha256:883a91b5dd7d26492ff2f04f40fbb652de40fcc0afe07e8129e8ae779c2110eb", + "sha256:88ad334a15b32a791ea935af224b9de1bf99bcd62fabf745d5f3442199d86d59", + "sha256:9261d3ce84fa1d38ed649c3638feefeae23d32ba9182963e465d58d62203bd24", + "sha256:97df63000f4fea395b2824da80e169731088656d1818a11b95f3b173747b6cd9", + "sha256:98d134c954828488b153d88ba1f34e14259284f256180ce659e8d83e9c05eaa3", + "sha256:996a38a83508c54c78a5f41456b0103c30508fed9abcad0a59b876d7398f25fd", + "sha256:9a5bce9d23aac8f0cf0836ecfc033896aa8443b501c58d0602dbfd5bd5b37753", + "sha256:9a6b5099eeec78827553827f4c6b8615978bb4b6a88e5d9b93eddf8bb6790f55", + "sha256:9d18368b137c6295db49ce7218b1a9ba15c5bc254c96d7c9f9e924a9bc7825ad", + "sha256:a4fa4fc04dff799089689f4fd502ce7d59de529fc2f40a2c8836886c03e0175a", + "sha256:a5c7ba8ffb6d6f8f2ab08743be203654bb1aaa8c9dcb09f82ddd34eadb695605", + "sha256:aea443fffa9fbe3af1a9ba721a87f926fe548d32cab71d188a6ede77d0ff244e", + "sha256:b10bd51f823d891193d4717448fab065733958bdb6a6b351967bd349d48d5c9b", + "sha256:ba1a0996f6c2773bd83e63f18914c1de3c9dd26d55f4ac302a7efe93fb8e7433", + "sha256:bb2802e667b7051a1bebbfe93684841cc9351004e2badbd6411bf357ab8d5ac8", + "sha256:cfdd16ab5e59fc31b5e906d1a3f666571abc367598e3e02c83403acabc092e07", + "sha256:d06b0c8da4f16d1d1e352134427cb194a0a6e19ad5db9161bf32b2113409e728", + "sha256:d0776dea117cf5272382634bd2a5c1b6eb16767c223c6a5317cd3e2a757c61a0", + "sha256:d18ca8148bebe1b0a382a27a8ee60350091a6ddaf475fa05ef50dc35b5df6327", + "sha256:d4488a93b071c04dc20f5cecc3631fc78b9789dd72483ba15d423b5b3689b555", + "sha256:d5f7a395a8cf1621939692dba2a6b6a830efa6b3cee787d82c7de1ad2930de64", + "sha256:d7a80d21d613eec45e3d41eb22f8f94ddc758a6c4720842dc74c0581f54993d6", + "sha256:d97683ddee4723ae8c95d1eddac7c192e8c552da0c73a925a89fa8649bf13eea", + "sha256:dcedcd19a557e182628afa1d553c3895a9f825b936415d0dbd3cd0bbcfd29b4b", + "sha256:de6d1d1b9e5101508cb37ab0d972357cac5235f5c6533d1071964c47139257df", + "sha256:df49e7a0861a8c36d089c1ed57d308623d60416dab2647a4a17fe050ba85de0e", + "sha256:df933278128ea1cd77772673c73954e53a1c95a4fdf41eef97c2b779271bd0bd", + "sha256:e08277a400de01bc72436a0ccd02bdf596631411f592ad985dcee21445bd0068", + "sha256:e38e63e6f3d1cec5a27e0afe90a085af8b6806ee208b33030e65b6516353f1a3", + "sha256:e55541f756f9b3ee346b840103f32779c695a19826a4c442b7954550a0972040", + "sha256:ec4e55f79b1c4ffb2eecd8a0cfba9955a2588497d96851f4c8f99aa4a1d39b12", + "sha256:ed1a53de42fbe34853ba90513cea21673481cd81ed1be739f7f2efb931b24916", + "sha256:ed541d70698978a20eb63d8c5d72f2cc6d7079d9d90f6b50bad07826f1320f5f", + "sha256:f09e2ff1f17c2b51f2bc76d1cc33da96298f0a036a137f5440ab3ec5360b624f", + "sha256:f220b0eea5965dec25480b6333c788fb72ce5f9129e8759ef876a1d805d00801", + "sha256:f3e0da4ebaef65158d4dfd7d3678aad692f7666877df0002b8a522cdf088f231", + "sha256:f455ee30a9d61d3e1a15abd5068827773d6e4dc513e795f380cdd59932c782d5", + "sha256:f5ef8f42bec47f21d07668a043f077d507e5bf4e668d5c6dfe6aaba89de1a5b8", + "sha256:f69a8e0b033b747bb3e36a44e7732f0c99f7edd5cea723d45bc0d6e95377ffee", + "sha256:ff02b6d461a6de369f07ec15e465a88895f3223eb75073ffea56b84d9331f607" ], - "markers": "python_version >= '3.7'", - "version": "==1.10.13" + "markers": "python_version >= '3.8'", + "version": "==2.23.4" }, "pytest": { "hashes": [ - "sha256:0d009c083ea859a71b76adf7c1d502e4bc170b80a8ef002da5806527b9591fac", - "sha256:d989d136982de4e3b29dabcc838ad581c64e8ed52c11fbe86ddebd9da0818cd5" + "sha256:70b98107bd648308a7952b06e6ca9a50bc660be218d53c257cc1fc94fda10181", + "sha256:a6853c7375b2663155079443d2e45de913a911a11d669df02a50814944db57b2" ], "index": "pypi", - "version": "==7.4.3" + "version": "==8.3.3" }, "python-dateutil": { "hashes": [ - "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", - "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9" + "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", + "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427" ], "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==2.8.2" + "version": "==2.9.0.post0" }, "python-slugify": { "hashes": [ - "sha256:70ca6ea68fe63ecc8fa4fcf00ae651fc8a5d02d93dcd12ae6d4fc7ca46c4d395", - "sha256:ce0d46ddb668b3be82f4ed5e503dbc33dd815d83e2eb6824211310d3fb172a27" + "sha256:276540b79961052b66b7d116620b36518847f52d5fd9e3a70164fc8c50faa6b8", + "sha256:59202371d1d05b54a9e7720c5e038f928f45daaffe41dd10822f3907b937c856" ], "markers": "python_version >= '3.7'", - "version": "==8.0.1" + "version": "==8.0.4" }, "pytimeparse": { "hashes": [ @@ -729,195 +809,194 @@ }, "pytz": { "hashes": [ - "sha256:7b4fddbeb94a1eba4b557da24f19fdf9db575192544270a9101d8509f9f43d7b", - "sha256:ce42d816b81b68506614c11e8937d3aa9e41007ceb50bfdcb0749b921bf646c7" + "sha256:2aa355083c50a0f93fa581709deac0c9ad65cca8a9e9beac660adcbd493c798a", + "sha256:31c7c1817eb7fae7ca4b8c7ee50c72f93aa2dd863de768e1ef4245d426aa0725" ], - "version": "==2023.3.post1" + "version": "==2024.2" }, "pyyaml": { "hashes": [ - "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5", - "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc", - "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df", - "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741", - "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206", - "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27", - "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595", - "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62", - "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98", - "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696", - "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290", - "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9", - "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d", - "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6", - "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867", - "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47", - "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486", - "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6", - "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3", - "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007", - "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938", - "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0", - "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c", - "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735", - "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d", - "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28", - "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4", - "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba", - "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8", - "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5", - "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd", - "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3", - "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0", - "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515", - "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c", - "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c", - "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924", - "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34", - "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43", - "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859", - "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673", - "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54", - "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a", - "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b", - "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab", - "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa", - "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c", - "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585", - "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d", - "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f" + "sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff", + "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48", + "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086", + "sha256:0b69e4ce7a131fe56b7e4d770c67429700908fc0752af059838b1cfb41960e4e", + "sha256:0ffe8360bab4910ef1b9e87fb812d8bc0a308b0d0eef8c8f44e0254ab3b07133", + "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5", + "sha256:17e311b6c678207928d649faa7cb0d7b4c26a0ba73d41e99c4fff6b6c3276484", + "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee", + "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5", + "sha256:23502f431948090f597378482b4812b0caae32c22213aecf3b55325e049a6c68", + "sha256:24471b829b3bf607e04e88d79542a9d48bb037c2267d7927a874e6c205ca7e9a", + "sha256:29717114e51c84ddfba879543fb232a6ed60086602313ca38cce623c1d62cfbf", + "sha256:2e99c6826ffa974fe6e27cdb5ed0021786b03fc98e5ee3c5bfe1fd5015f42b99", + "sha256:39693e1f8320ae4f43943590b49779ffb98acb81f788220ea932a6b6c51004d8", + "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85", + "sha256:3b1fdb9dc17f5a7677423d508ab4f243a726dea51fa5e70992e59a7411c89d19", + "sha256:41e4e3953a79407c794916fa277a82531dd93aad34e29c2a514c2c0c5fe971cc", + "sha256:43fa96a3ca0d6b1812e01ced1044a003533c47f6ee8aca31724f78e93ccc089a", + "sha256:50187695423ffe49e2deacb8cd10510bc361faac997de9efef88badc3bb9e2d1", + "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317", + "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c", + "sha256:6395c297d42274772abc367baaa79683958044e5d3835486c16da75d2a694631", + "sha256:688ba32a1cffef67fd2e9398a2efebaea461578b0923624778664cc1c914db5d", + "sha256:68ccc6023a3400877818152ad9a1033e3db8625d899c72eacb5a668902e4d652", + "sha256:70b189594dbe54f75ab3a1acec5f1e3faa7e8cf2f1e08d9b561cb41b845f69d5", + "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e", + "sha256:7c36280e6fb8385e520936c3cb3b8042851904eba0e58d277dca80a5cfed590b", + "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8", + "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476", + "sha256:82d09873e40955485746739bcb8b4586983670466c23382c19cffecbf1fd8706", + "sha256:8388ee1976c416731879ac16da0aff3f63b286ffdd57cdeb95f3f2e085687563", + "sha256:8824b5a04a04a047e72eea5cec3bc266db09e35de6bdfe34c9436ac5ee27d237", + "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b", + "sha256:9056c1ecd25795207ad294bcf39f2db3d845767be0ea6e6a34d856f006006083", + "sha256:936d68689298c36b53b29f23c6dbb74de12b4ac12ca6cfe0e047bedceea56180", + "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425", + "sha256:a4d3091415f010369ae4ed1fc6b79def9416358877534caf6a0fdd2146c87a3e", + "sha256:a8786accb172bd8afb8be14490a16625cbc387036876ab6ba70912730faf8e1f", + "sha256:a9f8c2e67970f13b16084e04f134610fd1d374bf477b17ec1599185cf611d725", + "sha256:bc2fa7c6b47d6bc618dd7fb02ef6fdedb1090ec036abab80d4681424b84c1183", + "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab", + "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774", + "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725", + "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e", + "sha256:d7fded462629cfa4b685c5416b949ebad6cec74af5e2d42905d41e257e0869f5", + "sha256:d84a1718ee396f54f3a086ea0a66d8e552b2ab2017ef8b420e92edbc841c352d", + "sha256:d8e03406cac8513435335dbab54c0d385e4a49e4945d2909a581c83647ca0290", + "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44", + "sha256:ec031d5d2feb36d1d1a24380e4db6d43695f3748343d99434e6f5f9156aaa2ed", + "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4", + "sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba", + "sha256:f753120cb8181e736c57ef7636e83f31b9c0d1722c516f7e86cf15b7aa57ff12", + "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4" ], - "markers": "python_version >= '3.6'", - "version": "==6.0.1" + "markers": "python_version >= '3.8'", + "version": "==6.0.2" }, "referencing": { "hashes": [ - "sha256:449b6669b6121a9e96a7f9e410b245d471e8d48964c67113ce9afe50c8dd7bdf", - "sha256:794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0" + "sha256:25b42124a6c8b632a425174f24087783efb348a6f1e0008e63cd4466fedf703c", + "sha256:eda6d3234d62814d1c64e305c1331c9a3a6132da475ab6382eaa997b21ee75de" ], "markers": "python_version >= '3.8'", - "version": "==0.30.2" + "version": "==0.35.1" }, "requests": { "hashes": [ - "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f", - "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1" - ], - "markers": "python_version >= '3.7'", - "version": "==2.31.0" - }, - "rpds-py": { - "hashes": [ - "sha256:0525847f83f506aa1e28eb2057b696fe38217e12931c8b1b02198cfe6975e142", - "sha256:05942656cb2cb4989cd50ced52df16be94d344eae5097e8583966a1d27da73a5", - "sha256:0831d3ecdea22e4559cc1793f22e77067c9d8c451d55ae6a75bf1d116a8e7f42", - "sha256:0853da3d5e9bc6a07b2486054a410b7b03f34046c123c6561b535bb48cc509e1", - "sha256:08e6e7ff286254016b945e1ab632ee843e43d45e40683b66dd12b73791366dd1", - "sha256:0a38612d07a36138507d69646c470aedbfe2b75b43a4643f7bd8e51e52779624", - "sha256:0bedd91ae1dd142a4dc15970ed2c729ff6c73f33a40fa84ed0cdbf55de87c777", - "sha256:0c5441b7626c29dbd54a3f6f3713ec8e956b009f419ffdaaa3c80eaf98ddb523", - "sha256:0e9e976e0dbed4f51c56db10831c9623d0fd67aac02853fe5476262e5a22acb7", - "sha256:0fadfdda275c838cba5102c7f90a20f2abd7727bf8f4a2b654a5b617529c5c18", - "sha256:1096ca0bf2d3426cbe79d4ccc91dc5aaa73629b08ea2d8467375fad8447ce11a", - "sha256:171d9a159f1b2f42a42a64a985e4ba46fc7268c78299272ceba970743a67ee50", - "sha256:188912b22b6c8225f4c4ffa020a2baa6ad8fabb3c141a12dbe6edbb34e7f1425", - "sha256:1b4cf9ab9a0ae0cb122685209806d3f1dcb63b9fccdf1424fb42a129dc8c2faa", - "sha256:1e04581c6117ad9479b6cfae313e212fe0dfa226ac727755f0d539cd54792963", - "sha256:1fa73ed22c40a1bec98d7c93b5659cd35abcfa5a0a95ce876b91adbda170537c", - "sha256:2124f9e645a94ab7c853bc0a3644e0ca8ffbe5bb2d72db49aef8f9ec1c285733", - "sha256:240687b5be0f91fbde4936a329c9b7589d9259742766f74de575e1b2046575e4", - "sha256:25740fb56e8bd37692ed380e15ec734be44d7c71974d8993f452b4527814601e", - "sha256:27ccc93c7457ef890b0dd31564d2a05e1aca330623c942b7e818e9e7c2669ee4", - "sha256:281c8b219d4f4b3581b918b816764098d04964915b2f272d1476654143801aa2", - "sha256:2d34a5450a402b00d20aeb7632489ffa2556ca7b26f4a63c35f6fccae1977427", - "sha256:301bd744a1adaa2f6a5e06c98f1ac2b6f8dc31a5c23b838f862d65e32fca0d4b", - "sha256:30e5ce9f501fb1f970e4a59098028cf20676dee64fc496d55c33e04bbbee097d", - "sha256:33ab498f9ac30598b6406e2be1b45fd231195b83d948ebd4bd77f337cb6a2bff", - "sha256:35585a8cb5917161f42c2104567bb83a1d96194095fc54a543113ed5df9fa436", - "sha256:389c0e38358fdc4e38e9995e7291269a3aead7acfcf8942010ee7bc5baee091c", - "sha256:3acadbab8b59f63b87b518e09c4c64b142e7286b9ca7a208107d6f9f4c393c5c", - "sha256:3b7a64d43e2a1fa2dd46b678e00cabd9a49ebb123b339ce799204c44a593ae1c", - "sha256:3c8c0226c71bd0ce9892eaf6afa77ae8f43a3d9313124a03df0b389c01f832de", - "sha256:429349a510da82c85431f0f3e66212d83efe9fd2850f50f339341b6532c62fe4", - "sha256:466030a42724780794dea71eb32db83cc51214d66ab3fb3156edd88b9c8f0d78", - "sha256:47aeceb4363851d17f63069318ba5721ae695d9da55d599b4d6fb31508595278", - "sha256:48aa98987d54a46e13e6954880056c204700c65616af4395d1f0639eba11764b", - "sha256:4b2416ed743ec5debcf61e1242e012652a4348de14ecc7df3512da072b074440", - "sha256:4d0a675a7acbbc16179188d8c6d0afb8628604fc1241faf41007255957335a0b", - "sha256:4eb74d44776b0fb0782560ea84d986dffec8ddd94947f383eba2284b0f32e35e", - "sha256:4f8a1d990dc198a6c68ec3d9a637ba1ce489b38cbfb65440a27901afbc5df575", - "sha256:513ccbf7420c30e283c25c82d5a8f439d625a838d3ba69e79a110c260c46813f", - "sha256:5210a0018c7e09c75fa788648617ebba861ae242944111d3079034e14498223f", - "sha256:54cdfcda59251b9c2f87a05d038c2ae02121219a04d4a1e6fc345794295bdc07", - "sha256:56dd500411d03c5e9927a1eb55621e906837a83b02350a9dc401247d0353717c", - "sha256:57ec6baec231bb19bb5fd5fc7bae21231860a1605174b11585660236627e390e", - "sha256:5f1519b080d8ce0a814f17ad9fb49fb3a1d4d7ce5891f5c85fc38631ca3a8dc4", - "sha256:6174d6ad6b58a6bcf67afbbf1723420a53d06c4b89f4c50763d6fa0a6ac9afd2", - "sha256:68172622a5a57deb079a2c78511c40f91193548e8ab342c31e8cb0764d362459", - "sha256:6915fc9fa6b3ec3569566832e1bb03bd801c12cea030200e68663b9a87974e76", - "sha256:6b75b912a0baa033350367a8a07a8b2d44fd5b90c890bfbd063a8a5f945f644b", - "sha256:6f5dcb658d597410bb7c967c1d24eaf9377b0d621358cbe9d2ff804e5dd12e81", - "sha256:6f8d7fe73d1816eeb5378409adc658f9525ecbfaf9e1ede1e2d67a338b0c7348", - "sha256:7036316cc26b93e401cedd781a579be606dad174829e6ad9e9c5a0da6e036f80", - "sha256:7188ddc1a8887194f984fa4110d5a3d5b9b5cd35f6bafdff1b649049cbc0ce29", - "sha256:761531076df51309075133a6bc1db02d98ec7f66e22b064b1d513bc909f29743", - "sha256:7979d90ee2190d000129598c2b0c82f13053dba432b94e45e68253b09bb1f0f6", - "sha256:8015835494b21aa7abd3b43fdea0614ee35ef6b03db7ecba9beb58eadf01c24f", - "sha256:81c4d1a3a564775c44732b94135d06e33417e829ff25226c164664f4a1046213", - "sha256:81cf9d306c04df1b45971c13167dc3bad625808aa01281d55f3cf852dde0e206", - "sha256:88857060b690a57d2ea8569bca58758143c8faa4639fb17d745ce60ff84c867e", - "sha256:8c567c664fc2f44130a20edac73e0a867f8e012bf7370276f15c6adc3586c37c", - "sha256:91bd2b7cf0f4d252eec8b7046fa6a43cee17e8acdfc00eaa8b3dbf2f9a59d061", - "sha256:9620650c364c01ed5b497dcae7c3d4b948daeae6e1883ae185fef1c927b6b534", - "sha256:9b007c2444705a2dc4a525964fd4dd28c3320b19b3410da6517cab28716f27d3", - "sha256:9bf9acce44e967a5103fcd820fc7580c7b0ab8583eec4e2051aec560f7b31a63", - "sha256:a239303acb0315091d54c7ff36712dba24554993b9a93941cf301391d8a997ee", - "sha256:a2baa6be130e8a00b6cbb9f18a33611ec150b4537f8563bddadb54c1b74b8193", - "sha256:a54917b7e9cd3a67e429a630e237a90b096e0ba18897bfb99ee8bd1068a5fea0", - "sha256:a689e1ded7137552bea36305a7a16ad2b40be511740b80748d3140614993db98", - "sha256:a952ae3eb460c6712388ac2ec706d24b0e651b9396d90c9a9e0a69eb27737fdc", - "sha256:aa32205358a76bf578854bf31698a86dc8b2cb591fd1d79a833283f4a403f04b", - "sha256:b2287c09482949e0ca0c0eb68b2aca6cf57f8af8c6dfd29dcd3bc45f17b57978", - "sha256:b6b0e17d39d21698185097652c611f9cf30f7c56ccec189789920e3e7f1cee56", - "sha256:b710bf7e7ae61957d5c4026b486be593ed3ec3dca3e5be15e0f6d8cf5d0a4990", - "sha256:b8e11715178f3608874508f08e990d3771e0b8c66c73eb4e183038d600a9b274", - "sha256:b92aafcfab3d41580d54aca35a8057341f1cfc7c9af9e8bdfc652f83a20ced31", - "sha256:bec29b801b4adbf388314c0d050e851d53762ab424af22657021ce4b6eb41543", - "sha256:c694bee70ece3b232df4678448fdda245fd3b1bb4ba481fb6cd20e13bb784c46", - "sha256:c6b52b7028b547866c2413f614ee306c2d4eafdd444b1ff656bf3295bf1484aa", - "sha256:cb41ad20064e18a900dd427d7cf41cfaec83bcd1184001f3d91a1f76b3fcea4e", - "sha256:cd316dbcc74c76266ba94eb021b0cc090b97cca122f50bd7a845f587ff4bf03f", - "sha256:ced40cdbb6dd47a032725a038896cceae9ce267d340f59508b23537f05455431", - "sha256:d1c562a9bb72244fa767d1c1ab55ca1d92dd5f7c4d77878fee5483a22ffac808", - "sha256:d389ff1e95b6e46ebedccf7fd1fadd10559add595ac6a7c2ea730268325f832c", - "sha256:d56b1cd606ba4cedd64bb43479d56580e147c6ef3f5d1c5e64203a1adab784a2", - "sha256:d72a4315514e5a0b9837a086cb433b004eea630afb0cc129de76d77654a9606f", - "sha256:d9e7f29c00577aff6b318681e730a519b235af292732a149337f6aaa4d1c5e31", - "sha256:dbc25baa6abb205766fb8606f8263b02c3503a55957fcb4576a6bb0a59d37d10", - "sha256:e57919c32ee295a2fca458bb73e4b20b05c115627f96f95a10f9f5acbd61172d", - "sha256:e5bbe011a2cea9060fef1bb3d668a2fd8432b8888e6d92e74c9c794d3c101595", - "sha256:e6aea5c0eb5b0faf52c7b5c4a47c8bb64437173be97227c819ffa31801fa4e34", - "sha256:e888be685fa42d8b8a3d3911d5604d14db87538aa7d0b29b1a7ea80d354c732d", - "sha256:eebaf8c76c39604d52852366249ab807fe6f7a3ffb0dd5484b9944917244cdbe", - "sha256:efbe0b5e0fd078ed7b005faa0170da4f72666360f66f0bb2d7f73526ecfd99f9", - "sha256:efddca2d02254a52078c35cadad34762adbae3ff01c6b0c7787b59d038b63e0d", - "sha256:f05450fa1cd7c525c0b9d1a7916e595d3041ac0afbed2ff6926e5afb6a781b7f", - "sha256:f12d69d568f5647ec503b64932874dade5a20255736c89936bf690951a5e79f5", - "sha256:f45321224144c25a62052035ce96cbcf264667bcb0d81823b1bbc22c4addd194", - "sha256:f62581d7e884dd01ee1707b7c21148f61f2febb7de092ae2f108743fcbef5985", - "sha256:f8832a4f83d4782a8f5a7b831c47e8ffe164e43c2c148c8160ed9a6d630bc02a", - "sha256:fa35ad36440aaf1ac8332b4a4a433d4acd28f1613f0d480995f5cfd3580e90b7" + "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760", + "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6" ], "markers": "python_version >= '3.8'", - "version": "==0.12.0" + "version": "==2.32.3" }, - "setuptools": { + "rpds-py": { "hashes": [ - "sha256:4ac1475276d2f1c48684874089fefcd83bd7162ddaafb81fac866ba0db282a87", - "sha256:b454a35605876da60632df1a60f736524eb73cc47bbc9f3f1ef1b644de74fd2a" + "sha256:06db23d43f26478303e954c34c75182356ca9aa7797d22c5345b16871ab9c45c", + "sha256:0e13e6952ef264c40587d510ad676a988df19adea20444c2b295e536457bc585", + "sha256:11ef6ce74616342888b69878d45e9f779b95d4bd48b382a229fe624a409b72c5", + "sha256:1259c7b3705ac0a0bd38197565a5d603218591d3f6cee6e614e380b6ba61c6f6", + "sha256:18d7585c463087bddcfa74c2ba267339f14f2515158ac4db30b1f9cbdb62c8ef", + "sha256:1e0f80b739e5a8f54837be5d5c924483996b603d5502bfff79bf33da06164ee2", + "sha256:1e5f3cd7397c8f86c8cc72d5a791071431c108edd79872cdd96e00abd8497d29", + "sha256:220002c1b846db9afd83371d08d239fdc865e8f8c5795bbaec20916a76db3318", + "sha256:22e6c9976e38f4d8c4a63bd8a8edac5307dffd3ee7e6026d97f3cc3a2dc02a0b", + "sha256:238a2d5b1cad28cdc6ed15faf93a998336eb041c4e440dd7f902528b8891b399", + "sha256:2580b0c34583b85efec8c5c5ec9edf2dfe817330cc882ee972ae650e7b5ef739", + "sha256:28527c685f237c05445efec62426d285e47a58fb05ba0090a4340b73ecda6dee", + "sha256:2cf126d33a91ee6eedc7f3197b53e87a2acdac63602c0f03a02dd69e4b138174", + "sha256:338ca4539aad4ce70a656e5187a3a31c5204f261aef9f6ab50e50bcdffaf050a", + "sha256:39ed0d010457a78f54090fafb5d108501b5aa5604cc22408fc1c0c77eac14344", + "sha256:3ad0fda1635f8439cde85c700f964b23ed5fc2d28016b32b9ee5fe30da5c84e2", + "sha256:3d2b1ad682a3dfda2a4e8ad8572f3100f95fad98cb99faf37ff0ddfe9cbf9d03", + "sha256:3d61339e9f84a3f0767b1995adfb171a0d00a1185192718a17af6e124728e0f5", + "sha256:3fde368e9140312b6e8b6c09fb9f8c8c2f00999d1823403ae90cc00480221b22", + "sha256:40ce74fc86ee4645d0a225498d091d8bc61f39b709ebef8204cb8b5a464d3c0e", + "sha256:49a8063ea4296b3a7e81a5dfb8f7b2d73f0b1c20c2af401fb0cdf22e14711a96", + "sha256:4a1f1d51eccb7e6c32ae89243cb352389228ea62f89cd80823ea7dd1b98e0b91", + "sha256:4b16aa0107ecb512b568244ef461f27697164d9a68d8b35090e9b0c1c8b27752", + "sha256:4f1ed4749a08379555cebf4650453f14452eaa9c43d0a95c49db50c18b7da075", + "sha256:4fe84294c7019456e56d93e8ababdad5a329cd25975be749c3f5f558abb48253", + "sha256:50eccbf054e62a7b2209b28dc7a22d6254860209d6753e6b78cfaeb0075d7bee", + "sha256:514b3293b64187172bc77c8fb0cdae26981618021053b30d8371c3a902d4d5ad", + "sha256:54b43a2b07db18314669092bb2de584524d1ef414588780261e31e85846c26a5", + "sha256:55fea87029cded5df854ca7e192ec7bdb7ecd1d9a3f63d5c4eb09148acf4a7ce", + "sha256:569b3ea770c2717b730b61998b6c54996adee3cef69fc28d444f3e7920313cf7", + "sha256:56e27147a5a4c2c21633ff8475d185734c0e4befd1c989b5b95a5d0db699b21b", + "sha256:57eb94a8c16ab08fef6404301c38318e2c5a32216bf5de453e2714c964c125c8", + "sha256:5a35df9f5548fd79cb2f52d27182108c3e6641a4feb0f39067911bf2adaa3e57", + "sha256:5a8c94dad2e45324fc74dce25e1645d4d14df9a4e54a30fa0ae8bad9a63928e3", + "sha256:5b4f105deeffa28bbcdff6c49b34e74903139afa690e35d2d9e3c2c2fba18cec", + "sha256:5c1dc0f53856b9cc9a0ccca0a7cc61d3d20a7088201c0937f3f4048c1718a209", + "sha256:614fdafe9f5f19c63ea02817fa4861c606a59a604a77c8cdef5aa01d28b97921", + "sha256:617c7357272c67696fd052811e352ac54ed1d9b49ab370261a80d3b6ce385045", + "sha256:65794e4048ee837494aea3c21a28ad5fc080994dfba5b036cf84de37f7ad5074", + "sha256:6632f2d04f15d1bd6fe0eedd3b86d9061b836ddca4c03d5cf5c7e9e6b7c14580", + "sha256:6c8ef2ebf76df43f5750b46851ed1cdf8f109d7787ca40035fe19fbdc1acc5a7", + "sha256:758406267907b3781beee0f0edfe4a179fbd97c0be2e9b1154d7f0a1279cf8e5", + "sha256:7e60cb630f674a31f0368ed32b2a6b4331b8350d67de53c0359992444b116dd3", + "sha256:89c19a494bf3ad08c1da49445cc5d13d8fefc265f48ee7e7556839acdacf69d0", + "sha256:8a86a9b96070674fc88b6f9f71a97d2c1d3e5165574615d1f9168ecba4cecb24", + "sha256:8bc7690f7caee50b04a79bf017a8d020c1f48c2a1077ffe172abec59870f1139", + "sha256:8d7919548df3f25374a1f5d01fbcd38dacab338ef5f33e044744b5c36729c8db", + "sha256:9426133526f69fcaba6e42146b4e12d6bc6c839b8b555097020e2b78ce908dcc", + "sha256:9824fb430c9cf9af743cf7aaf6707bf14323fb51ee74425c380f4c846ea70789", + "sha256:9bb4a0d90fdb03437c109a17eade42dfbf6190408f29b2744114d11586611d6f", + "sha256:9bc2d153989e3216b0559251b0c260cfd168ec78b1fac33dd485750a228db5a2", + "sha256:9d35cef91e59ebbeaa45214861874bc6f19eb35de96db73e467a8358d701a96c", + "sha256:a1862d2d7ce1674cffa6d186d53ca95c6e17ed2b06b3f4c476173565c862d232", + "sha256:a84ab91cbe7aab97f7446652d0ed37d35b68a465aeef8fc41932a9d7eee2c1a6", + "sha256:aa7f429242aae2947246587d2964fad750b79e8c233a2367f71b554e9447949c", + "sha256:aa9a0521aeca7d4941499a73ad7d4f8ffa3d1affc50b9ea11d992cd7eff18a29", + "sha256:ac2f4f7a98934c2ed6505aead07b979e6f999389f16b714448fb39bbaa86a489", + "sha256:ae94bd0b2f02c28e199e9bc51485d0c5601f58780636185660f86bf80c89af94", + "sha256:af0fc424a5842a11e28956e69395fbbeab2c97c42253169d87e90aac2886d751", + "sha256:b2a5db5397d82fa847e4c624b0c98fe59d2d9b7cf0ce6de09e4d2e80f8f5b3f2", + "sha256:b4c29cbbba378759ac5786730d1c3cb4ec6f8ababf5c42a9ce303dc4b3d08cda", + "sha256:b74b25f024b421d5859d156750ea9a65651793d51b76a2e9238c05c9d5f203a9", + "sha256:b7f19250ceef892adf27f0399b9e5afad019288e9be756d6919cb58892129f51", + "sha256:b80d4a7900cf6b66bb9cee5c352b2d708e29e5a37fe9bf784fa97fc11504bf6c", + "sha256:b8c00a3b1e70c1d3891f0db1b05292747f0dbcfb49c43f9244d04c70fbc40eb8", + "sha256:bb273176be34a746bdac0b0d7e4e2c467323d13640b736c4c477881a3220a989", + "sha256:c3c20f0ddeb6e29126d45f89206b8291352b8c5b44384e78a6499d68b52ae511", + "sha256:c3e130fd0ec56cb76eb49ef52faead8ff09d13f4527e9b0c400307ff72b408e1", + "sha256:c52d3f2f82b763a24ef52f5d24358553e8403ce05f893b5347098014f2d9eff2", + "sha256:c6377e647bbfd0a0b159fe557f2c6c602c159fc752fa316572f012fc0bf67150", + "sha256:c638144ce971df84650d3ed0096e2ae7af8e62ecbbb7b201c8935c370df00a2c", + "sha256:ce9845054c13696f7af7f2b353e6b4f676dab1b4b215d7fe5e05c6f8bb06f965", + "sha256:cf258ede5bc22a45c8e726b29835b9303c285ab46fc7c3a4cc770736b5304c9f", + "sha256:d0a26ffe9d4dd35e4dfdd1e71f46401cff0181c75ac174711ccff0459135fa58", + "sha256:d0b67d87bb45ed1cd020e8fbf2307d449b68abc45402fe1a4ac9e46c3c8b192b", + "sha256:d20277fd62e1b992a50c43f13fbe13277a31f8c9f70d59759c88f644d66c619f", + "sha256:d454b8749b4bd70dd0a79f428731ee263fa6995f83ccb8bada706e8d1d3ff89d", + "sha256:d4c7d1a051eeb39f5c9547e82ea27cbcc28338482242e3e0b7768033cb083821", + "sha256:d72278a30111e5b5525c1dd96120d9e958464316f55adb030433ea905866f4de", + "sha256:d72a210824facfdaf8768cf2d7ca25a042c30320b3020de2fa04640920d4e121", + "sha256:d807dc2051abe041b6649681dce568f8e10668e3c1c6543ebae58f2d7e617855", + "sha256:dbe982f38565bb50cb7fb061ebf762c2f254ca3d8c20d4006878766e84266272", + "sha256:dcedf0b42bcb4cfff4101d7771a10532415a6106062f005ab97d1d0ab5681c60", + "sha256:deb62214c42a261cb3eb04d474f7155279c1a8a8c30ac89b7dcb1721d92c3c02", + "sha256:def7400461c3a3f26e49078302e1c1b38f6752342c77e3cf72ce91ca69fb1bc1", + "sha256:df3de6b7726b52966edf29663e57306b23ef775faf0ac01a3e9f4012a24a4140", + "sha256:e1940dae14e715e2e02dfd5b0f64a52e8374a517a1e531ad9412319dc3ac7879", + "sha256:e4df1e3b3bec320790f699890d41c59d250f6beda159ea3c44c3f5bac1976940", + "sha256:e6900ecdd50ce0facf703f7a00df12374b74bbc8ad9fe0f6559947fb20f82364", + "sha256:ea438162a9fcbee3ecf36c23e6c68237479f89f962f82dae83dc15feeceb37e4", + "sha256:eb851b7df9dda52dc1415ebee12362047ce771fc36914586b2e9fcbd7d293b3e", + "sha256:ec31a99ca63bf3cd7f1a5ac9fe95c5e2d060d3c768a09bc1d16e235840861420", + "sha256:f0475242f447cc6cb8a9dd486d68b2ef7fbee84427124c232bff5f63b1fe11e5", + "sha256:f2fbf7db2012d4876fb0d66b5b9ba6591197b0f165db8d99371d976546472a24", + "sha256:f60012a73aa396be721558caa3a6fd49b3dd0033d1675c6d59c4502e870fcf0c", + "sha256:f8e604fe73ba048c06085beaf51147eaec7df856824bfe7b98657cf436623daf", + "sha256:f90a4cd061914a60bd51c68bcb4357086991bd0bb93d8aa66a6da7701370708f", + "sha256:f918a1a130a6dfe1d7fe0f105064141342e7dd1611f2e6a21cd2f5c8cb1cfb3e", + "sha256:fa518bcd7600c584bf42e6617ee8132869e877db2f76bcdc281ec6a4113a53ab", + "sha256:faefcc78f53a88f3076b7f8be0a8f8d35133a3ecf7f3770895c25f8813460f08", + "sha256:fcaeb7b57f1a1e071ebd748984359fef83ecb026325b9d4ca847c95bc7311c92", + "sha256:fd2d84f40633bc475ef2d5490b9c19543fbf18596dcb1b291e3a12ea5d722f7a", + "sha256:fdfc3a892927458d98f3d55428ae46b921d1f7543b89382fdb483f5640daaec8" ], "markers": "python_version >= '3.8'", - "version": "==68.2.2" + "version": "==0.20.0" }, "six": { "hashes": [ @@ -929,11 +1008,11 @@ }, "sqlparse": { "hashes": [ - "sha256:5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3", - "sha256:d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c" + "sha256:773dcbf9a5ab44a090f3441e2180efe2560220203dc2f8c0b0fa141e18b505e4", + "sha256:bb6b4df465655ef332548e24f08e205afc81b9ab86cb1c45657a7ff173a3a00e" ], - "markers": "python_version >= '3.5'", - "version": "==0.4.4" + "markers": "python_version >= '3.8'", + "version": "==0.5.1" }, "text-unidecode": { "hashes": [ @@ -944,27 +1023,27 @@ }, "tomli": { "hashes": [ - "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", - "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" + "sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38", + "sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed" ], "markers": "python_version < '3.11'", - "version": "==2.0.1" + "version": "==2.0.2" }, "trino": { "hashes": [ - "sha256:07370044158cb95f6f6b03720a1afb8980b75092a59025fe602af9858c2fd4a0", - "sha256:56d253a814bd5da545cc68e1bc8c28c0b80f07df6411aa0424197c025c78998e" + "sha256:1e731be22bc6fb4ce6537287419c3d221faaa8d089f5a05b0f01ef25b860e96e", + "sha256:535f612d754338cfefa4b3fe86b63c8c000d21cb5ea476ae4ec4390d5cc37659" ], - "markers": "python_version >= '3.7'", - "version": "==0.327.0" + "markers": "python_version >= '3.8'", + "version": "==0.330.0" }, "typing-extensions": { "hashes": [ - "sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0", - "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef" + "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d", + "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8" ], "markers": "python_version >= '3.8'", - "version": "==4.8.0" + "version": "==4.12.2" }, "tzlocal": { "hashes": [ @@ -976,27 +1055,27 @@ }, "urllib3": { "hashes": [ - "sha256:34b97092d7e0a3a8cf7cd10e386f401b3737364026c45e622aa02903dffe0f07", - "sha256:f8ecc1bba5667413457c529ab955bf8c67b45db799d159066261719e328580a0" + "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac", + "sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'", - "version": "==1.26.18" + "markers": "python_version >= '3.8'", + "version": "==2.2.3" }, "virtualenv": { "hashes": [ - "sha256:02ece4f56fbf939dbbc33c0715159951d6bf14aaf5457b092e4548e1382455af", - "sha256:520d056652454c5098a00c0f073611ccbea4c79089331f60bf9d7ba247bb7381" + "sha256:2ca56a68ed615b8fe4326d11a0dca5dfbe8fd68510fb6c6349163bed3c15f2b2", + "sha256:44a72c29cceb0ee08f300b314848c86e57bf8d1f13107a5e671fb9274138d655" ], - "markers": "python_version >= '3.7'", - "version": "==20.24.6" + "markers": "python_version >= '3.8'", + "version": "==20.27.0" }, "zipp": { "hashes": [ - "sha256:0e923e726174922dce09c53c59ad483ff7bbb8e572e00c7f7c46b88556409f31", - "sha256:84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0" + "sha256:a817ac80d6cf4b23bf7f2828b7cabf326f15a001bea8b1f9b49631780ba28350", + "sha256:bc9eb26f4506fda01b81bcde0ca78103b6e62f991b381fec825435c836edbc29" ], "markers": "python_version >= '3.8'", - "version": "==3.17.0" + "version": "==3.20.2" } }, "develop": {} diff --git a/README.md b/README.md index f27ea2df047..127c5c6190d 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ models: columns: - name: tx_hash description: "Table primary key: a transaction hash (tx_hash) is a unique identifier for a transaction." - tests: + data_tests: - unique - not_null diff --git a/dbt_subprojects/daily_spellbook/dbt_project.yml b/dbt_subprojects/daily_spellbook/dbt_project.yml index 49cb3486ec1..6b78c227a00 100644 --- a/dbt_subprojects/daily_spellbook/dbt_project.yml +++ b/dbt_subprojects/daily_spellbook/dbt_project.yml @@ -3,6 +3,7 @@ name: "daily_spellbook" version: "1.0.0" config-version: 2 +require-dbt-version: ">=1.8.0" quoting: database: false @@ -33,7 +34,7 @@ clean-targets: # directories to be removed by `dbt clean` # Configuring tests # Full documentation: https://docs.getdbt.com/reference/test-configs -tests: +data_tests: daily_spellbook: +store_failures: true # store failures for all tests diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/dune_index/_schema.yml b/dbt_subprojects/daily_spellbook/models/_metrics/dune_index/_schema.yml index 186f5772511..0c19c70acf8 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/dune_index/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_metrics/dune_index/_schema.yml @@ -8,7 +8,7 @@ models: config: tags: ['metrics', 'dune', 'index', 'daily'] description: "Combine transactions, transfers and fees index values to get a daily dune index value" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/dune_index/metrics_dune_index_stats.sql b/dbt_subprojects/daily_spellbook/models/_metrics/dune_index/metrics_dune_index_stats.sql index 0e9919bba64..7beb905d72b 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/dune_index/metrics_dune_index_stats.sql +++ b/dbt_subprojects/daily_spellbook/models/_metrics/dune_index/metrics_dune_index_stats.sql @@ -42,10 +42,10 @@ with source as ( select c.blockchain , c.last_1_days_dune_index as last_1_days_dune_index_contribution - , (c.last_1_days_dune_index / t.total_cross_chain_last_1_days_dune_index) * 100 as last_1_days_dune_index_contribution_percent + , c.last_1_days_dune_index / t.total_cross_chain_last_1_days_dune_index as last_1_days_dune_index_contribution_percent , t.total_cross_chain_last_1_days_dune_index , p.previous_1_days_dune_index as previous_1_days_dune_index_contribution - , ((c.last_1_days_dune_index - coalesce(p.previous_1_days_dune_index, 0)) / coalesce(p.previous_1_days_dune_index, 1)) * 100 AS daily_percent_change + , (c.last_1_days_dune_index - coalesce(p.previous_1_days_dune_index, 0)) / coalesce(p.previous_1_days_dune_index, 1) AS daily_percent_change from current_day as c left join previous_day as p @@ -83,10 +83,10 @@ with source as ( select c.blockchain , c.last_7_days_dune_index as last_7_days_dune_index_contribution - , (c.last_7_days_dune_index / t.total_cross_chain_last_7_days_dune_index) * 100 as last_7_days_dune_index_contribution_percent + , c.last_7_days_dune_index / t.total_cross_chain_last_7_days_dune_index as last_7_days_dune_index_contribution_percent , t.total_cross_chain_last_7_days_dune_index , p.previous_7_days_dune_index as previous_7_days_dune_index_contribution - , ((c.last_7_days_dune_index - coalesce(p.previous_7_days_dune_index, 0)) / coalesce(p.previous_7_days_dune_index, 1)) * 100 AS weekly_percent_change + , (c.last_7_days_dune_index - coalesce(p.previous_7_days_dune_index, 0)) / coalesce(p.previous_7_days_dune_index, 1) AS weekly_percent_change from current_week as c left join previous_week as p @@ -124,10 +124,10 @@ with source as ( select c.blockchain , c.last_30_days_dune_index as last_30_days_dune_index_contribution - , (c.last_30_days_dune_index / t.total_cross_chain_last_30_days_dune_index) * 100 as last_30_days_dune_index_contribution_percent + , c.last_30_days_dune_index / t.total_cross_chain_last_30_days_dune_index as last_30_days_dune_index_contribution_percent , t.total_cross_chain_last_30_days_dune_index , p.previous_30_days_dune_index as previous_30_days_dune_index_contribution - , ((c.last_30_days_dune_index - coalesce(p.previous_30_days_dune_index, 0)) / coalesce(p.previous_30_days_dune_index, 1)) * 100 AS monthly_percent_change + , (c.last_30_days_dune_index - coalesce(p.previous_30_days_dune_index, 0)) / coalesce(p.previous_30_days_dune_index, 1) AS monthly_percent_change from current_month as c left join previous_month as p diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/fees/_schema.yml b/dbt_subprojects/daily_spellbook/models/_metrics/fees/_schema.yml index 77eec0488ad..3658f733439 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/fees/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_metrics/fees/_schema.yml @@ -8,7 +8,7 @@ models: config: tags: ['metrics', 'fees', 'gas', 'daily'] description: "Sum of total fees spent per day across all chains available in raw gas.fees table" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -27,7 +27,7 @@ models: config: tags: ['metrics', 'fees', 'gas', 'index', 'daily'] description: "Each day, per chain, compare the adoption of activity based on total gas fees relative to the baseline expectation" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/fees/metrics_fees_index_daily.sql b/dbt_subprojects/daily_spellbook/models/_metrics/fees/metrics_fees_index_daily.sql index 0d1ba2281ab..86da1f75017 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/fees/metrics_fees_index_daily.sql +++ b/dbt_subprojects/daily_spellbook/models/_metrics/fees/metrics_fees_index_daily.sql @@ -9,7 +9,7 @@ ) }} -{% set baseline_date = '2018-01-01' %} +{% set baseline_date = '2015-08-21' %} with baseline as ( select diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/fees/metrics_gas_fees_stats.sql b/dbt_subprojects/daily_spellbook/models/_metrics/fees/metrics_gas_fees_stats.sql index 8d6eac9d5cd..ded73862c35 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/fees/metrics_gas_fees_stats.sql +++ b/dbt_subprojects/daily_spellbook/models/_metrics/fees/metrics_gas_fees_stats.sql @@ -40,9 +40,9 @@ with source as ( c.blockchain , c.last_1_days_gas_fees_usd , p.previous_1_days_gas_fees_usd - , ((c.last_1_days_gas_fees_usd - coalesce(p.previous_1_days_gas_fees_usd, 0)) / coalesce(p.previous_1_days_gas_fees_usd, 1)) * 100 AS daily_percent_change + , (c.last_1_days_gas_fees_usd - coalesce(p.previous_1_days_gas_fees_usd, 0)) / coalesce(p.previous_1_days_gas_fees_usd, 1) AS daily_percent_change , t.total_cross_chain_last_1_days_gas_fees_usd - , (c.last_1_days_gas_fees_usd / t.total_cross_chain_last_1_days_gas_fees_usd) * 100 AS percent_total_last_1_days_fees_usd + , c.last_1_days_gas_fees_usd / t.total_cross_chain_last_1_days_gas_fees_usd AS percent_total_last_1_days_fees_usd from current_day as c left join previous_day as p @@ -81,9 +81,9 @@ with source as ( c.blockchain , c.last_7_days_gas_fees_usd , p.previous_7_days_gas_fees_usd - , ((c.last_7_days_gas_fees_usd - coalesce(p.previous_7_days_gas_fees_usd, 0)) / coalesce(p.previous_7_days_gas_fees_usd, 1)) * 100 AS weekly_percent_change + , (c.last_7_days_gas_fees_usd - coalesce(p.previous_7_days_gas_fees_usd, 0)) / coalesce(p.previous_7_days_gas_fees_usd, 1) AS weekly_percent_change , t.total_cross_chain_last_7_days_gas_fees_usd - , (c.last_7_days_gas_fees_usd / t.total_cross_chain_last_7_days_gas_fees_usd) * 100 AS percent_total_last_7_days_gas_fees_usd + , c.last_7_days_gas_fees_usd / t.total_cross_chain_last_7_days_gas_fees_usd AS percent_total_last_7_days_gas_fees_usd from current_week as c left join previous_week as p @@ -122,9 +122,9 @@ with source as ( c.blockchain , c.last_30_days_gas_fees_usd , p.previous_30_days_gas_fees_usd - , ((c.last_30_days_gas_fees_usd - coalesce(p.previous_30_days_gas_fees_usd, 0)) / coalesce(p.previous_30_days_gas_fees_usd, 1)) * 100 AS monthly_percent_change + , (c.last_30_days_gas_fees_usd - coalesce(p.previous_30_days_gas_fees_usd, 0)) / coalesce(p.previous_30_days_gas_fees_usd, 1) AS monthly_percent_change , t.total_cross_chain_last_30_days_gas_fees_usd - , (c.last_30_days_gas_fees_usd / t.total_cross_chain_last_30_days_gas_fees_usd) * 100 AS percent_total_last_30_days_gas_fees_usd + , c.last_30_days_gas_fees_usd / t.total_cross_chain_last_30_days_gas_fees_usd AS percent_total_last_30_days_gas_fees_usd from current_month as c left join previous_month as p diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/transactions/_schema.yml b/dbt_subprojects/daily_spellbook/models/_metrics/transactions/_schema.yml index 497bf8391bb..5f6e1f051ca 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/transactions/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_metrics/transactions/_schema.yml @@ -8,7 +8,7 @@ models: config: tags: ['metrics', 'transactions', 'daily'] description: "Sum of total tx's per day across all chains" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -27,7 +27,7 @@ models: config: tags: ['metrics', 'transactions', 'index', 'daily'] description: "Each day, per chain, compare the adoption of total transactions relative to the baseline expectation" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_daily.sql b/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_daily.sql index da0a37f5403..a4466b4b37f 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_daily.sql +++ b/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_daily.sql @@ -34,7 +34,7 @@ with raw_tx as ( {{ ref('metrics_net_transfers') }} where 1 = 1 - and net_transfer_amount_usd >= 1 --only include tx's where transfer value is greater at least $1 + and net_transfer_amount_usd >= 1 --only include tx's where transfer value is at least $1 {% if is_incremental() %} and {{ incremental_predicate('block_date') }} {% endif %} diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_index_daily.sql b/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_index_daily.sql index df0e911a369..e49713d80e9 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_index_daily.sql +++ b/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_index_daily.sql @@ -9,7 +9,7 @@ ) }} -{% set baseline_date = '2018-01-01' %} +{% set baseline_date = '2015-08-21' %} with baseline as ( select diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_stats.sql b/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_stats.sql index 873cf7470c8..a03620af097 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_stats.sql +++ b/dbt_subprojects/daily_spellbook/models/_metrics/transactions/metrics_transactions_stats.sql @@ -40,9 +40,9 @@ with source as ( c.blockchain , c.last_1_days_tx_count , p.previous_1_days_tx_count - , ((cast(c.last_1_days_tx_count as double) - coalesce(cast(p.previous_1_days_tx_count as double), 0)) / coalesce(cast(p.previous_1_days_tx_count as double), 1)) * 100 AS daily_percent_change + , (cast(c.last_1_days_tx_count as double) - coalesce(cast(p.previous_1_days_tx_count as double), 0)) / coalesce(cast(p.previous_1_days_tx_count as double), 1) AS daily_percent_change , t.total_cross_chain_last_1_days_tx_count - , (cast(c.last_1_days_tx_count as double) / cast(t.total_cross_chain_last_1_days_tx_count as double)) * 100 AS percent_total_last_1_days_tx_count + , cast(c.last_1_days_tx_count as double) / cast(t.total_cross_chain_last_1_days_tx_count as double) AS percent_total_last_1_days_tx_count from current_day as c left join previous_day as p @@ -81,9 +81,9 @@ with source as ( c.blockchain , c.last_7_days_tx_count , p.previous_7_days_tx_count - , ((cast(c.last_7_days_tx_count as double) - coalesce(cast(p.previous_7_days_tx_count as double), 0)) / coalesce(cast(p.previous_7_days_tx_count as double), 1)) * 100 AS weekly_percent_change + , (cast(c.last_7_days_tx_count as double) - coalesce(cast(p.previous_7_days_tx_count as double), 0)) / coalesce(cast(p.previous_7_days_tx_count as double), 1) AS weekly_percent_change , t.total_cross_chain_last_7_days_tx_count - , (cast(c.last_7_days_tx_count as double) / cast(t.total_cross_chain_last_7_days_tx_count as double)) * 100 AS percent_total_last_7_days_tx_count + , cast(c.last_7_days_tx_count as double) / cast(t.total_cross_chain_last_7_days_tx_count as double) AS percent_total_last_7_days_tx_count from current_week as c left join previous_week as p @@ -122,9 +122,9 @@ with source as ( c.blockchain , c.last_30_days_tx_count , p.previous_30_days_tx_count - , ((cast(c.last_30_days_tx_count as double) - coalesce(cast(p.previous_30_days_tx_count as double), 0)) / coalesce(cast(p.previous_30_days_tx_count as double), 1)) * 100 AS monthly_percent_change + , (cast(c.last_30_days_tx_count as double) - coalesce(cast(p.previous_30_days_tx_count as double), 0)) / coalesce(cast(p.previous_30_days_tx_count as double), 1) AS monthly_percent_change , t.total_cross_chain_last_30_days_tx_count - , (cast(c.last_30_days_tx_count as double) / cast(t.total_cross_chain_last_30_days_tx_count as double)) * 100 AS percent_total_last_30_days_tx_count + , cast(c.last_30_days_tx_count as double) / cast(t.total_cross_chain_last_30_days_tx_count as double) AS percent_total_last_30_days_tx_count from current_month as c left join previous_month as p diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/transfers/_schema.yml b/dbt_subprojects/daily_spellbook/models/_metrics/transfers/_schema.yml index 64fa27c4f19..13d1207c79d 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/transfers/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_metrics/transfers/_schema.yml @@ -18,7 +18,7 @@ models: with the positive net received (aka received) it adds up to 0 since the net sent should equal the net received. For example, if I give you $1 that's -1 sent (from me) and +1 received (by you) which adds to 0. This query counts the received to show that $1 was effectively transfered." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: tags: ['metrics', 'transfers', 'daily'] description: | "Sum of total transfer amount per day across all chain." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -51,7 +51,7 @@ models: config: tags: ['metrics', 'transfers', 'index', 'daily'] description: "Each day, per chain, compare the adoption of total transfers relative to the baseline expectation" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_net_transfers.sql b/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_net_transfers.sql index 6b9769d5454..24f4b0143c6 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_net_transfers.sql +++ b/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_net_transfers.sql @@ -122,6 +122,8 @@ select , sum(net_transfer_amount_usd) as net_transfer_amount_usd from net_transfers +where + net_transfer_amount_usd > 0 group by blockchain , block_date diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_daily.sql b/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_daily.sql index 24d618872b1..5ce908bbac5 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_daily.sql +++ b/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_daily.sql @@ -19,7 +19,6 @@ from {{ ref('metrics_net_transfers') }} where 1 = 1 - and net_transfer_amount_usd > 0 {% if is_incremental() %} and {{ incremental_predicate('block_date') }} {% endif %} diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_index_daily.sql b/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_index_daily.sql index 33b6612d2ef..643e4581640 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_index_daily.sql +++ b/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_index_daily.sql @@ -9,7 +9,7 @@ ) }} -{% set baseline_date = '2018-01-01' %} +{% set baseline_date = '2015-08-21' %} with baseline as ( select diff --git a/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_stats.sql b/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_stats.sql index 8c0486d4906..dfe6afb49b5 100644 --- a/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_stats.sql +++ b/dbt_subprojects/daily_spellbook/models/_metrics/transfers/metrics_transfers_stats.sql @@ -40,9 +40,9 @@ with source as ( c.blockchain , c.last_1_days_net_transfer_amount_usd , p.previous_1_days_net_transfer_amount_usd - , ((cast(c.last_1_days_net_transfer_amount_usd as double) - coalesce(cast(p.previous_1_days_net_transfer_amount_usd as double), 0)) / coalesce(cast(p.previous_1_days_net_transfer_amount_usd as double), 1)) * 100 AS daily_percent_change + , (cast(c.last_1_days_net_transfer_amount_usd as double) - coalesce(cast(p.previous_1_days_net_transfer_amount_usd as double), 0)) / coalesce(cast(p.previous_1_days_net_transfer_amount_usd as double), 1) AS daily_percent_change , t.total_cross_chain_last_1_days_net_transfer_amount_usd - , (cast(c.last_1_days_net_transfer_amount_usd as double) / cast(t.total_cross_chain_last_1_days_net_transfer_amount_usd as double)) * 100 AS percent_total_last_1_days_net_transfer_amount_usd + , cast(c.last_1_days_net_transfer_amount_usd as double) / cast(t.total_cross_chain_last_1_days_net_transfer_amount_usd as double) AS percent_total_last_1_days_net_transfer_amount_usd from current_day as c left join previous_day as p @@ -81,9 +81,9 @@ with source as ( c.blockchain , c.last_7_days_net_transfer_amount_usd , p.previous_7_days_net_transfer_amount_usd - , ((cast(c.last_7_days_net_transfer_amount_usd as double) - coalesce(cast(p.previous_7_days_net_transfer_amount_usd as double), 0)) / coalesce(cast(p.previous_7_days_net_transfer_amount_usd as double), 1)) * 100 AS weekly_percent_change + , (cast(c.last_7_days_net_transfer_amount_usd as double) - coalesce(cast(p.previous_7_days_net_transfer_amount_usd as double), 0)) / coalesce(cast(p.previous_7_days_net_transfer_amount_usd as double), 1) AS weekly_percent_change , t.total_cross_chain_last_7_days_net_transfer_amount_usd - , (cast(c.last_7_days_net_transfer_amount_usd as double) / cast(t.total_cross_chain_last_7_days_net_transfer_amount_usd as double)) * 100 AS percent_total_last_7_days_net_transfer_amount_usd + , cast(c.last_7_days_net_transfer_amount_usd as double) / cast(t.total_cross_chain_last_7_days_net_transfer_amount_usd as double) AS percent_total_last_7_days_net_transfer_amount_usd from current_week as c left join previous_week as p @@ -122,9 +122,9 @@ with source as ( c.blockchain , c.last_30_days_net_transfer_amount_usd , p.previous_30_days_net_transfer_amount_usd - , ((cast(c.last_30_days_net_transfer_amount_usd as double) - coalesce(cast(p.previous_30_days_net_transfer_amount_usd as double), 0)) / coalesce(cast(p.previous_30_days_net_transfer_amount_usd as double), 1)) * 100 AS monthly_percent_change + , (cast(c.last_30_days_net_transfer_amount_usd as double) - coalesce(cast(p.previous_30_days_net_transfer_amount_usd as double), 0)) / coalesce(cast(p.previous_30_days_net_transfer_amount_usd as double), 1) AS monthly_percent_change , t.total_cross_chain_last_30_days_net_transfer_amount_usd - , (cast(c.last_30_days_net_transfer_amount_usd as double) / cast(t.total_cross_chain_last_30_days_net_transfer_amount_usd as double)) * 100 AS percent_total_last_30_days_net_transfer_amount_usd + , cast(c.last_30_days_net_transfer_amount_usd as double) / cast(t.total_cross_chain_last_30_days_net_transfer_amount_usd as double) AS percent_total_last_30_days_net_transfer_amount_usd from current_month as c left join previous_month as p diff --git a/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/arbitrum/gmx_v2_arbitrum_event_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/arbitrum/gmx_v2_arbitrum_event_schema.yml index ca830e9df4b..d61b2d58e13 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/arbitrum/gmx_v2_arbitrum_event_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/arbitrum/gmx_v2_arbitrum_event_schema.yml @@ -18,82 +18,82 @@ models: - &blockchain name: blockchain description: The blockchain network where the event occurred (Arbitrum) - tests: + data_tests: - not_null - &block_time name: block_time description: The timestamp of the block when the event was recorded - tests: + data_tests: - not_null - &block_date name: block_date description: The date extracted from the block timestamp, representing the day the block was created - tests: + data_tests: - not_null - &block_number name: block_number description: The block number where the event is included - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: The hash of the transaction where the event was logged - tests: + data_tests: - not_null - &index name: index description: The position of the event within the transaction - tests: + data_tests: - not_null - &contract_address name: contract_address description: The contract address associated with the event - tests: + data_tests: - not_null - &tx_from name: tx_from description: The originating address of the transaction, usually representing the sender - tests: + data_tests: - not_null - &tx_to name: tx_to description: The destination address of the transaction, representing the receiver - tests: + data_tests: - not_null - name: event_name description: The type of event recorded, always 'OrderCreated' for this model. - tests: + data_tests: - not_null - &msg_sender name: msg_sender description: The address of the sender of the message or transaction. - tests: + data_tests: - not_null - name: account description: The address associated with the order. - name: receiver description: The address designated as the receiver in the order. - tests: + data_tests: - not_null - name: callback_contract description: The contract address for callback functions. - tests: + data_tests: - not_null - name: ui_fee_receiver description: The address designated to receive UI fees. - tests: + data_tests: - not_null - name: market description: The market in which the order was created. - tests: + data_tests: - not_null - name: initial_collateral_token description: The token used as initial collateral in the order. - tests: + data_tests: - not_null - name: swap_path description: JSON array of markets through which the swap was routed. - tests: + data_tests: - not_null - &order_type name: order_type @@ -107,7 +107,7 @@ models: - LimitDecrease: Decrease position if the triggerPrice is reached and the acceptablePrice can be fulfilled. - StopLossDecrease: Decrease position if the triggerPrice is reached and the acceptablePrice can be fulfilled. - Liquidation: Allows liquidation of positions if the criteria for liquidation are met. - tests: + data_tests: - not_null - accepted_values: values: ['MarketSwap','LimitSwap','MarketIncrease','LimitIncrease','MarketDecrease','LimitDecrease','StopLossDecrease','Liquidation'] @@ -120,11 +120,11 @@ models: - &size_delta_usd name: size_delta_usd description: The change in position size in USD - tests: + data_tests: - not_null - name: initial_collateral_delta_amount description: The change in initial collateral amount. - tests: + data_tests: - not_null - &trigger_price_raw name: trigger_price_raw @@ -140,20 +140,20 @@ models: description: The adjusted acceptable price based on the index token decimals, ensuring correct scaling of the value. - name: execution_fee description: The fee paid for executing the order in native tokens - tests: + data_tests: - not_null - name: callback_gas_limit description: The gas limit set for callback functions. - tests: + data_tests: - not_null - &min_output_amount_raw name: min_output_amount_raw description: The minimum amount of output tokens expected from the order, based on the markets in the swap path. - tests: + data_tests: - not_null - name: updated_at_block description: The block number at which the order was last updated. - tests: + data_tests: - not_null - &updated_at_time name: updated_at_time @@ -161,7 +161,7 @@ models: - &is_long name: is_long description: A boolean indicating whether the position is long - tests: + data_tests: - not_null - name: should_unwrap_native_token description: Boolean indicating if the native token should be unwrapped. @@ -170,7 +170,7 @@ models: - &key name: key description: The unique identifier for the order, stored as a bytes32 value. - tests: + data_tests: - not_null - unique @@ -200,7 +200,7 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderExecuted' for this model - tests: + data_tests: - not_null - *msg_sender - *key @@ -214,7 +214,7 @@ models: The `secondary_order_type` is represented as an unsigned integer with the following possible values: - `0`: **None** - No secondary order type is applied. - `1`: **Adl (Auto-Deleveraging)** - Indicates that the order is associated with the Auto-Deleveraging mechanism. ADL is used to manage risk by automatically reducing or closing positions that are at risk of liquidation due to insufficient margin or other factors. This mechanism helps in maintaining the stability of the trading platform. - tests: + data_tests: - not_null @@ -243,7 +243,7 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderCancelled' for this model - tests: + data_tests: - not_null - *msg_sender - *key @@ -251,11 +251,11 @@ models: description: The address associated with the order - name: reason_bytes description: The reason for the cancellation in byte format. - tests: + data_tests: - not_null - name: reason description: The reason for the cancellation in string format. - tests: + data_tests: - not_null @@ -284,7 +284,7 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'MarketCreated' for this model - tests: + data_tests: - not_null - *msg_sender - name: account @@ -292,43 +292,43 @@ models: - &market_token name: market_token description: The token used to represent the market - tests: + data_tests: - not_null - unique - &index_token name: index_token description: The token used as the index in the market - tests: + data_tests: - not_null - &long_token name: long_token description: The token used for long positions in the market - tests: + data_tests: - not_null - &short_token name: short_token description: The token used for short positions in the market - tests: + data_tests: - not_null - &salt name: salt description: A unique value used to prevent hash collisions - tests: + data_tests: - not_null - &spot_only name: spot_only description: Indicates if the market is spot-only (true when index_token is the zero address) - tests: + data_tests: - not_null - &market_token_symbol name: market_token_symbol description: The symbol of the market token (hardcoded as 'GM' in this model) - tests: + data_tests: - not_null - &market_token_decimals name: market_token_decimals description: The decimal precision of the market token (hardcoded as 18 in this model) - tests: + data_tests: - not_null @@ -357,83 +357,83 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionIncrease' for this model - tests: + data_tests: - not_null - *msg_sender - name: account description: The address associated with the event - name: market description: The market associated with the position increase - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position increase - tests: + data_tests: - not_null - &size_in_usd name: size_in_usd description: The size of the position in USD - tests: + data_tests: - not_null - &size_in_tokens name: size_in_tokens description: The size of the position in index tokens - tests: + data_tests: - not_null - name: collateral_amount description: The amount of collateral in the position after it was increased - tests: + data_tests: - not_null - &borrowing_factor name: borrowing_factor description: The cumulative borrowing factor applied to the position over time - tests: + data_tests: - not_null - &funding_fee_amount_per_size name: funding_fee_amount_per_size description: The cumulative funding fee amount per size - tests: + data_tests: - not_null - &long_token_claimable_funding_amount_per_size name: long_token_claimable_funding_amount_per_size description: The cumulative claimable funding amount per size for long tokens - tests: + data_tests: - not_null - &short_token_claimable_funding_amount_per_size name: short_token_claimable_funding_amount_per_size description: The cumulative claimable funding amount per size for short tokens - tests: + data_tests: - not_null - &execution_price name: execution_price description: The execution price of the position after price impact - tests: + data_tests: - not_null - &index_token_price_max name: index_token_price_max description: The maximum price of the index token during the event - tests: + data_tests: - not_null - &index_token_price_min name: index_token_price_min description: The minimum price of the index token during the event - tests: + data_tests: - not_null - &collateral_token_price_max name: collateral_token_price_max description: The maximum price of the collateral token during the event - tests: + data_tests: - not_null - &collateral_token_price_min name: collateral_token_price_min description: The minimum price of the collateral token during the event - tests: + data_tests: - not_null - *size_delta_usd - &size_delta_in_tokens name: size_delta_in_tokens description: The change in position size in tokens - tests: + data_tests: - not_null - *order_type - name: increased_at_time @@ -441,23 +441,23 @@ models: - &collateral_delta_amount name: collateral_delta_amount description: The change in collateral amount - tests: + data_tests: - not_null - &price_impact_usd name: price_impact_usd description: The impact on price in USD - tests: + data_tests: - not_null - &price_impact_amount name: price_impact_amount description: The impact on price in index token amount - tests: + data_tests: - not_null - *is_long - &order_key name: order_key description: A unique key identifying the order - tests: + data_tests: - not_null - unique - &position_key @@ -490,24 +490,24 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionDecrease' for this model - tests: + data_tests: - not_null - *msg_sender - name: account description: The address associated with the event - name: market description: The market associated with the position decrease - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position decrease - tests: + data_tests: - not_null - *size_in_usd - *size_in_tokens - name: collateral_amount description: The amount of collateral in the position after it was decreased - tests: + data_tests: - not_null - *borrowing_factor - *funding_fee_amount_per_size @@ -524,7 +524,7 @@ models: - &impact_diff_usd name: impact_diff_usd description: The difference in price impact in USD compared to a baseline or previous value, considering the maximum price impact limit - tests: + data_tests: - not_null - *order_type - &decreased_at_time @@ -534,12 +534,12 @@ models: - &base_pnl_usd name: base_pnl_usd description: The base profit and loss in USD for the position - tests: + data_tests: - not_null - &uncapped_base_pnl_usd name: uncapped_base_pnl_usd description: The uncapped base profit and loss in USD, without any limits or caps applied - tests: + data_tests: - not_null - *is_long - *order_key @@ -571,175 +571,175 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionFeesCollected' for this model - tests: + data_tests: - not_null - *msg_sender - name: market description: The market associated with the position fees collected event - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position fees collected event - tests: + data_tests: - not_null - &affiliate name: affiliate description: The affiliate address - tests: + data_tests: - not_null - &trader name: trader description: The trader's address - tests: + data_tests: - not_null - &ui_fee_receiver name: ui_fee_receiver description: The address receiving the UI fee - tests: + data_tests: - not_null - *collateral_token_price_min - *collateral_token_price_max - &trade_size_usd name: trade_size_usd description: The size of the trade in USD - tests: + data_tests: - not_null - &total_rebate_factor name: total_rebate_factor description: The total rebate factor for the position - tests: + data_tests: - not_null - &trader_discount_factor name: trader_discount_factor description: The discount factor applied to the trader - tests: + data_tests: - not_null - &total_rebate_amount name: total_rebate_amount description: The total amount of rebate given - tests: + data_tests: - not_null - &trader_discount_amount name: trader_discount_amount description: The amount of discount given to the trader - tests: + data_tests: - not_null - &affiliate_reward_amount name: affiliate_reward_amount description: The reward amount given to the affiliate - tests: + data_tests: - not_null - &funding_fee_amount name: funding_fee_amount description: The amount of funding fee charged - tests: + data_tests: - not_null - &claimable_long_token_amount name: claimable_long_token_amount description: The amount of long tokens claimable - tests: + data_tests: - not_null - &claimable_short_token_amount name: claimable_short_token_amount description: The amount of short tokens claimable - tests: + data_tests: - not_null - &latest_funding_fee_amount_per_size name: latest_funding_fee_amount_per_size description: The latest funding fee amount per size - tests: + data_tests: - not_null - &latest_long_token_claimable_funding_amount_per_size name: latest_long_token_claimable_funding_amount_per_size description: The latest claimable long token funding amount per size - tests: + data_tests: - not_null - &latest_short_token_claimable_funding_amount_per_size name: latest_short_token_claimable_funding_amount_per_size description: The latest claimable short token funding amount per size - tests: + data_tests: - not_null - &borrowing_fee_usd name: borrowing_fee_usd description: The borrowing fee amount in USD - tests: + data_tests: - not_null - &borrowing_fee_amount name: borrowing_fee_amount description: The amount of borrowing fee charged - tests: + data_tests: - not_null - &borrowing_fee_receiver_factor name: borrowing_fee_receiver_factor description: The factor used to calculate the borrowing fee amount for the fee receiver - tests: + data_tests: - not_null - &borrowing_fee_amount_for_fee_receiver name: borrowing_fee_amount_for_fee_receiver description: The amount of borrowing fee allocated for the fee receiver - tests: + data_tests: - not_null - &position_fee_factor name: position_fee_factor description: The fee factor for the position - tests: + data_tests: - not_null - &protocol_fee_amount name: protocol_fee_amount description: The amount of protocol fee charged - tests: + data_tests: - not_null - &position_fee_receiver_factor name: position_fee_receiver_factor description: The factor used to calculate the position fee amount for the receiver - tests: + data_tests: - not_null - &fee_receiver_amount name: fee_receiver_amount description: The amount of fee received by the fee receiver - tests: + data_tests: - not_null - &fee_amount_for_pool name: fee_amount_for_pool description: The amount of fee allocated for the pool - tests: + data_tests: - not_null - &position_fee_amount_for_pool name: position_fee_amount_for_pool description: The amount of position fee allocated for the pool - tests: + data_tests: - not_null - &position_fee_amount name: position_fee_amount description: The total position fee amount - tests: + data_tests: - not_null - &total_cost_amount name: total_cost_amount description: The total cost amount for the position - tests: + data_tests: - not_null - &ui_fee_receiver_factor name: ui_fee_receiver_factor description: The factor used to calculate the UI fee amount for the receiver - tests: + data_tests: - not_null - &ui_fee_amount name: ui_fee_amount description: The total amount of UI fee collected - tests: + data_tests: - not_null - &is_increase name: is_increase description: Indicates whether the position is increased (true) or decreased (false) - tests: + data_tests: - not_null - *order_key - *position_key - &referral_code name: referral_code description: The referral code associated with the position - tests: + data_tests: - not_null @@ -768,16 +768,16 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionFeesInfo' for this model - tests: + data_tests: - not_null - *msg_sender - name: market description: The market associated with the position fees info event - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position fees info event - tests: + data_tests: - not_null - *affiliate - *trader @@ -828,7 +828,7 @@ models: Extracts and decodes the `OrderFrozen` event log data from the Arbitrum blockchain. This model processes log entries related to frozen orders, extracting key variables such as account addresses, event keys, and strings representing the reason for the order being frozen. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -846,22 +846,22 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderFrozen' for this model - tests: + data_tests: - not_null - *msg_sender - name: key description: The key associated with the frozen order. Extracted as a bytes32 value - tests: + data_tests: - not_null - name: account description: The address associated with the order - name: reason_bytes description: The reason for the order being frozen in byte format. - tests: + data_tests: - not_null - name: reason description: The reason for the order being frozen in string format. - tests: + data_tests: - not_null @@ -890,16 +890,16 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderUpdated' for this model. - tests: + data_tests: - not_null - *msg_sender - name: key description: The key associated with the updated order. Extracted as a bytes32 value - tests: + data_tests: - not_null - name: market description: The market in which the order was updated. - tests: + data_tests: - not_null - name: account description: The address associated with the order. diff --git a/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/avalanche_c/gmx_v2_avalanche_c_event_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/avalanche_c/gmx_v2_avalanche_c_event_schema.yml index 0147bd3fa83..d43cb91644a 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/avalanche_c/gmx_v2_avalanche_c_event_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/avalanche_c/gmx_v2_avalanche_c_event_schema.yml @@ -18,82 +18,82 @@ models: - &blockchain name: blockchain description: The blockchain network where the event occurred (Avalanche) - tests: + data_tests: - not_null - &block_time name: block_time description: The timestamp of the block when the event was recorded - tests: + data_tests: - not_null - &block_date name: block_date description: The date extracted from the block timestamp, representing the day the block was created - tests: + data_tests: - not_null - &block_number name: block_number description: The block number where the event is included - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: The hash of the transaction where the event was logged - tests: + data_tests: - not_null - &index name: index description: The position of the event within the transaction - tests: + data_tests: - not_null - &contract_address name: contract_address description: The contract address associated with the event - tests: + data_tests: - not_null - &tx_from name: tx_from description: The originating address of the transaction, usually representing the sender - tests: + data_tests: - not_null - &tx_to name: tx_to description: The destination address of the transaction, representing the receiver - tests: + data_tests: - not_null - name: event_name description: The type of event recorded, always 'OrderCreated' for this model. - tests: + data_tests: - not_null - &msg_sender name: msg_sender description: The address of the sender of the message or transaction. - tests: + data_tests: - not_null - name: account description: The address associated with the order. - name: receiver description: The address designated as the receiver in the order. - tests: + data_tests: - not_null - name: callback_contract description: The contract address for callback functions. - tests: + data_tests: - not_null - name: ui_fee_receiver description: The address designated to receive UI fees. - tests: + data_tests: - not_null - name: market description: The market in which the order was created. - tests: + data_tests: - not_null - name: initial_collateral_token description: The token used as initial collateral in the order. - tests: + data_tests: - not_null - name: swap_path description: JSON array of markets through which the swap was routed. - tests: + data_tests: - not_null - &order_type name: order_type @@ -107,7 +107,7 @@ models: - LimitDecrease: Decrease position if the triggerPrice is reached and the acceptablePrice can be fulfilled. - StopLossDecrease: Decrease position if the triggerPrice is reached and the acceptablePrice can be fulfilled. - Liquidation: Allows liquidation of positions if the criteria for liquidation are met. - tests: + data_tests: - not_null - accepted_values: values: ['MarketSwap','LimitSwap','MarketIncrease','LimitIncrease','MarketDecrease','LimitDecrease','StopLossDecrease','Liquidation'] @@ -120,11 +120,11 @@ models: - &size_delta_usd name: size_delta_usd description: The change in position size in USD - tests: + data_tests: - not_null - name: initial_collateral_delta_amount description: The change in initial collateral amount. - tests: + data_tests: - not_null - &trigger_price_raw name: trigger_price_raw @@ -140,20 +140,20 @@ models: description: The adjusted acceptable price based on the index token decimals, ensuring correct scaling of the value. - name: execution_fee description: The fee paid for executing the order in native tokens - tests: + data_tests: - not_null - name: callback_gas_limit description: The gas limit set for callback functions. - tests: + data_tests: - not_null - &min_output_amount_raw name: min_output_amount_raw description: The minimum amount of output tokens expected from the order, based on the markets in the swap path. - tests: + data_tests: - not_null - name: updated_at_block description: The block number at which the order was last updated. - tests: + data_tests: - not_null - &updated_at_time name: updated_at_time @@ -161,7 +161,7 @@ models: - &is_long name: is_long description: A boolean indicating whether the position is long - tests: + data_tests: - not_null - name: should_unwrap_native_token description: Boolean indicating if the native token should be unwrapped. @@ -170,7 +170,7 @@ models: - &key name: key description: The unique identifier for the order, stored as a bytes32 value. - tests: + data_tests: - not_null - unique @@ -200,7 +200,7 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderExecuted' for this model - tests: + data_tests: - not_null - *msg_sender - *key @@ -214,7 +214,7 @@ models: The `secondary_order_type` is represented as an unsigned integer with the following possible values: - `0`: **None** - No secondary order type is applied. - `1`: **Adl (Auto-Deleveraging)** - Indicates that the order is associated with the Auto-Deleveraging mechanism. ADL is used to manage risk by automatically reducing or closing positions that are at risk of liquidation due to insufficient margin or other factors. This mechanism helps in maintaining the stability of the trading platform. - tests: + data_tests: - not_null @@ -243,7 +243,7 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderCancelled' for this model - tests: + data_tests: - not_null - *msg_sender - *key @@ -251,11 +251,11 @@ models: description: The address associated with the order - name: reason_bytes description: The reason for the cancellation in byte format. - tests: + data_tests: - not_null - name: reason description: The reason for the cancellation in string format. - tests: + data_tests: - not_null @@ -284,7 +284,7 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'MarketCreated' for this model - tests: + data_tests: - not_null - *msg_sender - name: account @@ -292,43 +292,43 @@ models: - &market_token name: market_token description: The token used to represent the market - tests: + data_tests: - not_null - unique - &index_token name: index_token description: The token used as the index in the market - tests: + data_tests: - not_null - &long_token name: long_token description: The token used for long positions in the market - tests: + data_tests: - not_null - &short_token name: short_token description: The token used for short positions in the market - tests: + data_tests: - not_null - &salt name: salt description: A unique value used to prevent hash collisions - tests: + data_tests: - not_null - &spot_only name: spot_only description: Indicates if the market is spot-only (true when index_token is the zero address) - tests: + data_tests: - not_null - &market_token_symbol name: market_token_symbol description: The symbol of the market token (hardcoded as 'GM' in this model) - tests: + data_tests: - not_null - &market_token_decimals name: market_token_decimals description: The decimal precision of the market token (hardcoded as 18 in this model) - tests: + data_tests: - not_null @@ -357,83 +357,83 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionIncrease' for this model - tests: + data_tests: - not_null - *msg_sender - name: account description: The address associated with the event - name: market description: The market associated with the position increase - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position increase - tests: + data_tests: - not_null - &size_in_usd name: size_in_usd description: The size of the position in USD - tests: + data_tests: - not_null - &size_in_tokens name: size_in_tokens description: The size of the position in index tokens - tests: + data_tests: - not_null - name: collateral_amount description: The amount of collateral in the position after it was increased - tests: + data_tests: - not_null - &borrowing_factor name: borrowing_factor description: The cumulative borrowing factor applied to the position over time - tests: + data_tests: - not_null - &funding_fee_amount_per_size name: funding_fee_amount_per_size description: The cumulative funding fee amount per size - tests: + data_tests: - not_null - &long_token_claimable_funding_amount_per_size name: long_token_claimable_funding_amount_per_size description: The cumulative claimable funding amount per size for long tokens - tests: + data_tests: - not_null - &short_token_claimable_funding_amount_per_size name: short_token_claimable_funding_amount_per_size description: The cumulative claimable funding amount per size for short tokens - tests: + data_tests: - not_null - &execution_price name: execution_price description: The execution price of the position after price impact - tests: + data_tests: - not_null - &index_token_price_max name: index_token_price_max description: The maximum price of the index token during the event - tests: + data_tests: - not_null - &index_token_price_min name: index_token_price_min description: The minimum price of the index token during the event - tests: + data_tests: - not_null - &collateral_token_price_max name: collateral_token_price_max description: The maximum price of the collateral token during the event - tests: + data_tests: - not_null - &collateral_token_price_min name: collateral_token_price_min description: The minimum price of the collateral token during the event - tests: + data_tests: - not_null - *size_delta_usd - &size_delta_in_tokens name: size_delta_in_tokens description: The change in position size in tokens - tests: + data_tests: - not_null - *order_type - name: increased_at_time @@ -441,23 +441,23 @@ models: - &collateral_delta_amount name: collateral_delta_amount description: The change in collateral amount - tests: + data_tests: - not_null - &price_impact_usd name: price_impact_usd description: The impact on price in USD - tests: + data_tests: - not_null - &price_impact_amount name: price_impact_amount description: The impact on price in index token amount - tests: + data_tests: - not_null - *is_long - &order_key name: order_key description: A unique key identifying the order - tests: + data_tests: - not_null - unique - &position_key @@ -490,24 +490,24 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionDecrease' for this model - tests: + data_tests: - not_null - *msg_sender - name: account description: The address associated with the event - name: market description: The market associated with the position decrease - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position decrease - tests: + data_tests: - not_null - *size_in_usd - *size_in_tokens - name: collateral_amount description: The amount of collateral in the position after it was decreased - tests: + data_tests: - not_null - *borrowing_factor - *funding_fee_amount_per_size @@ -524,7 +524,7 @@ models: - &impact_diff_usd name: impact_diff_usd description: The difference in price impact in USD compared to a baseline or previous value, considering the maximum price impact limit - tests: + data_tests: - not_null - *order_type - &decreased_at_time @@ -534,12 +534,12 @@ models: - &base_pnl_usd name: base_pnl_usd description: The base profit and loss in USD for the position - tests: + data_tests: - not_null - &uncapped_base_pnl_usd name: uncapped_base_pnl_usd description: The uncapped base profit and loss in USD, without any limits or caps applied - tests: + data_tests: - not_null - *is_long - *order_key @@ -571,175 +571,175 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionFeesCollected' for this model - tests: + data_tests: - not_null - *msg_sender - name: market description: The market associated with the position fees collected event - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position fees collected event - tests: + data_tests: - not_null - &affiliate name: affiliate description: The affiliate address - tests: + data_tests: - not_null - &trader name: trader description: The trader's address - tests: + data_tests: - not_null - &ui_fee_receiver name: ui_fee_receiver description: The address receiving the UI fee - tests: + data_tests: - not_null - *collateral_token_price_min - *collateral_token_price_max - &trade_size_usd name: trade_size_usd description: The size of the trade in USD - tests: + data_tests: - not_null - &total_rebate_factor name: total_rebate_factor description: The total rebate factor for the position - tests: + data_tests: - not_null - &trader_discount_factor name: trader_discount_factor description: The discount factor applied to the trader - tests: + data_tests: - not_null - &total_rebate_amount name: total_rebate_amount description: The total amount of rebate given - tests: + data_tests: - not_null - &trader_discount_amount name: trader_discount_amount description: The amount of discount given to the trader - tests: + data_tests: - not_null - &affiliate_reward_amount name: affiliate_reward_amount description: The reward amount given to the affiliate - tests: + data_tests: - not_null - &funding_fee_amount name: funding_fee_amount description: The amount of funding fee charged - tests: + data_tests: - not_null - &claimable_long_token_amount name: claimable_long_token_amount description: The amount of long tokens claimable - tests: + data_tests: - not_null - &claimable_short_token_amount name: claimable_short_token_amount description: The amount of short tokens claimable - tests: + data_tests: - not_null - &latest_funding_fee_amount_per_size name: latest_funding_fee_amount_per_size description: The latest funding fee amount per size - tests: + data_tests: - not_null - &latest_long_token_claimable_funding_amount_per_size name: latest_long_token_claimable_funding_amount_per_size description: The latest claimable long token funding amount per size - tests: + data_tests: - not_null - &latest_short_token_claimable_funding_amount_per_size name: latest_short_token_claimable_funding_amount_per_size description: The latest claimable short token funding amount per size - tests: + data_tests: - not_null - &borrowing_fee_usd name: borrowing_fee_usd description: The borrowing fee amount in USD - tests: + data_tests: - not_null - &borrowing_fee_amount name: borrowing_fee_amount description: The amount of borrowing fee charged - tests: + data_tests: - not_null - &borrowing_fee_receiver_factor name: borrowing_fee_receiver_factor description: The factor used to calculate the borrowing fee amount for the fee receiver - tests: + data_tests: - not_null - &borrowing_fee_amount_for_fee_receiver name: borrowing_fee_amount_for_fee_receiver description: The amount of borrowing fee allocated for the fee receiver - tests: + data_tests: - not_null - &position_fee_factor name: position_fee_factor description: The fee factor for the position - tests: + data_tests: - not_null - &protocol_fee_amount name: protocol_fee_amount description: The amount of protocol fee charged - tests: + data_tests: - not_null - &position_fee_receiver_factor name: position_fee_receiver_factor description: The factor used to calculate the position fee amount for the receiver - tests: + data_tests: - not_null - &fee_receiver_amount name: fee_receiver_amount description: The amount of fee received by the fee receiver - tests: + data_tests: - not_null - &fee_amount_for_pool name: fee_amount_for_pool description: The amount of fee allocated for the pool - tests: + data_tests: - not_null - &position_fee_amount_for_pool name: position_fee_amount_for_pool description: The amount of position fee allocated for the pool - tests: + data_tests: - not_null - &position_fee_amount name: position_fee_amount description: The total position fee amount - tests: + data_tests: - not_null - &total_cost_amount name: total_cost_amount description: The total cost amount for the position - tests: + data_tests: - not_null - &ui_fee_receiver_factor name: ui_fee_receiver_factor description: The factor used to calculate the UI fee amount for the receiver - tests: + data_tests: - not_null - &ui_fee_amount name: ui_fee_amount description: The total amount of UI fee collected - tests: + data_tests: - not_null - &is_increase name: is_increase description: Indicates whether the position is increased (true) or decreased (false) - tests: + data_tests: - not_null - *order_key - *position_key - &referral_code name: referral_code description: The referral code associated with the position - tests: + data_tests: - not_null @@ -768,16 +768,16 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionFeesInfo' for this model - tests: + data_tests: - not_null - *msg_sender - name: market description: The market associated with the position fees info event - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position fees info event - tests: + data_tests: - not_null - *affiliate - *trader @@ -828,7 +828,7 @@ models: Extracts and decodes the `OrderFrozen` event log data from the Avalanche blockchain. This model processes log entries related to frozen orders, extracting key variables such as account addresses, event keys, and strings representing the reason for the order being frozen. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -846,22 +846,22 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderFrozen' for this model - tests: + data_tests: - not_null - *msg_sender - name: key description: The key associated with the frozen order. Extracted as a bytes32 value - tests: + data_tests: - not_null - name: account description: The address associated with the order - name: reason_bytes description: The reason for the order being frozen in byte format. - tests: + data_tests: - not_null - name: reason description: The reason for the order being frozen in string format. - tests: + data_tests: - not_null @@ -890,16 +890,16 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderUpdated' for this model. - tests: + data_tests: - not_null - *msg_sender - name: key description: The key associated with the updated order. Extracted as a bytes32 value - tests: + data_tests: - not_null - name: market description: The market in which the order was updated. - tests: + data_tests: - not_null - name: account description: The address associated with the order. diff --git a/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/gmx_v2_event_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/gmx_v2_event_schema.yml index 58629caf6ac..bbe86ebd151 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/gmx_v2_event_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/gmx/event/gmx_v2_event_schema.yml @@ -18,82 +18,82 @@ models: - &blockchain name: blockchain description: The blockchain network where the event occurred - tests: + data_tests: - not_null - &block_time name: block_time description: The timestamp of the block when the event was recorded - tests: + data_tests: - not_null - &block_date name: block_date description: The date extracted from the block timestamp, representing the day the block was created - tests: + data_tests: - not_null - &block_number name: block_number description: The block number where the event is included - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: The hash of the transaction where the event was logged - tests: + data_tests: - not_null - &index name: index description: The position of the event within the transaction - tests: + data_tests: - not_null - &contract_address name: contract_address description: The contract address associated with the event - tests: + data_tests: - not_null - &tx_from name: tx_from description: The originating address of the transaction, usually representing the sender - tests: + data_tests: - not_null - &tx_to name: tx_to description: The destination address of the transaction, representing the receiver - tests: + data_tests: - not_null - name: event_name description: The type of event recorded, always 'OrderCreated' for this model. - tests: + data_tests: - not_null - &msg_sender name: msg_sender description: The address of the sender of the message or transaction. - tests: + data_tests: - not_null - name: account description: The address associated with the order. - name: receiver description: The address designated as the receiver in the order. - tests: + data_tests: - not_null - name: callback_contract description: The contract address for callback functions. - tests: + data_tests: - not_null - name: ui_fee_receiver description: The address designated to receive UI fees. - tests: + data_tests: - not_null - name: market description: The market in which the order was created. - tests: + data_tests: - not_null - name: initial_collateral_token description: The token used as initial collateral in the order. - tests: + data_tests: - not_null - name: swap_path description: JSON array of markets through which the swap was routed. - tests: + data_tests: - not_null - &order_type name: order_type @@ -107,7 +107,7 @@ models: - LimitDecrease: Decrease position if the triggerPrice is reached and the acceptablePrice can be fulfilled. - StopLossDecrease: Decrease position if the triggerPrice is reached and the acceptablePrice can be fulfilled. - Liquidation: Allows liquidation of positions if the criteria for liquidation are met. - tests: + data_tests: - not_null - accepted_values: values: ['MarketSwap','LimitSwap','MarketIncrease','LimitIncrease','MarketDecrease','LimitDecrease','StopLossDecrease','Liquidation'] @@ -120,11 +120,11 @@ models: - &size_delta_usd name: size_delta_usd description: The change in position size in USD - tests: + data_tests: - not_null - name: initial_collateral_delta_amount description: The change in initial collateral amount. - tests: + data_tests: - not_null - &trigger_price_raw name: trigger_price_raw @@ -140,20 +140,20 @@ models: description: The adjusted acceptable price based on the index token decimals, ensuring correct scaling of the value. - name: execution_fee description: The fee paid for executing the order in native tokens - tests: + data_tests: - not_null - name: callback_gas_limit description: The gas limit set for callback functions. - tests: + data_tests: - not_null - &min_output_amount_raw name: min_output_amount_raw description: The minimum amount of output tokens expected from the order, based on the markets in the swap path. - tests: + data_tests: - not_null - name: updated_at_block description: The block number at which the order was last updated. - tests: + data_tests: - not_null - &updated_at_time name: updated_at_time @@ -161,7 +161,7 @@ models: - &is_long name: is_long description: A boolean indicating whether the position is long - tests: + data_tests: - not_null - name: should_unwrap_native_token description: Boolean indicating if the native token should be unwrapped. @@ -170,7 +170,7 @@ models: - &key name: key description: The unique identifier for the order, stored as a bytes32 value. - tests: + data_tests: - not_null - unique @@ -200,7 +200,7 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderExecuted' for this model - tests: + data_tests: - not_null - *msg_sender - *key @@ -214,7 +214,7 @@ models: The `secondary_order_type` is represented as an unsigned integer with the following possible values: - `0`: **None** - No secondary order type is applied. - `1`: **Adl (Auto-Deleveraging)** - Indicates that the order is associated with the Auto-Deleveraging mechanism. ADL is used to manage risk by automatically reducing or closing positions that are at risk of liquidation due to insufficient margin or other factors. This mechanism helps in maintaining the stability of the trading platform. - tests: + data_tests: - not_null @@ -243,7 +243,7 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderCancelled' for this model - tests: + data_tests: - not_null - *msg_sender - *key @@ -251,11 +251,11 @@ models: description: The address associated with the order - name: reason_bytes description: The reason for the cancellation in byte format. - tests: + data_tests: - not_null - name: reason description: The reason for the cancellation in string format. - tests: + data_tests: - not_null @@ -284,7 +284,7 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'MarketCreated' for this model - tests: + data_tests: - not_null - *msg_sender - name: account @@ -292,43 +292,43 @@ models: - &market_token name: market_token description: The token used to represent the market - tests: + data_tests: - not_null - unique - &index_token name: index_token description: The token used as the index in the market - tests: + data_tests: - not_null - &long_token name: long_token description: The token used for long positions in the market - tests: + data_tests: - not_null - &short_token name: short_token description: The token used for short positions in the market - tests: + data_tests: - not_null - &salt name: salt description: A unique value used to prevent hash collisions - tests: + data_tests: - not_null - &spot_only name: spot_only description: Indicates if the market is spot-only (true when index_token is the zero address) - tests: + data_tests: - not_null - &market_token_symbol name: market_token_symbol description: The symbol of the market token (hardcoded as 'GM' in this model) - tests: + data_tests: - not_null - &market_token_decimals name: market_token_decimals description: The decimal precision of the market token (hardcoded as 18 in this model) - tests: + data_tests: - not_null @@ -357,83 +357,83 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionIncrease' for this model - tests: + data_tests: - not_null - *msg_sender - name: account description: The address associated with the event - name: market description: The market associated with the position increase - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position increase - tests: + data_tests: - not_null - &size_in_usd name: size_in_usd description: The size of the position in USD - tests: + data_tests: - not_null - &size_in_tokens name: size_in_tokens description: The size of the position in index tokens - tests: + data_tests: - not_null - name: collateral_amount description: The amount of collateral in the position after it was increased - tests: + data_tests: - not_null - &borrowing_factor name: borrowing_factor description: The cumulative borrowing factor applied to the position over time - tests: + data_tests: - not_null - &funding_fee_amount_per_size name: funding_fee_amount_per_size description: The cumulative funding fee amount per size - tests: + data_tests: - not_null - &long_token_claimable_funding_amount_per_size name: long_token_claimable_funding_amount_per_size description: The cumulative claimable funding amount per size for long tokens - tests: + data_tests: - not_null - &short_token_claimable_funding_amount_per_size name: short_token_claimable_funding_amount_per_size description: The cumulative claimable funding amount per size for short tokens - tests: + data_tests: - not_null - &execution_price name: execution_price description: The execution price of the position after price impact - tests: + data_tests: - not_null - &index_token_price_max name: index_token_price_max description: The maximum price of the index token during the event - tests: + data_tests: - not_null - &index_token_price_min name: index_token_price_min description: The minimum price of the index token during the event - tests: + data_tests: - not_null - &collateral_token_price_max name: collateral_token_price_max description: The maximum price of the collateral token during the event - tests: + data_tests: - not_null - &collateral_token_price_min name: collateral_token_price_min description: The minimum price of the collateral token during the event - tests: + data_tests: - not_null - *size_delta_usd - &size_delta_in_tokens name: size_delta_in_tokens description: The change in position size in tokens - tests: + data_tests: - not_null - *order_type - name: increased_at_time @@ -441,23 +441,23 @@ models: - &collateral_delta_amount name: collateral_delta_amount description: The change in collateral amount - tests: + data_tests: - not_null - &price_impact_usd name: price_impact_usd description: The impact on price in USD - tests: + data_tests: - not_null - &price_impact_amount name: price_impact_amount description: The impact on price in index token amount - tests: + data_tests: - not_null - *is_long - &order_key name: order_key description: A unique key identifying the order - tests: + data_tests: - not_null - unique - &position_key @@ -490,24 +490,24 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionDecrease' for this model - tests: + data_tests: - not_null - *msg_sender - name: account description: The address associated with the event - name: market description: The market associated with the position decrease - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position decrease - tests: + data_tests: - not_null - *size_in_usd - *size_in_tokens - name: collateral_amount description: The amount of collateral in the position after it was decreased - tests: + data_tests: - not_null - *borrowing_factor - *funding_fee_amount_per_size @@ -524,7 +524,7 @@ models: - &impact_diff_usd name: impact_diff_usd description: The difference in price impact in USD compared to a baseline or previous value, considering the maximum price impact limit - tests: + data_tests: - not_null - *order_type - &decreased_at_time @@ -534,12 +534,12 @@ models: - &base_pnl_usd name: base_pnl_usd description: The base profit and loss in USD for the position - tests: + data_tests: - not_null - &uncapped_base_pnl_usd name: uncapped_base_pnl_usd description: The uncapped base profit and loss in USD, without any limits or caps applied - tests: + data_tests: - not_null - *is_long - *order_key @@ -571,175 +571,175 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionFeesCollected' for this model - tests: + data_tests: - not_null - *msg_sender - name: market description: The market associated with the position fees collected event - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position fees collected event - tests: + data_tests: - not_null - &affiliate name: affiliate description: The affiliate address - tests: + data_tests: - not_null - &trader name: trader description: The trader's address - tests: + data_tests: - not_null - &ui_fee_receiver name: ui_fee_receiver description: The address receiving the UI fee - tests: + data_tests: - not_null - *collateral_token_price_min - *collateral_token_price_max - &trade_size_usd name: trade_size_usd description: The size of the trade in USD - tests: + data_tests: - not_null - &total_rebate_factor name: total_rebate_factor description: The total rebate factor for the position - tests: + data_tests: - not_null - &trader_discount_factor name: trader_discount_factor description: The discount factor applied to the trader - tests: + data_tests: - not_null - &total_rebate_amount name: total_rebate_amount description: The total amount of rebate given - tests: + data_tests: - not_null - &trader_discount_amount name: trader_discount_amount description: The amount of discount given to the trader - tests: + data_tests: - not_null - &affiliate_reward_amount name: affiliate_reward_amount description: The reward amount given to the affiliate - tests: + data_tests: - not_null - &funding_fee_amount name: funding_fee_amount description: The amount of funding fee charged - tests: + data_tests: - not_null - &claimable_long_token_amount name: claimable_long_token_amount description: The amount of long tokens claimable - tests: + data_tests: - not_null - &claimable_short_token_amount name: claimable_short_token_amount description: The amount of short tokens claimable - tests: + data_tests: - not_null - &latest_funding_fee_amount_per_size name: latest_funding_fee_amount_per_size description: The latest funding fee amount per size - tests: + data_tests: - not_null - &latest_long_token_claimable_funding_amount_per_size name: latest_long_token_claimable_funding_amount_per_size description: The latest claimable long token funding amount per size - tests: + data_tests: - not_null - &latest_short_token_claimable_funding_amount_per_size name: latest_short_token_claimable_funding_amount_per_size description: The latest claimable short token funding amount per size - tests: + data_tests: - not_null - &borrowing_fee_usd name: borrowing_fee_usd description: The borrowing fee amount in USD - tests: + data_tests: - not_null - &borrowing_fee_amount name: borrowing_fee_amount description: The amount of borrowing fee charged - tests: + data_tests: - not_null - &borrowing_fee_receiver_factor name: borrowing_fee_receiver_factor description: The factor used to calculate the borrowing fee amount for the fee receiver - tests: + data_tests: - not_null - &borrowing_fee_amount_for_fee_receiver name: borrowing_fee_amount_for_fee_receiver description: The amount of borrowing fee allocated for the fee receiver - tests: + data_tests: - not_null - &position_fee_factor name: position_fee_factor description: The fee factor for the position - tests: + data_tests: - not_null - &protocol_fee_amount name: protocol_fee_amount description: The amount of protocol fee charged - tests: + data_tests: - not_null - &position_fee_receiver_factor name: position_fee_receiver_factor description: The factor used to calculate the position fee amount for the receiver - tests: + data_tests: - not_null - &fee_receiver_amount name: fee_receiver_amount description: The amount of fee received by the fee receiver - tests: + data_tests: - not_null - &fee_amount_for_pool name: fee_amount_for_pool description: The amount of fee allocated for the pool - tests: + data_tests: - not_null - &position_fee_amount_for_pool name: position_fee_amount_for_pool description: The amount of position fee allocated for the pool - tests: + data_tests: - not_null - &position_fee_amount name: position_fee_amount description: The total position fee amount - tests: + data_tests: - not_null - &total_cost_amount name: total_cost_amount description: The total cost amount for the position - tests: + data_tests: - not_null - &ui_fee_receiver_factor name: ui_fee_receiver_factor description: The factor used to calculate the UI fee amount for the receiver - tests: + data_tests: - not_null - &ui_fee_amount name: ui_fee_amount description: The total amount of UI fee collected - tests: + data_tests: - not_null - &is_increase name: is_increase description: Indicates whether the position is increased (true) or decreased (false) - tests: + data_tests: - not_null - *order_key - *position_key - &referral_code name: referral_code description: The referral code associated with the position - tests: + data_tests: - not_null @@ -768,16 +768,16 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'PositionFeesInfo' for this model - tests: + data_tests: - not_null - *msg_sender - name: market description: The market associated with the position fees info event - tests: + data_tests: - not_null - name: collateral_token description: The collateral token used in the position fees info event - tests: + data_tests: - not_null - *affiliate - *trader @@ -828,7 +828,7 @@ models: Extracts and decodes the `OrderFrozen` event log data from the Arbitrum and Avalanche blockchains. This model processes log entries related to frozen orders, extracting key variables such as account addresses, event keys, and strings representing the reason for the order being frozen. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -846,22 +846,22 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderFrozen' for this model - tests: + data_tests: - not_null - *msg_sender - name: key description: The key associated with the frozen order. Extracted as a bytes32 value - tests: + data_tests: - not_null - name: account description: The address associated with the order - name: reason_bytes description: The reason for the order being frozen in byte format. - tests: + data_tests: - not_null - name: reason description: The reason for the order being frozen in string format. - tests: + data_tests: - not_null @@ -890,16 +890,16 @@ models: - *tx_to - name: event_name description: The type of event recorded, always 'OrderUpdated' for this model. - tests: + data_tests: - not_null - *msg_sender - name: key description: The key associated with the updated order. Extracted as a bytes32 value - tests: + data_tests: - not_null - name: market description: The market in which the order was updated. - tests: + data_tests: - not_null - name: account description: The address associated with the order. diff --git a/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/arbitrum/gmx_v2_arbitrum_tokens_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/arbitrum/gmx_v2_arbitrum_tokens_schema.yml index f40b6579a65..5bea8c3ee7f 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/arbitrum/gmx_v2_arbitrum_tokens_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/arbitrum/gmx_v2_arbitrum_tokens_schema.yml @@ -17,11 +17,11 @@ models: columns: - name: collateral_token description: The contract address of the token used as collateral. - tests: + data_tests: - not_null - name: collateral_token_decimals description: The number of decimal places for the collateral token. - tests: + data_tests: - not_null - name: gmx_v2_arbitrum_erc20 @@ -41,38 +41,38 @@ models: - &blockchain name: blockchain description: The blockchain network where the token information was retrieved (Arbitrum) - tests: + data_tests: - not_null - &project name: project description: The project related to the tokens (GMX v2) - tests: + data_tests: - not_null - &symbol name: symbol description: The symbol of the ERC20 token - tests: + data_tests: - not_null - &contract_address name: contract_address description: The contract address of the ERC20 token - tests: + data_tests: - not_null - unique - &decimals name: decimals description: The number of decimal places the token supports - tests: + data_tests: - not_null - &synthetic name: synthetic description: Indicates whether the token is synthetic or not - tests: + data_tests: - not_null - &last_update_utc name: last_update_utc description: The timestamp of when the data was last updated - tests: + data_tests: - not_null @@ -95,7 +95,7 @@ models: columns: - name: market description: The contract address of the market token. - tests: + data_tests: - not_null - name: market_name description: | @@ -104,11 +104,11 @@ models: of the short token used in the market, and `long_token` is the symbol of the long token used in the market. - name: market_token_symbol description: The symbol representing the market token. - tests: + data_tests: - not_null - name: market_token_decimals description: The number of decimal places for the market token. - tests: + data_tests: - not_null - name: index_token_symbol description: The symbol representing the index token in the market. @@ -116,17 +116,17 @@ models: description: The number of decimal places for the index token used in the market. - name: long_token_symbol description: The symbol representing the long token in the market. - tests: + data_tests: - not_null - name: long_token_decimals description: The number of decimal places for the long token used in the market. - tests: + data_tests: - not_null - name: short_token_symbol description: The symbol representing the short token in the market. - tests: + data_tests: - not_null - name: short_token_decimals description: The number of decimal places for the short token used in the market. - tests: + data_tests: - not_null \ No newline at end of file diff --git a/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/avalanche_c/gmx_v2_avalanche_c_tokens_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/avalanche_c/gmx_v2_avalanche_c_tokens_schema.yml index 90371ad9f7d..572164b7ae2 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/avalanche_c/gmx_v2_avalanche_c_tokens_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/avalanche_c/gmx_v2_avalanche_c_tokens_schema.yml @@ -17,11 +17,11 @@ models: columns: - name: collateral_token description: The contract address of the token used as collateral. - tests: + data_tests: - not_null - name: collateral_token_decimals description: The number of decimal places for the collateral token. - tests: + data_tests: - not_null - name: gmx_v2_avalanche_c_erc20 @@ -41,38 +41,38 @@ models: - &blockchain name: blockchain description: The blockchain network where the token information was retrieved (Avalanche) - tests: + data_tests: - not_null - &project name: project description: The project related to the tokens (GMX v2) - tests: + data_tests: - not_null - &symbol name: symbol description: The symbol of the ERC20 token - tests: + data_tests: - not_null - &contract_address name: contract_address description: The contract address of the ERC20 token - tests: + data_tests: - not_null - unique - &decimals name: decimals description: The number of decimal places the token supports - tests: + data_tests: - not_null - &synthetic name: synthetic description: Indicates whether the token is synthetic or not - tests: + data_tests: - not_null - &last_update_utc name: last_update_utc description: The timestamp of when the data was last updated - tests: + data_tests: - not_null - name: gmx_v2_avalanche_c_markets_data @@ -94,7 +94,7 @@ models: columns: - name: market description: The contract address of the market token. - tests: + data_tests: - not_null - name: market_name description: | @@ -103,11 +103,11 @@ models: of the short token used in the market, and `long_token` is the symbol of the long token used in the market. - name: market_token_symbol description: The symbol representing the market token. - tests: + data_tests: - not_null - name: market_token_decimals description: The number of decimal places for the market token. - tests: + data_tests: - not_null - name: index_token_symbol description: The symbol representing the index token in the market. @@ -115,17 +115,17 @@ models: description: The number of decimal places for the index token used in the market. - name: long_token_symbol description: The symbol representing the long token in the market. - tests: + data_tests: - not_null - name: long_token_decimals description: The number of decimal places for the long token used in the market. - tests: + data_tests: - not_null - name: short_token_symbol description: The symbol representing the short token in the market. - tests: + data_tests: - not_null - name: short_token_decimals description: The number of decimal places for the short token used in the market. - tests: + data_tests: - not_null diff --git a/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/gmx_v2_tokens_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/gmx_v2_tokens_schema.yml index b317f3e2af2..e1c9b389c18 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/gmx_v2_tokens_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/gmx/tokens/gmx_v2_tokens_schema.yml @@ -18,15 +18,15 @@ models: - &blockchain name: blockchain description: The blockchain network where the token information was retrieved - tests: + data_tests: - not_null - name: collateral_token description: The contract address of the token used as collateral. - tests: + data_tests: - not_null - name: collateral_token_decimals description: The number of decimal places for the collateral token. - tests: + data_tests: - not_null - name: gmx_v2_erc20 @@ -47,33 +47,33 @@ models: - &project name: project description: The project related to the tokens (GMX v2) - tests: + data_tests: - not_null - &symbol name: symbol description: The symbol of the ERC20 token - tests: + data_tests: - not_null - &contract_address name: contract_address description: The contract address of the ERC20 token - tests: + data_tests: - not_null - unique - &decimals name: decimals description: The number of decimal places the token supports - tests: + data_tests: - not_null - &synthetic name: synthetic description: Indicates whether the token is synthetic or not - tests: + data_tests: - not_null - &last_update_utc name: last_update_utc description: The timestamp of when the data was last updated - tests: + data_tests: - not_null @@ -95,7 +95,7 @@ models: - *blockchain - name: market description: The contract address of the market token. - tests: + data_tests: - not_null - name: market_name description: | @@ -104,11 +104,11 @@ models: of the short token used in the market, and `long_token` is the symbol of the long token used in the market. - name: market_token_symbol description: The symbol representing the market token. - tests: + data_tests: - not_null - name: market_token_decimals description: The number of decimal places for the market token. - tests: + data_tests: - not_null - name: index_token_symbol description: The symbol representing the index token in the market. @@ -116,17 +116,17 @@ models: description: The number of decimal places for the index token used in the market. - name: long_token_symbol description: The symbol representing the long token in the market. - tests: + data_tests: - not_null - name: long_token_decimals description: The number of decimal places for the long token used in the market. - tests: + data_tests: - not_null - name: short_token_symbol description: The symbol representing the short token in the market. - tests: + data_tests: - not_null - name: short_token_decimals description: The number of decimal places for the short token used in the market. - tests: + data_tests: - not_null \ No newline at end of file diff --git a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml index e81e5710d3d..f857561e7f8 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/arbitrum/uniswap_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'flashloans'] description: > All Uniswap v3 flashloans on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml index 768b8c47dc4..73e0a6be48a 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/bnb/uniswap_bnb_schema.yml @@ -10,7 +10,7 @@ models: tags: ['bnb', 'flashloans'] description: > All Uniswap v3 flashloans on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/celo/uniswap_celo_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/celo/uniswap_celo_schema.yml index 0560a061054..dafffc9bf40 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/celo/uniswap_celo_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/celo/uniswap_celo_schema.yml @@ -10,7 +10,7 @@ models: tags: ['celo', 'flashloans'] description: > All Uniswap v3 flashloans on Celo - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml index ef93bcdbb2b..3f938519dfe 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/ethereum/uniswap_ethereum_schema.yml @@ -49,7 +49,7 @@ models: - &support name: support description: "0 = Against, 1 = For, 2 = Abstain votes" - tests: + data_tests: - accepted_values: values: ['for', 'against', 'abstain'] - &reason @@ -65,7 +65,7 @@ models: tags: ['ethereum', 'proposals', 'dao', 'cross-chain'] description: > DAO proposals on all chains across all contracts and versions - tests: + data_tests: - check_seed: seed_file: ref('uniswap_v3_proposals_seed') match_columns: @@ -87,7 +87,7 @@ models: - *dao_address - *block_month - name: proposal_id - tests: + data_tests: - unique - &votes_for name: votes_for @@ -104,7 +104,7 @@ models: - &status name: status description: "Proposal status: Queued, Active, Executed, Canceled or Defeated" - tests: + data_tests: - accepted_values: values: ['Queued', 'Active', 'Executed', 'Canceled','Defeated'] - &description @@ -120,7 +120,7 @@ models: tags: ['ethereum', 'flashloans'] description: > All Uniswap v3 flashloans on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml index 9430771f4a9..9411675771f 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/optimism/uniswap_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism', 'flashloans'] description: > All Uniswap v3 flashloans on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml index 3986e172aac..eac9cd3b24e 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/polygon/uniswap_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon', 'flashloans'] description: > All Uniswap v3 flashloans on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/uniswap_schema.yml b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/uniswap_schema.yml index 379f24a05d8..c80b90b2517 100644 --- a/dbt_subprojects/daily_spellbook/models/_projects/uniswap/uniswap_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_projects/uniswap/uniswap_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'bnb', 'arbitrum', 'optimism', 'polygon', 'celo', 'flashloans'] description: > All Uniswap flashloans - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/addresses/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/addresses/_schema.yml index 070c03df708..947cc5ccb91 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/addresses/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/addresses/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address across all EVM chains" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/addresses/addresses_info.sql b/dbt_subprojects/daily_spellbook/models/_sector/addresses/addresses_info.sql index 6b520aeac77..f5be7fcfee8 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/addresses/addresses_info.sql +++ b/dbt_subprojects/daily_spellbook/models/_sector/addresses/addresses_info.sql @@ -1,5 +1,4 @@ {{ config( - tags=['prod_exclude'], schema = 'addresses', alias ='info', materialized = 'incremental', @@ -31,240 +30,218 @@ , ('zkevm', ref('addresses_zkevm_info')) , ('zksync', ref('addresses_zksync_info')) ] %} --- ---{% if not is_incremental() %} --- ---WITH data AS ( --- SELECT address --- , array_agg(blockchain) AS blockchains --- , SUM(executed_tx_count) AS executed_tx_count --- , MAX(max_nonce) AS max_nonce --- , MAX_BY(blockchain,max_nonce) AS max_nonce_blockchain --- , MAX(is_smart_contract) AS is_smart_contract --- , array_agg(blockchain) FILTER (WHERE is_smart_contract) AS smart_contract_blockchains --- , MAX(namespace) AS namespace --- , MAX(name) AS name --- , MIN_BY(first_funded_by, first_funded_by_block_time) AS first_funded_by --- , MIN_BY(blockchain, first_funded_by_block_time) AS first_funded_blockchain --- , MIN(first_funded_by_block_time) AS first_funded_by_block_time --- , SUM(tokens_received_count) AS tokens_received_count --- , SUM(tokens_received_tx_count) AS tokens_received_tx_count --- , SUM(tokens_sent_count) AS tokens_sent_count --- , SUM(tokens_sent_tx_count) AS tokens_sent_tx_count --- , MIN(first_transfer_block_time) AS first_transfer_block_time --- , MAX(last_transfer_block_time) AS last_transfer_block_time --- , MIN(first_received_block_number) AS first_received_block_number --- , MAX(last_received_block_number) AS last_received_block_number --- , MIN(first_sent_block_number) AS first_sent_block_number --- , MAX(last_sent_block_number) AS last_sent_block_number --- , SUM(sent_volume_usd) AS sent_volume_usd --- , SUM(received_volume_usd) AS received_volume_usd --- , MIN(first_tx_block_time) AS first_tx_block_time --- , MAX(last_tx_block_time) AS last_tx_block_time --- , map_union(map_from_entries(array[ --- (blockchain, chain_stats) --- ])) AS chain_stats --- , MAX(last_seen) AS last_seen --- , MAX(last_seen_block) AS last_seen_block --- FROM ( --- {% for addresses_model in addresses_models %} --- SELECT '{{ addresses_model[0] }}' AS blockchain --- , address --- , executed_tx_count --- , max_nonce --- , is_smart_contract --- , namespace --- , name --- , first_funded_by --- , first_funded_by_block_time --- , tokens_received_count --- , tokens_received_tx_count --- , tokens_sent_count --- , tokens_sent_tx_count --- , first_transfer_block_time --- , last_transfer_block_time --- , first_received_block_number --- , last_received_block_number --- , first_sent_block_number --- , last_sent_block_number --- , received_volume_usd --- , sent_volume_usd --- , first_tx_block_time --- , last_tx_block_time --- , first_tx_block_number --- , last_tx_block_number --- , map_from_entries(array[ --- ('last_seen', CAST(last_seen AS varchar)) --- , ('last_seen_block', CAST(last_seen_block AS varchar)) --- , ('executed_tx_count', CAST(executed_tx_count AS varchar)) --- , ('is_smart_contract', CAST(is_smart_contract AS varchar)) --- , ('sent_count', CAST(sent_count AS varchar)) --- , ('received_count', CAST(received_count AS varchar)) --- ]) AS chain_stats --- , last_seen --- , last_seen_block --- FROM {{ addresses_model[1] }} --- {% if not loop.last %} --- UNION ALL --- {% endif %} --- {% endfor %} --- ) --- GROUP BY address --- ) --- ---SELECT address ---, blockchains ---, executed_tx_count ---, max_nonce ---, max_nonce_blockchain ---, is_smart_contract ---, smart_contract_blockchains ---, namespace ---, name ---, first_funded_by ---, first_funded_blockchain ---, first_funded_by_block_time ---, tokens_received_count ---, tokens_received_tx_count ---, tokens_sent_count ---, tokens_sent_tx_count ---, first_transfer_block_time ---, last_transfer_block_time ---, first_received_block_number ---, last_received_block_number ---, first_sent_block_number ---, last_sent_block_number ---, sent_volume_usd ---, received_volume_usd ---, first_tx_block_time ---, last_tx_block_time ---, chain_stats ---, last_seen ---, last_seen_block ---FROM data --- --- --- ---{% else %} --- --- --- ---WITH new_data AS ( --- SELECT address --- , array_agg(blockchain) AS blockchains --- , SUM(executed_tx_count) AS executed_tx_count --- , MAX(max_nonce) AS max_nonce --- , MAX_BY(blockchain,max_nonce) AS max_nonce_blockchain --- , MAX(is_smart_contract) AS is_smart_contract --- , array_agg(blockchain) FILTER (WHERE is_smart_contract) AS smart_contract_blockchains --- , MAX(namespace) AS namespace --- , MAX(name) AS name --- , MIN_BY(first_funded_by, first_funded_by_block_time) AS first_funded_by --- , MIN_BY(blockchain, first_funded_by_block_time) AS first_funded_blockchain --- , MIN(first_funded_by_block_time) AS first_funded_by_block_time --- , SUM(tokens_received_count) AS tokens_received_count --- , SUM(tokens_received_tx_count) AS tokens_received_tx_count --- , SUM(tokens_sent_count) AS tokens_sent_count --- , SUM(tokens_sent_tx_count) AS tokens_sent_tx_count --- , MIN(first_transfer_block_time) AS first_transfer_block_time --- , MAX(last_transfer_block_time) AS last_transfer_block_time --- , MIN(first_received_block_number) AS first_received_block_number --- , MAX(last_received_block_number) AS last_received_block_number --- , MIN(first_sent_block_number) AS first_sent_block_number --- , MAX(last_sent_block_number) AS last_sent_block_number --- , SUM(sent_volume_usd) AS sent_volume_usd --- , SUM(received_volume_usd) AS received_volume_usd --- , MIN(first_tx_block_time) AS first_tx_block_time --- , MAX(last_tx_block_time) AS last_tx_block_time --- , map_union(map_from_entries(array[ --- (blockchain, chain_stats) --- ])) AS chain_stats --- , MAX(last_seen) AS last_seen --- , MAX(last_seen_block) AS last_seen_block --- FROM ( --- {% for addresses_model in addresses_models %} --- SELECT '{{ addresses_model[0] }}' AS blockchain --- , am.address --- , am.executed_tx_count --- , am.max_nonce --- , am.is_smart_contract --- , am.namespace --- , am.name --- , am.first_funded_by --- , am.first_funded_by_block_time --- , am.tokens_received_count --- , am.tokens_received_tx_count --- , am.tokens_sent_count --- , am.tokens_sent_tx_count --- , am.first_transfer_block_time --- , am.last_transfer_block_time --- , am.first_received_block_number --- , am.last_received_block_number --- , am.first_sent_block_number --- , am.last_sent_block_number --- , am.received_volume_usd --- , am.sent_volume_usd --- , am.first_tx_block_time --- , am.last_tx_block_time --- , am.first_tx_block_number --- , am.last_tx_block_number --- , map_from_entries(array[ --- ('last_seen', CAST(am.last_seen AS varchar)) --- , ('last_seen_block', CAST(am.last_seen_block AS varchar)) --- , ('executed_tx_count', CAST(am.executed_tx_count AS varchar)) --- , ('is_smart_contract', CAST(am.is_smart_contract AS varchar)) --- , ('sent_count', CAST(am.sent_count AS varchar)) --- , ('received_count', CAST(am.received_count AS varchar)) --- ]) AS chain_stats --- , am.last_seen --- , am.last_seen_block --- FROM {{ addresses_model[1] }} am --- LEFT JOIN {{ this }} t ON am.address = t.address --- AND (((contains(t.blockchains, am.blockchain) = FALSE)) --- OR (CAST(chain_stats['{{ addresses_model[0] }}']['last_seen_block'] AS bigint) > t.last_seen_block)) --- WHERE {{incremental_predicate('am.last_seen')}} --- {% if not loop.last %} --- UNION ALL --- {% endif %} --- {% endfor %} --- ) --- GROUP BY address --- ) --- ---SELECT nd.address ---, array_union(t.blockchains, nd.blockchains) AS blockchains ---, t.executed_tx_count+nd.executed_tx_count AS executed_tx_count ---, GREATEST(t.max_nonce, nd.max_nonce) AS max_nonce ---, CASE WHEN GREATEST(t.max_nonce, nd.max_nonce) = t.max_nonce THEN t.max_nonce_blockchain --- ELSE nd.max_nonce_blockchain --- END AS max_nonce_blockchain ---, GREATEST(t.is_smart_contract, nd.is_smart_contract) AS is_smart_contract ---, array_union(t.smart_contract_blockchains, nd.smart_contract_blockchains) AS smart_contract_blockchains ---, COALESCE(nd.namespace, t.namespace) AS namespace ---, COALESCE(nd.name, t.name) AS name ---, CASE WHEN LEAST(t.first_funded_by_block_time, nd.first_funded_by_block_time) = t.first_funded_by_block_time THEN t.first_funded_by --- ELSE nd.first_funded_by END AS first_funded_by ---, CASE WHEN LEAST(t.first_funded_by_block_time, nd.first_funded_by_block_time) = t.first_funded_by_block_time THEN t.first_funded_blockchain --- ELSE nd.first_funded_blockchain END AS first_funded_blockchain ---, LEAST(t.first_funded_by_block_time, nd.first_funded_by_block_time) AS first_funded_by_block_time ---, t.tokens_received_count+nd.tokens_received_count AS tokens_received_count ---, t.tokens_received_tx_count+nd.tokens_received_tx_count AS tokens_received_tx_count ---, t.tokens_sent_count+nd.tokens_sent_count AS tokens_sent_count ---, t.tokens_sent_tx_count+nd.tokens_sent_tx_count AS tokens_sent_tx_count ---, LEAST(t.first_transfer_block_time, nd.first_transfer_block_time) AS first_transfer_block_time ---, GREATEST(t.last_transfer_block_time, nd.last_transfer_block_time) AS last_transfer_block_time ---, LEAST(t.first_received_block_number, nd.first_received_block_number) AS first_received_block_number ---, GREATEST(t.last_received_block_number, nd.last_received_block_number) AS last_received_block_number ---, LEAST(t.first_sent_block_number, nd.first_sent_block_number) AS first_sent_block_number ---, GREATEST(t.last_sent_block_number, nd.last_sent_block_number) AS last_sent_block_number ---, t.sent_volume_usd+nd.sent_volume_usd AS sent_volume_usd ---, t.received_volume_usd+nd.received_volume_usd AS received_volume_usd ---, LEAST(t.first_tx_block_time, nd.first_tx_block_time) AS first_tx_block_time ---, GREATEST(t.last_tx_block_time, nd.last_tx_block_time) AS last_tx_block_time ---, GREATEST(t.last_seen, nd.last_seen) AS last_seen ---, GREATEST(t.last_seen_block, nd.last_seen_block) AS last_seen_block ---, map_concat(map_filter(t.chain_stats, (k, v) -> NOT contains(map_keys(nd.chain_stats), k)), nd.chain_stats) AS chain_stats ---FROM new_data nd ---LEFT JOIN {{ this }} t ON nd.address = t.address --- ---{% endif %} + +{% if not is_incremental() %} + +WITH data AS ( + SELECT address + , array_agg(blockchain) AS blockchains + , SUM(executed_tx_count) AS executed_tx_count + , MAX(max_nonce) AS max_nonce + , MAX_BY(blockchain,max_nonce) AS max_nonce_blockchain + , MAX(is_smart_contract) AS is_smart_contract + , array_agg(blockchain) FILTER (WHERE is_smart_contract) AS smart_contract_blockchains + , MAX(namespace) AS namespace + , MAX(name) AS name + , MIN_BY(first_funded_by, first_funded_by_block_time) AS first_funded_by + , MIN_BY(blockchain, first_funded_by_block_time) AS first_funded_blockchain + , MIN(first_funded_by_block_time) AS first_funded_by_block_time + , SUM(tokens_received_count) AS tokens_received_count + , SUM(tokens_received_tx_count) AS tokens_received_tx_count + , SUM(tokens_sent_count) AS tokens_sent_count + , SUM(tokens_sent_tx_count) AS tokens_sent_tx_count + , MIN(first_transfer_block_time) AS first_transfer_block_time + , MAX(last_transfer_block_time) AS last_transfer_block_time + , MIN(first_received_block_number) AS first_received_block_number + , MAX(last_received_block_number) AS last_received_block_number + , MIN(first_sent_block_number) AS first_sent_block_number + , MAX(last_sent_block_number) AS last_sent_block_number + , SUM(sent_volume_usd) AS sent_volume_usd + , SUM(received_volume_usd) AS received_volume_usd + , MIN(first_tx_block_time) AS first_tx_block_time + , MAX(last_tx_block_time) AS last_tx_block_time + , map_union(map_from_entries(array[ + (blockchain, chain_stats) + ])) AS chain_stats + , MAX(last_seen) AS last_seen + , MAX(last_seen_block) AS last_seen_block + FROM ( + {% for addresses_model in addresses_models %} + SELECT '{{ addresses_model[0] }}' AS blockchain + , address + , executed_tx_count + , max_nonce + , is_smart_contract + , namespace + , name + , first_funded_by + , first_funded_by_block_time + , tokens_received_count + , tokens_received_tx_count + , tokens_sent_count + , tokens_sent_tx_count + , first_transfer_block_time + , last_transfer_block_time + , first_received_block_number + , last_received_block_number + , first_sent_block_number + , last_sent_block_number + , received_volume_usd + , sent_volume_usd + , first_tx_block_time + , last_tx_block_time + , first_tx_block_number + , last_tx_block_number + , map_from_entries(array[ + ('last_seen', CAST(last_seen AS varchar)) + , ('executed_tx_count', CAST(executed_tx_count AS varchar)) + , ('tokens_sent_count', CAST(tokens_sent_count AS varchar)) + , ('tokens_received_count', CAST(tokens_received_count AS varchar)) + ]) AS chain_stats + , last_seen + , last_seen_block + FROM {{ addresses_model[1] }} + {% if not loop.last %} + UNION ALL + {% endif %} + {% endfor %} + ) + GROUP BY address + ) + +SELECT address +, blockchains +, executed_tx_count +, max_nonce +, max_nonce_blockchain +, is_smart_contract +, smart_contract_blockchains +, namespace +, name +, first_funded_by +, first_funded_blockchain +, first_funded_by_block_time +, tokens_received_count +, tokens_received_tx_count +, tokens_sent_count +, tokens_sent_tx_count +, first_transfer_block_time +, last_transfer_block_time +, first_received_block_number +, last_received_block_number +, first_sent_block_number +, last_sent_block_number +, sent_volume_usd +, received_volume_usd +, first_tx_block_time +, last_tx_block_time +, chain_stats +, last_seen +, last_seen_block +FROM data + + + +{% else %} + + + +WITH to_update AS ( + SELECT DISTINCT am.address + FROM ( + {% for addresses_model in addresses_models %} + (SELECT address + , last_seen + , '{{ addresses_model[0] }}' AS blockchain + FROM {{ addresses_model[1] }} + WHERE {{incremental_predicate('last_seen')}} + ) + {% if not loop.last %} + UNION ALL + {% endif %} + {% endfor %} + ) am + LEFT JOIN {{ this }} t ON am.address = t.address + WHERE t.address IS NULL + OR ((contains(t.blockchains, am.blockchain) = FALSE)) + OR (CAST(t.chain_stats[am.blockchain]['last_seen'] AS timestamp) <= am.last_seen) + GROUP BY 1 + ) + + +SELECT address +, array_agg(blockchain) AS blockchains +, SUM(executed_tx_count) AS executed_tx_count +, MAX(max_nonce) AS max_nonce +, MAX_BY(blockchain,max_nonce) AS max_nonce_blockchain +, MAX(is_smart_contract) AS is_smart_contract +, array_agg(blockchain) FILTER (WHERE is_smart_contract) AS smart_contract_blockchains +, MAX(namespace) AS namespace +, MAX(name) AS name +, MIN_BY(first_funded_by, first_funded_by_block_time) AS first_funded_by +, MIN_BY(blockchain, first_funded_by_block_time) AS first_funded_blockchain +, MIN(first_funded_by_block_time) AS first_funded_by_block_time +, SUM(tokens_received_count) AS tokens_received_count +, SUM(tokens_received_tx_count) AS tokens_received_tx_count +, SUM(tokens_sent_count) AS tokens_sent_count +, SUM(tokens_sent_tx_count) AS tokens_sent_tx_count +, MIN(first_transfer_block_time) AS first_transfer_block_time +, MAX(last_transfer_block_time) AS last_transfer_block_time +, MIN(first_received_block_number) AS first_received_block_number +, MAX(last_received_block_number) AS last_received_block_number +, MIN(first_sent_block_number) AS first_sent_block_number +, MAX(last_sent_block_number) AS last_sent_block_number +, SUM(sent_volume_usd) AS sent_volume_usd +, SUM(received_volume_usd) AS received_volume_usd +, MIN(first_tx_block_time) AS first_tx_block_time +, MAX(last_tx_block_time) AS last_tx_block_time +, map_union(map_from_entries(array[ + (blockchain, chain_stats) + ])) AS chain_stats +, MAX(last_seen) AS last_seen +, MAX(last_seen_block) AS last_seen_block +FROM ( + {% for addresses_model in addresses_models %} + SELECT '{{ addresses_model[0] }}' AS blockchain + , address + , executed_tx_count + , max_nonce + , is_smart_contract + , namespace + , name + , first_funded_by + , first_funded_by_block_time + , tokens_received_count + , tokens_received_tx_count + , tokens_sent_count + , tokens_sent_tx_count + , first_transfer_block_time + , last_transfer_block_time + , first_received_block_number + , last_received_block_number + , first_sent_block_number + , last_sent_block_number + , received_volume_usd + , sent_volume_usd + , first_tx_block_time + , last_tx_block_time + , first_tx_block_number + , last_tx_block_number + , map_from_entries(array[ + ('last_seen', CAST(last_seen AS varchar)) + , ('executed_tx_count', CAST(executed_tx_count AS varchar)) + , ('tokens_sent_count', CAST(tokens_sent_count AS varchar)) + , ('tokens_received_count', CAST(tokens_received_count AS varchar)) + ]) AS chain_stats + , last_seen + , last_seen_block + FROM {{ addresses_model[1] }} + INNER JOIN to_update USING (address) + {% if not loop.last %} + UNION ALL + {% endif %} + {% endfor %} + ) +GROUP BY address + +{% endif %} \ No newline at end of file diff --git a/dbt_subprojects/daily_spellbook/models/_sector/addresses/chains/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/addresses/chains/_schema.yml index c5410283802..c21d1f6930d 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/addresses/chains/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/addresses/chains/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -104,7 +104,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -145,7 +145,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on Avalanche" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -186,7 +186,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -227,7 +227,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on Blast" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -268,7 +268,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on BNB" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -309,7 +309,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -350,7 +350,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -391,7 +391,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -432,7 +432,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -473,7 +473,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -514,7 +514,7 @@ models: config: tags: ['table', 'address', 'info'] description: "High level information about every address on Zora" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/airdrop_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/airdrop_schema.yml index d4ba25acc0a..ce1eeeefc3b 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/airdrop_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/airdrop_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'optimism', 'arbitrum', 'avalanche_c', 'bnb', 'gnosis', 'zksync', 'claim'] description: "List of claim transactions for all airdrops" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -30,7 +30,7 @@ models: - &project name: project description: "Project name" - tests: + data_tests: - relationships: to: ref('airdrop_info') field: project @@ -74,7 +74,7 @@ models: tags: ['airdrop', 'ethereum', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'zksync', 'info'] description: > Airdrop info - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/arbitrum/projects/arbitrum_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/arbitrum/projects/arbitrum_arbitrum_schema.yml index 5919ce277c4..ec644cb43eb 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/arbitrum/projects/arbitrum_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/arbitrum/projects/arbitrum_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ["table", "airdrop", "arbitrum", "claim"] description: "List of claim transactions for the $ARB airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/avalanche_c/projects/pangolin_avalanche_c_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/avalanche_c/projects/pangolin_avalanche_c_schema.yml index 2fa22f524ca..652619deca9 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/avalanche_c/projects/pangolin_avalanche_c_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/avalanche_c/projects/pangolin_avalanche_c_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'avalanche_c', 'claim', 'pangolin'] description: "List of claim transactions for the $PNG airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/bnb/projects/ellipsis_finance_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/bnb/projects/ellipsis_finance_bnb_schema.yml index b76eff8e56b..d483631e72f 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/bnb/projects/ellipsis_finance_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/bnb/projects/ellipsis_finance_bnb_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ["table", "airdrop", "bnb", "claim", "ellipsis_finance"] description: "List of claim transactions for the $EPS airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/_schema.yml index 5a0da6c0c32..dfb4876d72f 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'cow_protocol'] description: "List of claim transactions for the $COW airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -26,7 +26,7 @@ models: config: tags: [ 'table', 'airdrop', 'ethereum', 'claim', 'dydx' ] description: "List of claim transactions for the $DYDX airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -42,7 +42,7 @@ models: config: tags: [ 'table', 'airdrop', 'ethereum', 'claim', 'gitcoin' ] description: "List of claim transactions for the $GTC airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -58,7 +58,7 @@ models: config: tags: [ 'table', 'airdrop', 'ethereum', 'claim', 'paraswap' ] description: "List of claim transactions for the $PSP airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -74,7 +74,7 @@ models: config: tags: [ 'table', 'airdrop', 'ethereum', 'claim', 'pooltogether' ] description: "List of claim transactions for the $POOL airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -90,7 +90,7 @@ models: config: tags: [ 'table', 'airdrop', 'ethereum', 'claim', 'sudoswap' ] description: "List of claim transactions for the $SUDO airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -106,7 +106,7 @@ models: config: tags: [ 'table', 'airdrop', 'ethereum', 'claim', 'tornado_cash' ] description: "List of claim transactions for the $TORN airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -122,7 +122,7 @@ models: config: tags: [ 'table', 'airdrop', 'ethereum', 'claim', 'safe' ] description: "List of claim transactions for the $SAFE airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -138,7 +138,7 @@ models: config: tags: [ 'table', 'airdrop', 'ethereum', 'claim', 'uniswap' ] description: "List of claim transactions for the $UNI airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -154,7 +154,7 @@ models: config: tags: [ 'table', 'airdrop', 'ethereum', 'claim', 'oneinch' ] description: "List of claim transactions for the $1INCH airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/alchemydao_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/alchemydao_ethereum_schema.yml index 087bd902634..6b3298a0bf5 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/alchemydao_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/alchemydao_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'alchemydao'] description: "List of claim transactions for the $ALCH airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ampleforth_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ampleforth_ethereum_schema.yml index 9151390e603..552487bb42d 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ampleforth_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ampleforth_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'ampleforth'] description: "List of claim transactions for the $FORTH airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/apecoin_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/apecoin_ethereum_schema.yml index 3bb28ee83a2..67de42e154f 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/apecoin_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/apecoin_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'apecoin'] description: "List of claim transactions for the $APE airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/arkham_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/arkham_ethereum_schema.yml index a481ae907de..04b66daee2b 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/arkham_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/arkham_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'arkham'] description: "List of claim transactions for the $ARKM airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/bend_dao_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/bend_dao_ethereum_schema.yml index 70c03448d22..309b80a3028 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/bend_dao_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/bend_dao_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'bend_dao'] description: "List of claim transactions for the $BEND airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/blur_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/blur_ethereum_schema.yml index 6ff32363729..470903ffacf 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/blur_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/blur_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'blur'] description: "List of claim transactions for the $BLUR airdrop 1" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/botto_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/botto_ethereum_schema.yml index c95eaf112d8..c9e6d3ac7eb 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/botto_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/botto_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'botto'] description: "List of claim transactions for the $BOTTO airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/component_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/component_ethereum_schema.yml index dfe84522075..f7763bc1712 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/component_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/component_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'component'] description: "List of claim transactions for the $CMP airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/dappradar_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/dappradar_ethereum_schema.yml index f45620f820a..cf972ffeff0 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/dappradar_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/dappradar_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'dappradar'] description: "List of claim transactions for the $RADAR airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ens_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ens_ethereum_schema.yml index 8413dbd46c8..f3113c19a50 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ens_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ens_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'ens'] description: "List of claim transactions for the $ENS airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/forefront_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/forefront_ethereum_schema.yml index ff9442b546d..a93043b36bf 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/forefront_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/forefront_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'forefront'] description: "List of claim transactions for the $FF airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/forta_network_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/forta_network_ethereum_schema.yml index 9a201a8eda3..1274fdba17a 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/forta_network_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/forta_network_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'forta_network'] description: "List of claim transactions for the $FORT airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/galxe_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/galxe_ethereum_schema.yml index 723f1b8b681..4bff8c1ab81 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/galxe_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/galxe_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'galxe'] description: "List of claim transactions for the $GAL airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/gas_dao_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/gas_dao_ethereum_schema.yml index be0bc898710..42224267b7f 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/gas_dao_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/gas_dao_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'gas_dao'] description: "List of claim transactions for the $GAS airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/gearbox_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/gearbox_ethereum_schema.yml index a8b04bb8226..bc1d1990f72 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/gearbox_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/gearbox_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'gearbox'] description: "List of claim transactions for the $GEAR airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/genie_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/genie_ethereum_schema.yml index 16620876743..b766e9e86b3 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/genie_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/genie_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'genie'] description: "List of claim transactions for the Genie $USDC airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/hop_protocol_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/hop_protocol_ethereum_schema.yml index f8d5ff26df8..ee98e30527f 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/hop_protocol_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/hop_protocol_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'hop_protocol'] description: "List of claim transactions for the $HOP airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/looksrare_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/looksrare_ethereum_schema.yml index 5a1414f3af9..7b62c540c4b 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/looksrare_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/looksrare_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'looksrare'] description: "List of claim transactions for the $LOOKS airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/notional_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/notional_ethereum_schema.yml index 81e688c5af2..72f85154ea9 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/notional_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/notional_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'notional'] description: "List of claim transactions for the $NOTE airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/paladin_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/paladin_ethereum_schema.yml index 7426e9c5e52..bfa6414b913 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/paladin_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/paladin_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'paladin'] description: "List of claim transactions for the $PAL airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ribbon_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ribbon_ethereum_schema.yml index d8cb2a9a12d..d791523d756 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ribbon_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/ribbon_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'ribbon'] description: "List of claim transactions for the $RBN airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/shapeshift_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/shapeshift_ethereum_schema.yml index 3c8ef8ef071..c1967b53426 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/shapeshift_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/shapeshift_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'shapeshift'] description: "List of claim transactions for the $FOX airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/snowswap_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/snowswap_ethereum_schema.yml index 5e73c1874fb..13a06e35794 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/snowswap_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/snowswap_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'snowswap'] description: "List of claim transactions for the $SNOW airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/thales_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/thales_ethereum_schema.yml index 744a5feefbe..8f70221d148 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/thales_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/thales_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'thales'] description: "List of claim transactions for the $THALES airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/tokenfy_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/tokenfy_ethereum_schema.yml index 1072c3638c5..9a49cf49844 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/tokenfy_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/tokenfy_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'tokenfy'] description: "List of claim transactions for the $TKNFY airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/value_defi_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/value_defi_ethereum_schema.yml index 58552dc89ea..96e5ca4ffbc 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/value_defi_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/value_defi_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'value_defi'] description: "List of claim transactions for the $vUSD airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/x2y2_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/x2y2_ethereum_schema.yml index 47bba3dab92..08e7892b0f7 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/x2y2_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/ethereum/projects/x2y2_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'ethereum', 'claim', 'x2y2'] description: "List of claim transactions for the $X2Y2 airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/gnosis/projects/giveth_gnosis_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/gnosis/projects/giveth_gnosis_schema.yml index d3618d7207f..9ae96a25799 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/gnosis/projects/giveth_gnosis_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/gnosis/projects/giveth_gnosis_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'gnosis', 'claim', 'giveth'] description: "List of claim transactions for the $GIV airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/optimism/projects/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/optimism/projects/_schema.yml index be7c4afa0a9..84e26d6f5b0 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/optimism/projects/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/optimism/projects/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'optimism', 'claim', 'velodrome'] description: "List of claim transactions for the $VELO airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/zksync/projects/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/zksync/projects/_schema.yml index 60b317ea69b..4ba83902759 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/airdrops/zksync/projects/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/airdrops/zksync/projects/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'zksync', 'claim'] description: "List of claim transactions for the $ZK airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/alm/README.md b/dbt_subprojects/daily_spellbook/models/_sector/alm/README.md index 3028dc91773..cd518f1c77c 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/alm/README.md +++ b/dbt_subprojects/daily_spellbook/models/_sector/alm/README.md @@ -138,7 +138,7 @@ models: config: tags: [ 'ethereum', 'alm', 'arrakis', 'arrakis_finance', 'trades' ] description: "arrakis finance ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/alm/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/alm/_schema.yml index 0fb852df751..2a3c940c182 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/alm/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/alm/_schema.yml @@ -9,7 +9,7 @@ models: contributors: 0xrusowsky config: tags: [ 'alm', 'trades' ] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/alm/ethereum/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/alm/ethereum/_schema.yml index 8201927e030..fb97e6988be 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/alm/ethereum/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/alm/ethereum/_schema.yml @@ -18,7 +18,7 @@ models: config: tags: [ 'ethereum', 'alm', 'arrakis', 'arrakis_finance', 'trades' ] description: "arrakis finance ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/_schema.yml index d70fac5266c..31143f97df6 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: [ 'attestation', 'eas' ] description: "EAS schema registry" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -20,22 +20,22 @@ models: - &blockchain name: blockchain description: "Blockchain where EAS is deployed" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the EAS contract" - tests: + data_tests: - not_null - &schema_uid name: schema_uid description: "Schema unique identifier" - tests: + data_tests: - not_null - ®isterer name: registerer @@ -76,7 +76,7 @@ models: config: tags: [ 'attestation', 'eas' ] description: "EAS schema registry details" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -92,7 +92,7 @@ models: - &ordinality name: ordinality description: "Incremental unique number to order fields within each Schema" - tests: + data_tests: - not_null - &data_type name: data_type @@ -113,7 +113,7 @@ models: config: tags: [ 'attestation', 'eas' ] description: "EAS attestations" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -129,7 +129,7 @@ models: - &attestation_uid name: attestation_uid description: "Attestation unique identifier" - tests: + data_tests: - not_null - &attester name: attester @@ -176,7 +176,7 @@ models: config: tags: [ 'attestation', 'eas' ] description: "EAS attestation details" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/arbitrum/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/arbitrum/_schema.yml index 86d57a31aef..6faa8431cc3 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/arbitrum/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'attestation', 'eas', 'arbitrum' ] description: "EAS schema registry on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -18,7 +18,7 @@ models: - &schema_uid name: schema_uid description: "Schema unique identifier" - tests: + data_tests: - not_null - name: eas_arbitrum_schema_details @@ -30,7 +30,7 @@ models: config: tags: [ 'attestation', 'eas', 'arbitrum' ] description: "EAS schema registry details on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -40,7 +40,7 @@ models: - &ordinality name: ordinality description: "Incremental unique number to order fields within each Schema" - tests: + data_tests: - not_null - name: eas_arbitrum_attestations @@ -52,7 +52,7 @@ models: config: tags: [ 'attestation', 'eas', 'arbitrum' ] description: "EAS attestations on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -62,7 +62,7 @@ models: - &attestation_uid name: attestation_uid description: "Attestation unique identifier" - tests: + data_tests: - not_null - name: eas_arbitrum_attestation_details @@ -74,7 +74,7 @@ models: config: tags: [ 'attestation', 'eas', 'arbitrum' ] description: "EAS attestation details on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid diff --git a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/base/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/base/_schema.yml index 78eba542b11..5836c86d8f6 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/base/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/base/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'attestation', 'eas', 'base' ] description: "EAS schema registry on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -18,7 +18,7 @@ models: - &schema_uid name: schema_uid description: "Schema unique identifier" - tests: + data_tests: - not_null - name: eas_base_schema_details @@ -30,7 +30,7 @@ models: config: tags: [ 'attestation', 'eas', 'base' ] description: "EAS schema registry details on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -40,7 +40,7 @@ models: - &ordinality name: ordinality description: "Incremental unique number to order fields within each Schema" - tests: + data_tests: - not_null - name: eas_base_attestations @@ -52,7 +52,7 @@ models: config: tags: [ 'attestation', 'eas', 'base' ] description: "EAS attestations on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -62,7 +62,7 @@ models: - &attestation_uid name: attestation_uid description: "Attestation unique identifier" - tests: + data_tests: - not_null - name: eas_base_attestation_details @@ -74,7 +74,7 @@ models: config: tags: [ 'attestation', 'eas', 'base' ] description: "EAS attestation details on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid diff --git a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/celo/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/celo/_schema.yml index 363ff389250..dcfd4ac32f0 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/celo/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/celo/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'attestation', 'eas', 'celo' ] description: "EAS schema registry on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -18,7 +18,7 @@ models: - &schema_uid name: schema_uid description: "Schema unique identifier" - tests: + data_tests: - not_null - name: eas_celo_schema_details @@ -30,7 +30,7 @@ models: config: tags: [ 'attestation', 'eas', 'celo' ] description: "EAS schema registry details on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -40,7 +40,7 @@ models: - &ordinality name: ordinality description: "Incremental unique number to order fields within each Schema" - tests: + data_tests: - not_null - name: eas_celo_attestations @@ -52,7 +52,7 @@ models: config: tags: [ 'attestation', 'eas', 'celo' ] description: "EAS attestations on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -62,7 +62,7 @@ models: - &attestation_uid name: attestation_uid description: "Attestation unique identifier" - tests: + data_tests: - not_null - name: eas_celo_attestation_details @@ -74,7 +74,7 @@ models: config: tags: [ 'attestation', 'eas', 'celo' ] description: "EAS attestation details on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid diff --git a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/ethereum/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/ethereum/_schema.yml index 9c0f581ed16..bca89f82a1a 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/ethereum/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'attestation', 'eas', 'ethereum' ] description: "EAS schema registry on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -18,7 +18,7 @@ models: - &schema_uid name: schema_uid description: "Schema unique identifier" - tests: + data_tests: - not_null - name: eas_ethereum_schema_details @@ -30,7 +30,7 @@ models: config: tags: [ 'attestation', 'eas', 'ethereum' ] description: "EAS schema registry details on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -40,7 +40,7 @@ models: - &ordinality name: ordinality description: "Incremental unique number to order fields within each Schema" - tests: + data_tests: - not_null - name: eas_ethereum_attestations @@ -52,7 +52,7 @@ models: config: tags: [ 'attestation', 'eas', 'ethereum' ] description: "EAS attestations on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -62,7 +62,7 @@ models: - &attestation_uid name: attestation_uid description: "Attestation unique identifier" - tests: + data_tests: - not_null - name: eas_ethereum_attestation_details @@ -74,7 +74,7 @@ models: config: tags: [ 'attestation', 'eas', 'ethereum' ] description: "EAS attestation details on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid diff --git a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/linea/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/linea/_schema.yml index 57511439e03..7f58ab68c01 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/linea/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/linea/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'attestation', 'eas', 'linea' ] description: "EAS schema registry on Linea" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -18,7 +18,7 @@ models: - &schema_uid name: schema_uid description: "Schema unique identifier" - tests: + data_tests: - not_null - name: eas_linea_schema_details @@ -30,7 +30,7 @@ models: config: tags: [ 'attestation', 'eas', 'linea' ] description: "EAS schema registry details on Linea" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -40,7 +40,7 @@ models: - &ordinality name: ordinality description: "Incremental unique number to order fields within each Schema" - tests: + data_tests: - not_null - name: eas_linea_attestations @@ -52,7 +52,7 @@ models: config: tags: [ 'attestation', 'eas', 'linea' ] description: "EAS attestations on Linea" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -62,7 +62,7 @@ models: - &attestation_uid name: attestation_uid description: "Attestation unique identifier" - tests: + data_tests: - not_null - name: eas_linea_attestation_details @@ -74,7 +74,7 @@ models: config: tags: [ 'attestation', 'eas', 'linea' ] description: "EAS attestation details on Linea" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid diff --git a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/nova/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/nova/_schema.yml index 2c39ad8347f..32ee20c3168 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/nova/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/nova/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'attestation', 'eas', 'nova' ] description: "EAS schema registry on Nova" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -18,7 +18,7 @@ models: - &schema_uid name: schema_uid description: "Schema unique identifier" - tests: + data_tests: - not_null - name: eas_nova_schema_details @@ -30,7 +30,7 @@ models: config: tags: [ 'attestation', 'eas', 'nova' ] description: "EAS schema registry details on Nova" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -40,7 +40,7 @@ models: - &ordinality name: ordinality description: "Incremental unique number to order fields within each Schema" - tests: + data_tests: - not_null - name: eas_nova_attestations @@ -52,7 +52,7 @@ models: config: tags: [ 'attestation', 'eas', 'nova' ] description: "EAS attestations on Nova" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -62,7 +62,7 @@ models: - &attestation_uid name: attestation_uid description: "Attestation unique identifier" - tests: + data_tests: - not_null - name: eas_nova_attestation_details @@ -74,7 +74,7 @@ models: config: tags: [ 'attestation', 'eas', 'nova' ] description: "EAS attestation details on Nova" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid diff --git a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/optimism/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/optimism/_schema.yml index 00f896a7371..caacccc1eb5 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/optimism/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/optimism/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'attestation', 'eas', 'optimism' ] description: "EAS schema registry on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -18,7 +18,7 @@ models: - &schema_uid name: schema_uid description: "Schema unique identifier" - tests: + data_tests: - not_null - name: eas_optimism_schema_details @@ -30,7 +30,7 @@ models: config: tags: [ 'attestation', 'eas', 'optimism' ] description: "EAS schema registry details on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -40,7 +40,7 @@ models: - &ordinality name: ordinality description: "Incremental unique number to order fields within each Schema" - tests: + data_tests: - not_null - name: eas_optimism_attestations @@ -52,7 +52,7 @@ models: config: tags: [ 'attestation', 'eas', 'optimism' ] description: "EAS attestations on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -62,7 +62,7 @@ models: - &attestation_uid name: attestation_uid description: "Attestation unique identifier" - tests: + data_tests: - not_null - name: eas_optimism_attestation_details @@ -74,7 +74,7 @@ models: config: tags: [ 'attestation', 'eas', 'optimism' ] description: "EAS attestation details on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid diff --git a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/polygon/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/polygon/_schema.yml index ed5e097e18c..f0a83274029 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/polygon/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/polygon/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'attestation', 'eas', 'polygon' ] description: "EAS schema registry on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -18,7 +18,7 @@ models: - &schema_uid name: schema_uid description: "Schema unique identifier" - tests: + data_tests: - not_null - name: eas_polygon_schema_details @@ -30,7 +30,7 @@ models: config: tags: [ 'attestation', 'eas', 'polygon' ] description: "EAS schema registry details on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -40,7 +40,7 @@ models: - &ordinality name: ordinality description: "Incremental unique number to order fields within each Schema" - tests: + data_tests: - not_null - name: eas_polygon_attestations @@ -52,7 +52,7 @@ models: config: tags: [ 'attestation', 'eas', 'polygon' ] description: "EAS attestations on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -62,7 +62,7 @@ models: - &attestation_uid name: attestation_uid description: "Attestation unique identifier" - tests: + data_tests: - not_null - name: eas_polygon_attestation_details @@ -74,7 +74,7 @@ models: config: tags: [ 'attestation', 'eas', 'polygon' ] description: "EAS attestation details on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid diff --git a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/scroll/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/scroll/_schema.yml index aae46ae02d0..c4327a9479f 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/scroll/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/attestation/eas/scroll/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'attestation', 'eas', 'scroll' ] description: "EAS schema registry on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -18,7 +18,7 @@ models: - &schema_uid name: schema_uid description: "Schema unique identifier" - tests: + data_tests: - not_null - name: eas_scroll_schema_details @@ -30,7 +30,7 @@ models: config: tags: [ 'attestation', 'eas', 'scroll' ] description: "EAS schema registry details on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -40,7 +40,7 @@ models: - &ordinality name: ordinality description: "Incremental unique number to order fields within each Schema" - tests: + data_tests: - not_null - name: eas_scroll_attestations @@ -52,7 +52,7 @@ models: config: tags: [ 'attestation', 'eas', 'scroll' ] description: "EAS attestations on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid @@ -62,7 +62,7 @@ models: - &attestation_uid name: attestation_uid description: "Attestation unique identifier" - tests: + data_tests: - not_null - name: eas_scroll_attestation_details @@ -74,7 +74,7 @@ models: config: tags: [ 'attestation', 'eas', 'scroll' ] description: "EAS attestation details on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - schema_uid diff --git a/dbt_subprojects/daily_spellbook/models/_sector/depin/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/depin/_schema.yml index f2ce6491f62..45e934a6f21 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/depin/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/depin/_schema.yml @@ -8,7 +8,7 @@ models: contributors: 0xnirmal config: tags: ['depin', 'revenue'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - date diff --git a/dbt_subprojects/daily_spellbook/models/_sector/depin/polygon/platforms/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/depin/polygon/platforms/_schema.yml index fcb99d97746..e20f03fdbb8 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/depin/polygon/platforms/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/depin/polygon/platforms/_schema.yml @@ -8,7 +8,7 @@ models: contributors: 0xnirmal config: tags: ['depin', 'revenue'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - date diff --git a/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/_schema.yml index fbf8d180f88..49daad99ea1 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/_schema.yml @@ -20,7 +20,7 @@ models: description: "Version of the contract built and deployed by the DEX project" - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" @@ -46,7 +46,7 @@ models: tags: ['dex', 'pools', 'volume', 'fee', 'tvl'] description: > This spell aggregates data from the trades, liquidity and protocol fees spells, by day and pool, while also displaying some basic information about the pool - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/ethereum/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/ethereum/_schema.yml index cba62f9f576..b08f44f4003 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/ethereum/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/ethereum/_schema.yml @@ -12,7 +12,7 @@ models: config: tags: [ 'ethereum', 'dex', 'pools', 'uniswap', 'v2'] description: "uniswap ethereum v2 pools" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -27,7 +27,7 @@ models: config: tags: [ 'ethereum', 'dex', 'pools', 'uniswap', 'v3'] description: "uniswap ethereum v3 pools" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/daily_spellbook/models/_sector/gas/prices/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/gas/prices/_schema.yml index 9c034dc8935..3a6ded8ec41 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/gas/prices/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/gas/prices/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, per chain - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/gas/prices/chains/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/gas/prices/chains/_schema.yml index de418cd42fa..547a5c3ae98 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/gas/prices/chains/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/gas/prices/chains/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -50,7 +50,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -74,7 +74,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -98,7 +98,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on bnb - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -122,7 +122,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on celo - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -146,7 +146,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -170,7 +170,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -194,7 +194,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -218,7 +218,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on linea - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -242,7 +242,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -266,7 +266,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -290,7 +290,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on scroll - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -314,7 +314,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on zkevm - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -338,7 +338,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on zksync - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -362,7 +362,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on zora - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -386,7 +386,7 @@ models: tags: ['gas', 'prices'] description: > Gas prices per minute, on goerli - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/inscription/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/inscription/_schema.yml index 36a585eef72..8b8aa2a2694 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/inscription/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/inscription/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['inscriptions', 'mints'] description: > Inscription mints across chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -71,7 +71,7 @@ models: tags: ['inscriptions', 'deploys'] description: > Inscription deploys across chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -106,7 +106,7 @@ models: tags: ['inscriptions', 'all'] description: > All inscriptions across chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/inscription/all/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/inscription/all/_schema.yml index 2eb59962989..d3cccf7e25f 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/inscription/all/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/inscription/all/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['inscriptions', 'all', 'ethereum'] description: > All inscriptions on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -53,7 +53,7 @@ models: tags: ['inscriptions', 'all', 'arbitrum'] description: > All inscriptions on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -78,7 +78,7 @@ models: tags: ['inscriptions', 'all', 'avalanche_c'] description: > All inscriptions on Avalanche - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -103,7 +103,7 @@ models: tags: ['inscriptions', 'all', 'bnb'] description: > All inscriptions on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -128,7 +128,7 @@ models: tags: ['inscriptions', 'all', 'fantom'] description: > All inscriptions on Fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -153,7 +153,7 @@ models: tags: ['inscriptions', 'all', 'gnosis'] description: > All inscriptions on Gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -178,7 +178,7 @@ models: tags: ['inscriptions', 'all', 'optimism'] description: > All inscriptions on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -203,7 +203,7 @@ models: tags: ['inscriptions', 'all', 'polygon'] description: > All inscriptions on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -228,7 +228,7 @@ models: tags: ['inscriptions', 'all', 'base'] description: > All inscriptions on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -253,7 +253,7 @@ models: tags: ['inscriptions', 'all', 'celo'] description: > All inscriptions on Celo - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -278,7 +278,7 @@ models: tags: ['inscriptions', 'all', 'zksync'] description: > All inscriptions on zkSync - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -303,7 +303,7 @@ models: tags: ['inscriptions', 'all', 'zora'] description: > All inscriptions on Zora Network - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -328,7 +328,7 @@ models: tags: ['inscriptions', 'all', 'scroll'] description: > All inscriptions on Scroll - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -353,7 +353,7 @@ models: tags: ['inscriptions', 'all', 'goerli'] description: > All inscriptions on Goerli Testnet - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -378,7 +378,7 @@ models: tags: ['inscriptions', 'all', 'linea'] description: > All inscriptions on Linea - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -403,7 +403,7 @@ models: tags: ['inscriptions', 'all', 'zkevm'] description: > All inscriptions on Polygon zkEVM - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/inscription/deploys/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/inscription/deploys/_schema.yml index 3511b22cda6..0d628debfa0 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/inscription/deploys/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/inscription/deploys/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['inscriptions', 'deploys', 'ethereum'] description: > Inscription deploys on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -68,7 +68,7 @@ models: tags: ['inscriptions', 'deploys', 'arbitrum'] description: > Inscription deploys on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -99,7 +99,7 @@ models: tags: ['inscriptions', 'deploys', 'avalanche_c'] description: > Inscription deploys on Avalanche - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -130,7 +130,7 @@ models: tags: ['inscriptions', 'deploys', 'bnb'] description: > Inscription deploys on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -161,7 +161,7 @@ models: tags: ['inscriptions', 'deploys', 'fantom'] description: > Inscription deploys on Fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -192,7 +192,7 @@ models: tags: ['inscriptions', 'deploys', 'gnosis'] description: > Inscription deploys on Gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -223,7 +223,7 @@ models: tags: ['inscriptions', 'deploys', 'optimism'] description: > Inscription deploys on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -254,7 +254,7 @@ models: tags: ['inscriptions', 'deploys', 'polygon'] description: > Inscription deploys on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -285,7 +285,7 @@ models: tags: ['inscriptions', 'deploys', 'base'] description: > Inscription deploys on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -316,7 +316,7 @@ models: tags: ['inscriptions', 'deploys', 'celo'] description: > Inscription deploys on Celo - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -347,7 +347,7 @@ models: tags: ['inscriptions', 'deploys', 'zksync'] description: > Inscription deploys on zkSync - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -378,7 +378,7 @@ models: tags: ['inscriptions', 'deploys', 'zora'] description: > Inscription deploys on Zora Network - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -409,7 +409,7 @@ models: tags: ['inscriptions', 'deploys', 'scroll'] description: > Inscription deploys on Scroll - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -440,7 +440,7 @@ models: tags: ['inscriptions', 'deploys', 'goerli'] description: > Inscription deploys on Goerli Testnet - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -471,7 +471,7 @@ models: tags: ['inscriptions', 'deploys', 'linea'] description: > Inscription deploys on Linea - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -503,7 +503,7 @@ models: tags: ['inscriptions', 'deploys', 'zkevm'] description: > Inscription deploys on Polygon zkEVM - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/inscription/mints/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/inscription/mints/_schema.yml index 1227b83f6cc..372da079b8f 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/inscription/mints/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/inscription/mints/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['inscriptions', 'mints', 'ethereum'] description: > Inscription mints on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -71,7 +71,7 @@ models: tags: ['inscriptions', 'mints', 'arbitrum'] description: > Inscription mints on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -103,7 +103,7 @@ models: tags: ['inscriptions', 'mints', 'avalanche_c'] description: > Inscription mints on Avalanche - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -135,7 +135,7 @@ models: tags: ['inscriptions', 'mints', 'bnb'] description: > Inscription mints on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -167,7 +167,7 @@ models: tags: ['inscriptions', 'mints', 'fantom'] description: > Inscription mints on Fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -199,7 +199,7 @@ models: tags: ['inscriptions', 'mints', 'gnosis'] description: > Inscription mints on Gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -231,7 +231,7 @@ models: tags: ['inscriptions', 'mints', 'optimism'] description: > Inscription mints on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -263,7 +263,7 @@ models: tags: ['inscriptions', 'mints', 'polygon'] description: > Inscription mints on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -295,7 +295,7 @@ models: tags: ['inscriptions', 'mints', 'base'] description: > Inscription mints on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -327,7 +327,7 @@ models: tags: ['inscriptions', 'mints', 'celo'] description: > Inscription mints on Celo - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -359,7 +359,7 @@ models: tags: ['inscriptions', 'mints', 'zksync'] description: > Inscription mints on zkSync - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -391,7 +391,7 @@ models: tags: ['inscriptions', 'mints', 'zora'] description: > Inscription mints on Zora Network - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -423,7 +423,7 @@ models: tags: ['inscriptions', 'mints', 'scroll'] description: > Inscription mints on Scroll - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -455,7 +455,7 @@ models: tags: ['inscriptions', 'mints', 'goerli'] description: > Inscription mints on Goerli Testnet - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -487,7 +487,7 @@ models: tags: ['inscriptions', 'mints', 'linea'] description: > Inscription mints on Linea - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -519,7 +519,7 @@ models: tags: ['inscriptions', 'mints', 'zkevm'] description: > Inscription mints on Polygon zkEVM - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/_schema.yml index b53f15f4d0f..b7f8fa30a2f 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/_schema.yml @@ -8,7 +8,7 @@ models: description: "a summary of transfers in/out of labeled addresses" meta: docs_slug: /curated/labels/owners/value-flows/transfer-summary - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -22,7 +22,7 @@ models: description: "a daily summary of transfers in/out of labeled addresses" meta: docs_slug: /curated/labels/owners/value-flows/transfer-summary-daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -37,7 +37,7 @@ models: description: "a daily activity of the counterparties of labeled addresses" meta: docs_slug: /curated/labels/owners/value-flows/counterparty-activity-daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/aztec_v2/labels_aztec_v2_contracts_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/aztec_v2/labels_aztec_v2_contracts_schema.yml index fc90b631d5c..5bd46f6bc6d 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/aztec_v2/labels_aztec_v2_contracts_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/aztec_v2/labels_aztec_v2_contracts_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_aztec_v2_contracts_ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml index 11a5544f507..8103fae3ea0 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/balancer_v2/labels_balancer_v2_schema.yml @@ -59,7 +59,7 @@ models: config: tags: ['labels', 'ethereum', 'gauges'] description: 'Balancer v2 gauge labels.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -87,7 +87,7 @@ models: config: tags: ['labels', 'polygon', 'gauges'] description: 'Balancer v2 gauge labels.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -115,7 +115,7 @@ models: config: tags: ['labels', 'arbitrum', 'gauges'] description: 'Balancer v2 gauge labels.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -143,7 +143,7 @@ models: config: tags: ['labels', 'optimism', 'gauges'] description: 'Balancer v2 gauge labels.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -171,7 +171,7 @@ models: config: tags: ['labels', 'avalanche_c', 'gauges'] description: 'Balancer v2 gauge labels.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -199,7 +199,7 @@ models: config: tags: ['labels', 'base', 'gauges'] description: 'Balancer v2 gauge labels.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -227,7 +227,7 @@ models: config: tags: ['labels', 'gnosis', 'gauges'] description: 'Balancer v2 gauge labels.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -255,7 +255,7 @@ models: config: tags: ['labels', 'zkevm', 'gauges'] description: 'Balancer v2 gauge labels.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/beethoven_x/labels_beethoven_x_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/beethoven_x/labels_beethoven_x_schema.yml index f015858717e..9595d0e8a48 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/beethoven_x/labels_beethoven_x_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/beethoven_x/labels_beethoven_x_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'fantom', 'balancer', 'pools'] description: 'Balancer V2 liquidity pools created on Fantom.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/cex_users/labels_cex_users_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/cex_users/labels_cex_users_schema.yml index 3787c3088dd..922ea483955 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/cex_users/labels_cex_users_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/cex_users/labels_cex_users_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_cex_users - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/contracts/labels_contracts_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/contracts/labels_contracts_schema.yml index dda3fe6741b..f69fd8ab497 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/contracts/labels_contracts_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/contracts/labels_contracts_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_contracts - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/hackers/labels_hackers_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/hackers/labels_hackers_schema.yml index 1ba0e579b33..443dd709a8e 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/hackers/labels_hackers_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/hackers/labels_hackers_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_hackers_ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/jelly_swap/labels_beethoven_x_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/jelly_swap/labels_beethoven_x_schema.yml index 35c8b2564fe..ab10434b81a 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/jelly_swap/labels_beethoven_x_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/jelly_swap/labels_beethoven_x_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'sei', 'balancer', 'pools'] description: 'JellySwap liquidity pools created on sei.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/labels_likely_bots_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/labels_likely_bots_schema.yml index 15a7ede3587..c621a49747d 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/labels_likely_bots_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/labels_likely_bots_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'optimism','bots'] description: "Likely bot labels" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bots_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bots_schema.yml index a092c2c03f8..70566a97f73 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bots_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/op_chains/labels_op_chains_likely_bots_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'optimism','base','op chain','bots'] description: "Likely bot contract labels" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -22,12 +22,12 @@ models: - &blockchain name: blockchain description: "Blockchain" - tests: + data_tests: - not_null - &address name: address description: "Address" - tests: + data_tests: - not_null - &name name: name @@ -63,7 +63,7 @@ models: config: tags: ['labels', 'optimism','base','op chain','bots'] description: "Likely bot address labels" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/optimism/labels_optimism_likely_bots_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/optimism/labels_optimism_likely_bots_schema.yml index f00f2c77320..4c7e03cce87 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/optimism/labels_optimism_likely_bots_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/likely_bots/optimism/labels_optimism_likely_bots_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'optimism','bots'] description: "Likely bot contract labels" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -59,7 +59,7 @@ models: config: tags: ['labels', 'optimism','bots'] description: "Likely bot address labels" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/ofac_sanctionned/labels_ofac_sanctionned_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/ofac_sanctionned/labels_ofac_sanctionned_ethereum_schema.yml index b9a973cdb69..8f11acd67b7 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/ofac_sanctionned/labels_ofac_sanctionned_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/ofac_sanctionned/labels_ofac_sanctionned_ethereum_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_ofac_sanctionned_ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_attestationstation/labels_op_attestationstation_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_attestationstation/labels_op_attestationstation_schema.yml index 4136c987753..1d48568339d 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_attestationstation/labels_op_attestationstation_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_attestationstation/labels_op_attestationstation_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'optimism', 'attestation', 'attester'] description: Attestation attesters on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -59,7 +59,7 @@ models: config: tags: ['labels', 'optimism', 'attestation'] description: Attestation creators on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_governance/labels_op_governance_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_governance/labels_op_governance_schema.yml index 77bf2c9a08c..4925355d8a6 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_governance/labels_op_governance_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_governance/labels_op_governance_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'optimism', 'voters', 'governance'] description: '{{ doc("op_address_archetype_labels_description") }}' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -59,7 +59,7 @@ models: config: tags: ['labels', 'optimism', 'delegators', 'governance'] description: '{{ doc("op_address_archetype_labels_description") }}' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -88,7 +88,7 @@ models: config: tags: ['labels', 'optimism', 'retropgf', 'proposal submitters', 'governance'] description: '{{ doc("op_address_archetype_labels_description") }}' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -118,7 +118,7 @@ models: config: tags: ['labels', 'optimism', 'retropgf', 'voters', 'governance'] description: '{{ doc("op_address_archetype_labels_description") }}' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -148,7 +148,7 @@ models: config: tags: ['labels', 'optimism', 'derived archetype', 'governance'] description: '{{ doc("op_address_archetype_labels_description") }}' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_perpetual/labels_op_perpetual_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_perpetual/labels_op_perpetual_schema.yml index 7503d810f15..4d83b31be5b 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_perpetual/labels_op_perpetual_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_perpetual/labels_op_perpetual_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'optimism', 'traders', 'perpetual'] description: '{{ doc("op_address_archetype_labels_description") }}' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_retropgf/labels_op_retropgf_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_retropgf/labels_op_retropgf_schema.yml index 4d80a0a1010..5f1fa00dbfd 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_retropgf/labels_op_retropgf_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_retropgf/labels_op_retropgf_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_op_retropgf - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_traders/op_traders_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_traders/op_traders_schema.yml index dd602ecfce4..de4f45b69cb 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_traders/op_traders_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_traders/op_traders_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'optimism', 'nft trades', 'perpetual trades', 'DEX trades', 'derived archetype'] description: '{{ doc("op_address_archetype_labels_description") }}' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_transfers/labels_op_transfers_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_transfers/labels_op_transfers_schema.yml index 9b042430ec8..16a068f9cd0 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_transfers/labels_op_transfers_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/op_transfers/labels_op_transfers_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'optimism', 'transfers'] description: Addresses that made only erc20 token transfer transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/project_wallets/labels_project_wallets_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/project_wallets/labels_project_wallets_schema.yml index 27983fd91b0..9a38a11d35f 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/project_wallets/labels_project_wallets_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/project_wallets/labels_project_wallets_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_project_wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/quests/persona/labels_quest_participants_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/quests/persona/labels_quest_participants_schema.yml index 9e8965554d7..ec17bd4708e 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/quests/persona/labels_quest_participants_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/quests/persona/labels_quest_participants_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'quests','coinbase','optimism'] description: "Quest participants query labels across chains" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/safe/labels_safe_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/safe/labels_safe_schema.yml index a559cb17cd2..f0f0de213c2 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/safe/labels_safe_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/safe/labels_safe_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_safe - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/tornado_cash/labels_tornado_cash_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/tornado_cash/labels_tornado_cash_schema.yml index a11973df816..f6c56362134 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/tornado_cash/labels_tornado_cash_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/tornado_cash/labels_tornado_cash_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_tornado_cash - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/worldcoin/labels_worldcoin_accounts_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/worldcoin/labels_worldcoin_accounts_schema.yml index d479d470c27..1e7c0e32593 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/worldcoin/labels_worldcoin_accounts_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/__single_category_labels__/worldcoin/labels_worldcoin_accounts_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_worldcoin_accounts - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/airdrop/labels_airdrop_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/airdrop/labels_airdrop_schema.yml index a0340413e94..4da3f117881 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/airdrop/labels_airdrop_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/airdrop/labels_airdrop_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_airdrop - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -32,7 +32,7 @@ models: - &category name: category description: "Label category (NFT here)" - tests: + data_tests: - accepted_values: values: ['airdrop'] - &contributor diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/airdrop/persona/optimism_rounds/labels_airdrop_1_receivers_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/airdrop/persona/optimism_rounds/labels_airdrop_1_receivers_optimism_schema.yml index a5a3acefeb0..02660fff870 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/airdrop/persona/optimism_rounds/labels_airdrop_1_receivers_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/airdrop/persona/optimism_rounds/labels_airdrop_1_receivers_optimism_schema.yml @@ -16,7 +16,7 @@ models: description: "Blockchain" - name: address description: "Address of $OP receiver" - tests: + data_tests: - unique - name: name description: "Label name: '$OP Airdrop 1 Receiver'" @@ -50,7 +50,7 @@ models: description: "Blockchain" - name: address description: "Address of $OP receiver" - tests: + data_tests: - unique - name: name description: "Label name: '$OP Airdrop 2 Receiver'" @@ -84,7 +84,7 @@ models: description: "Blockchain" - name: address description: "Address of $OP receiver" - tests: + data_tests: - unique - name: name description: "Label name: '$OP Airdrop 3 Receiver'" diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/bridge/labels_bridges_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/bridge/labels_bridges_schema.yml index b8f6cef0cea..7ad062f193d 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/bridge/labels_bridges_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/bridge/labels_bridges_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_bridges - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -31,7 +31,7 @@ models: - &category name: category description: "Label category" - tests: + data_tests: - accepted_values: values: ['bridge'] - &contributor diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/identifier/multisigs/labels_dao_multisig_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/identifier/multisigs/labels_dao_multisig_schema.yml index c466fc57d14..6fd307deaed 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/identifier/multisigs/labels_dao_multisig_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/identifier/multisigs/labels_dao_multisig_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_dao_multisig_ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/labels_dao_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/labels_dao_schema.yml index 725c3065699..a6d80cd42c5 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/labels_dao_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/labels_dao_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_dao - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -31,7 +31,7 @@ models: - &category name: category description: "Label category" - tests: + data_tests: - accepted_values: values: ['dao'] - &contributor diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/persona/frameworks/labels_dao_framework_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/persona/frameworks/labels_dao_framework_schema.yml index 5212f25d343..60a295ca8c6 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/persona/frameworks/labels_dao_framework_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dao/persona/frameworks/labels_dao_framework_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_dao_framework - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -18,7 +18,7 @@ models: config: tags: ['labels', 'ethereum', 'gnosis', 'polygon', 'dao'] description: "dao addresses and wallet addresses from dao addresses spell" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -32,7 +32,7 @@ models: - &address name: address description: "DAO Address" - tests: + data_tests: - unique - &name name: name diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/labels_dex_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/labels_dex_schema.yml index 57d96a2b4fe..61a0d89bf45 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/labels_dex_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/labels_dex_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_dex - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -31,7 +31,7 @@ models: - &category name: category description: "Label category" - tests: + data_tests: - accepted_values: values: ['dex'] - &contributor diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders_schema.yml index 5e03b05730c..55f539cd854 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/persona/op_dex_traders/labels_op_dex_traders_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'optimism', 'traders', 'dex'] description: '{{ doc("op_address_archetype_labels_description") }}' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies_schema.yml index ce1f774ec4e..daa00a8a1cf 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/usage/trader_frequencies/labels_trader_frequencies_schema.yml @@ -17,8 +17,6 @@ models: - &address name: address description: "Address of trader" - test: - - unique - &name name: name description: "Label name" diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt_schema.yml index 28e342f5ea9..c4f525f1a11 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/dex/usage/trader_kyt/labels_trader_kyt_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'cross-chain', 'KYT', 'dex'] description: "Trader category based on trader tx count and trades value in the last 30 days" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/burn_addresses/labels_burn_addresses_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/burn_addresses/labels_burn_addresses_schema.yml index 5ba599355b2..ef2ca77154e 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/burn_addresses/labels_burn_addresses_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/burn_addresses/labels_burn_addresses_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'burn_addresses', 'erc20', 'ethereum'] description: "Burn addresses" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/cex_tokens/labels_cex_tokens_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/cex_tokens/labels_cex_tokens_schema.yml index 3fdc64126e9..7da2d5ad65e 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/cex_tokens/labels_cex_tokens_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/cex_tokens/labels_cex_tokens_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'cex', 'erc20', 'ethereum', 'bnb', 'polygon', 'solana', 'arbitrum', 'optimism', 'fantom', 'avalanche_c', 'gnosis'] description: "CEX tokens contract addresses" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/stablecoins/labels_stablecoins_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/stablecoins/labels_stablecoins_schema.yml index 4262e70f962..8d9f37536a9 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/stablecoins/labels_stablecoins_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/identifier/stablecoins/labels_stablecoins_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'stablecoins', 'erc20', 'ethereum', 'bnb', 'polygon', 'solana', 'arbitrum', 'optimism', 'fantom', 'avalanche_c', 'gnosis'] description: "Stablecoin contract addresses" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/labels_infrastructure_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/labels_infrastructure_schema.yml index 405f90829b3..64b07f16334 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/labels_infrastructure_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/labels_infrastructure_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_infrastructure - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -31,7 +31,7 @@ models: - &category name: category description: "Label category" - tests: + data_tests: - accepted_values: values: ['infrastructure'] - &contributor diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/persona/flashloans/labels_flashloans_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/persona/flashloans/labels_flashloans_schema.yml index 2c92d48a308..fc7b4d12dd4 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/persona/flashloans/labels_flashloans_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/infrastructure/persona/flashloans/labels_flashloans_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'ethereum', 'flashloans'] description: "Known flashloan users on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/institution/labels_institution_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/institution/labels_institution_schema.yml index ef90654274c..c96757fe971 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/institution/labels_institution_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/institution/labels_institution_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_institution - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -32,7 +32,7 @@ models: - &category name: category description: "Label category" - tests: + data_tests: - accepted_values: values: ['institution'] - &contributor diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/nft/labels_nft_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/nft/labels_nft_schema.yml index 496f287a078..5bfb47d6b58 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/nft/labels_nft_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/nft/labels_nft_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_nft - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -32,7 +32,7 @@ models: - &category name: category description: "Label category (NFT here)" - tests: + data_tests: - accepted_values: values: ['nft'] - &contributor diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/identifier/ens/labels_ens_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/identifier/ens/labels_ens_schema.yml index d94b3d4a233..1eedeb4ac50 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/identifier/ens/labels_ens_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/identifier/ens/labels_ens_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['query','labels', 'ethereum', 'ens', 'ENS resolver', 'ENS reverse'] description: "ENS labels" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/labels_social_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/labels_social_schema.yml index 40deabc4fac..e22204bf634 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/labels_social_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/labels_social_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_social - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -31,7 +31,7 @@ models: - &category name: category description: "Label category" - tests: + data_tests: - accepted_values: values: ["social"] - &contributor diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/persona/ens/labels_three_letter_ens_count_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/persona/ens/labels_three_letter_ens_count_schema.yml index 867ebc43d90..0ba88e72627 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/persona/ens/labels_three_letter_ens_count_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/persona/ens/labels_three_letter_ens_count_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_three_letter_ens_count - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/usage/lens/poster_frequencies/labels_lens_poster_frequencies_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/usage/lens/poster_frequencies/labels_lens_poster_frequencies_schema.yml index 653ad590462..15ce63160ba 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/usage/lens/poster_frequencies/labels_lens_poster_frequencies_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/addresses/social/usage/lens/poster_frequencies/labels_lens_poster_frequencies_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_lens_poster_frequencies - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/labels/labels_addresses_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/labels/labels_addresses_schema.yml index 2d00de5c6d8..d266a715d6e 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/labels/labels_addresses_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/labels/labels_addresses_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: labels_addresses - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/_schema.yml index 40157d320c5..ecfe3684370 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['rebase', 'ethereum'] description: > ERC20 rebase events - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/ethereum/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/ethereum/_schema.yml index e22a5f511e6..f668610106e 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/ethereum/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['rebase', 'ethereum', 'lido'] description: > ERC20 rebase events on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/ethereum/tokens/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/ethereum/tokens/_schema.yml index d53459d553a..02945ca3402 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/ethereum/tokens/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/rebase_events/ethereum/tokens/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['rebase', 'ethereum', 'lido'] description: > Lido's stETH ERC20 rebase events - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/referral/rewards/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/referral/rewards/_schema.yml index f0e79d42bc5..65ddb934fd9 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/referral/rewards/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/referral/rewards/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['referral','rewards', 'ethereum', 'optimism', 'arbitrum', 'base', 'zora', 'polygon'] description: > Referral rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -22,7 +22,7 @@ models: description: "Blockchain" - name: project description: "Project" - tests: + data_tests: - not_null - name: version description: "Project version" @@ -36,7 +36,7 @@ models: description: "block number" - name: tx_hash description: "transaction hash" - tests: + data_tests: - not_null - name: tx_from description: "transaction sender" @@ -50,7 +50,7 @@ models: description: "address of the person being referred" - name: is_referral description: "whether or not the a referral was made (and payed out)" - tests: + data_tests: - accepted_values: values: [ true, false ] quote: false @@ -62,13 +62,13 @@ models: description: "reward amount corrected with the correct decimals" - name: reward_amount_usd description: "USD value of the referral reward at time of execution" - tests: + data_tests: - dbt_utils.accepted_range: max_value: 1000000 # $1m is an arbitrary number, intended to flag outlier amounts early - name: project_contract_address description: "project contract address" - name: sub_tx_id description: "id to distinguish multiple rewards in 1 transaction. Often the event index" - tests: + data_tests: - not_null diff --git a/dbt_subprojects/daily_spellbook/models/_sector/referral/rewards/platforms/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/referral/rewards/platforms/_schema.yml index e7c4781289e..519f4e6a87b 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/referral/rewards/platforms/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/referral/rewards/platforms/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: zora_ethereum_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -12,23 +12,23 @@ models: - &project name: project description: "Project" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "transaction hash" - tests: + data_tests: - not_null - &category name: category description: "project category (NFT/AMM/Staking/...)" - tests: + data_tests: - accepted_values: values: [ 'NFT', 'AMM', 'Quest', 'Staking' ] - &referrer_address name: referrer_address description: "address of the person making the referral" - tests: + data_tests: - not_null - &referee_address name: referee_address @@ -36,31 +36,31 @@ models: - ¤cy_contract name: currency_contract description: "contract address of the currency" - tests: + data_tests: - not_null - &reward_amount_raw name: reward_amount_raw description: "raw reward amount" - tests: + data_tests: - not_null - &sub_tx_id name: sub_tx_id description: "id to distinguish multiple rewards in 1 transaction. Often the event index" - tests: + data_tests: - not_null - &tx_from name: tx_from description: "transaction from address" - tests: + data_tests: - not_null - &tx_to name: tx_to description: "transaction to address" - tests: + data_tests: - not_null - name: zora_base_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -80,7 +80,7 @@ models: - name: zora_optimism_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -99,7 +99,7 @@ models: - *tx_to - name: zora_zora_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -119,7 +119,7 @@ models: - name: rabbithole_arbitrum_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -139,7 +139,7 @@ models: - name: rabbithole_base_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -159,7 +159,7 @@ models: - name: rabbithole_optimism_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -179,7 +179,7 @@ models: - name: rabbithole_polygon_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -199,7 +199,7 @@ models: - name: soundxyz_v1_ethereum_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -219,7 +219,7 @@ models: - name: soundxyz_v1_optimism_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -238,7 +238,7 @@ models: - *tx_to - name: soundxyz_v2_ethereum_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -265,7 +265,7 @@ models: - *tx_to - name: soundxyz_v2_optimism_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -292,7 +292,7 @@ models: - *tx_to - name: soundxyz_v2_base_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -319,7 +319,7 @@ models: - *tx_to - name: slugs_optimism_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -346,7 +346,7 @@ models: - *tx_to - name: mintfun_ethereum_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -365,7 +365,7 @@ models: - *tx_to - name: mintfun_optimism_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -384,7 +384,7 @@ models: - *tx_to - name: mintfun_base_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -403,7 +403,7 @@ models: - *tx_to - name: mintfun_zora_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -422,7 +422,7 @@ models: - *tx_to - name: mirror_optimism_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -449,7 +449,7 @@ models: - *tx_to - name: mirror_base_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -476,7 +476,7 @@ models: - *tx_to - name: paragraph_optimism_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -503,7 +503,7 @@ models: - *tx_to - name: paragraph_base_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -530,7 +530,7 @@ models: - *tx_to - name: paragraph_zora_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -557,7 +557,7 @@ models: - *tx_to - name: paragraph_polygon_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -584,7 +584,7 @@ models: - *tx_to - name: fabric_base_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -603,7 +603,7 @@ models: - *tx_to - name: fabric_ethereum_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -622,7 +622,7 @@ models: - *tx_to - name: fabric_optimism_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -641,7 +641,7 @@ models: - *tx_to - name: fabric_zora_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -660,7 +660,7 @@ models: - *tx_to - name: basepaint_base_rewards - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project diff --git a/dbt_subprojects/daily_spellbook/models/_sector/rwa/arbitrum/rwa_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/rwa/arbitrum/rwa_arbitrum_schema.yml index af52cd083ba..575bafe15c1 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/rwa/arbitrum/rwa_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/rwa/arbitrum/rwa_arbitrum_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['rwa', 'tokens'] description: "RWA tokens" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - token_address @@ -42,7 +42,7 @@ models: config: tags: ['rwa', 'tokens'] description: "RWA tokens DEX Pools" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - token_address, pool @@ -71,7 +71,7 @@ models: config: tags: ['rwa', 'balances'] description: "Balances of RWA token holders" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -123,7 +123,7 @@ models: config: tags: ['rwa', 'balances'] description: "Balances of RWA token DEXes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/daily_spellbook/models/_sector/social/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/social/_schema.yml index 03d1833c9d5..389239d0ced 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/social/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/social/_schema.yml @@ -8,7 +8,7 @@ models: contributors: hildobby config: tags: ['table', 'social', 'base', 'trades', 'friend_tech'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -74,7 +74,7 @@ models: contributors: hildobby config: tags: ['table', 'social', 'base', 'trades', 'friend_tech'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -120,7 +120,7 @@ models: tags: ['social', 'bnb', 'avalanche_c', 'arbitrum', 'base', 'info'] description: > socials info - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project diff --git a/dbt_subprojects/daily_spellbook/models/_sector/social/arbitrum/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/social/arbitrum/_schema.yml index 5957094920a..d152f5f2b46 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/social/arbitrum/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/social/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'social', 'arbitrum', 'trades', 'cipher'] description: "Cipher basic trades info" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -80,7 +80,7 @@ models: config: tags: ['table', 'social', 'arbitrum', 'trades', 'post_tech'] description: "post.tech basic trades info" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/social/avalanche_c/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/social/avalanche_c/_schema.yml index dfae79d4e97..9611823f3cc 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/social/avalanche_c/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/social/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'social', 'avalanche_c', 'trades', 'stars_arena'] description: "Stars Arena basic trades info" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -79,7 +79,7 @@ models: config: tags: ['table', 'social', 'avalanche_c', 'trades', 'stars_arena'] description: "social trades on Avalanche" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/social/base/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/social/base/_schema.yml index 33e31b5aa06..7718afc897b 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/social/base/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/social/base/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'social', 'base', 'trades', 'friend_tech'] description: "friend.tech basic trades info" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -79,7 +79,7 @@ models: config: tags: ['table', 'social', 'base', 'trades', 'friend_tech'] description: "social trades on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/social/bnb/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/social/bnb/_schema.yml index 12c9d26b698..3a9abf465eb 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/social/bnb/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/social/bnb/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'social', 'bnb', 'trades', 'friend3'] description: "Friend3 basic trades info" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -79,7 +79,7 @@ models: config: tags: ['table', 'social', 'bnb', 'trades', 'friend3'] description: "social trades on Avalanche" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/arbitrum/stablecoins_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/arbitrum/stablecoins_arbitrum_schema.yml index d86af2b6fde..27144e314ca 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/arbitrum/stablecoins_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/arbitrum/stablecoins_arbitrum_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['stablecoin', 'balances'] description: "Balances of stablecoin token holders" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/avalance_c/stablecoins_avalanche_c_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/avalance_c/stablecoins_avalanche_c_schema.yml index bfeab44ef84..d10de28564d 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/avalance_c/stablecoins_avalanche_c_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/avalance_c/stablecoins_avalanche_c_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['stablecoin', 'balances'] description: "Balances of stablecoin token holders" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/base/stablecoins_base_balances.sql b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/base/stablecoins_base_balances.sql new file mode 100644 index 00000000000..81834257b9d --- /dev/null +++ b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/base/stablecoins_base_balances.sql @@ -0,0 +1,38 @@ +{{ + config( + schema = 'stablecoins_base', + alias = 'balances', + materialized = 'incremental', + file_format = 'delta', + incremental_strategy = 'merge', + unique_key = ['day', 'address', 'token_address', 'blockchain'], + incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.day')] + ) +}} + +with +stablecoin_tokens as ( + select distinct + symbol, + contract_address as token_address + from + {{ source('tokens_base', 'erc20_stablecoins')}} +) + +,balances as ( + {{ + balances_incremental_subset_daily( + blockchain = 'base', + token_list = 'stablecoin_tokens', + start_date = '2023-07-20' + ) + }} +) + +select + t.symbol + ,b.* +from balances b +left join stablecoin_tokens t + on b.token_address = t.token_address + \ No newline at end of file diff --git a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/base/stablecoins_base_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/base/stablecoins_base_schema.yml new file mode 100644 index 00000000000..65c93c69d8c --- /dev/null +++ b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/base/stablecoins_base_schema.yml @@ -0,0 +1,62 @@ +version: 2 + +models: + - name: stablecoins_base_balances + + meta: + blockchain: base + sector: stablecoin + project: stablecoin + contributors: synthquest + + config: + tags: ['stablecoin', 'balances'] + description: "Balances of stablecoin token holders" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - day + - address + - token_address + columns: + - &blockchain + name: blockchain + description: "Blockchain for the token" + - &symbol + name: symbol + description: "Symbol for the token" + - &version + name: version + description: "Version of the token" + - &day + name: day + description: "Date on which the token balance is logged" + - &address + name: address + description: "Address for the token holder" + - &token_symbol + name: token_symbol + description: "Symbol for the token" + - &token_address + name: token_address + description: "Address for the token" + - &token_standard + name: token_standard + description: "Standard for the token" + - &token_id + name: token_id + description: "ID for the token" + - &balance + name: balance + description: "Balance for the user" + - &balance_usd + name: balance_usd + description: "USD value of balance for the user" + - &last_updated + name: last_updated + description: "UTC timestamp when data was last updated" + - &next_update + name: next_update + description: "UTC timestamp when data is next updated" + + diff --git a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/ethereum/stablecoins_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/ethereum/stablecoins_ethereum_schema.yml index 3b9c3ac4509..5fc4aa82b13 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/ethereum/stablecoins_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/ethereum/stablecoins_ethereum_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['stablecoin', 'balances'] description: "Balances of stablecoin token holders" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/linea/stablecoins_linea_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/linea/stablecoins_linea_schema.yml index 0a534dbdffa..fc514e583ba 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/linea/stablecoins_linea_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/linea/stablecoins_linea_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['stablecoin', 'balances'] description: "Balances of stablecoin token holders" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/scroll/stablecoins_scroll_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/scroll/stablecoins_scroll_schema.yml index f845473be89..06dcc417a80 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/scroll/stablecoins_scroll_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/stablecoins/scroll/stablecoins_scroll_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['stablecoin', 'balances'] description: "Balances of stablecoin token holders" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/daily_spellbook/models/aave/aave_schema.yml b/dbt_subprojects/daily_spellbook/models/aave/aave_schema.yml index 8d98b2a3066..ae3d0c34c30 100644 --- a/dbt_subprojects/daily_spellbook/models/aave/aave_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/aave/aave_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'flashloans'] description: > All Aave flashloans on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/aave/ethereum/aave_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/aave/ethereum/aave_ethereum_schema.yml index f036e58e9a3..a02419b2425 100644 --- a/dbt_subprojects/daily_spellbook/models/aave/ethereum/aave_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/aave/ethereum/aave_ethereum_schema.yml @@ -91,7 +91,7 @@ models: - &support name: support description: "0 = Against, 1 = For, 2 = Abstain votes" - tests: + data_tests: - accepted_values: values: ['for', 'against', 'abstain'] - &reason @@ -240,7 +240,7 @@ models: - *dao_name - *dao_address - name: proposal_id - tests: + data_tests: - unique - &votes_for name: votes_for @@ -257,7 +257,7 @@ models: - &status name: status description: "Proposal status: Pending, Queued, Active, Executed, Canceled or Defeated" - tests: + data_tests: - accepted_values: values: ['Pending', 'Queued', 'Active', 'Executed', 'Canceled','Defeated'] - &description diff --git a/dbt_subprojects/daily_spellbook/models/aave/optimism/aave_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/aave/optimism/aave_optimism_schema.yml index 4add7b84a51..caaa236a730 100644 --- a/dbt_subprojects/daily_spellbook/models/aave/optimism/aave_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/aave/optimism/aave_optimism_schema.yml @@ -102,7 +102,7 @@ models: config: tags: ['optimism', 'aave_v3', 'interest', 'aave', 'lending'] description: "Hourly aave interest rates on optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - reserve diff --git a/dbt_subprojects/daily_spellbook/models/addresses/ethereum/addresses_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/addresses/ethereum/addresses_ethereum_schema.yml index 8b61bbabacc..fc2aa9f6da2 100644 --- a/dbt_subprojects/daily_spellbook/models/addresses/ethereum/addresses_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/addresses/ethereum/addresses_ethereum_schema.yml @@ -53,7 +53,7 @@ models: columns: - name: address description: "Address of known MEV users" - tests: + data_tests: - unique - name: addresses_ethereum_l2_batch_submitters @@ -90,7 +90,7 @@ models: config: tags: ['table', 'L2', 'batch submitters', 'addresses', 'ethereum', 'optimism'] description: "Unique combinations of Optimism batch inbox addresses across versions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - l1_batch_inbox_from_address @@ -112,7 +112,7 @@ models: config: tags: ['table', 'L2', 'batch submitters', 'addresses', 'ethereum', 'optimism'] description: "Unique combinations of Optimism output oracle addresses across versions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - l2_output_oracle_from_address diff --git a/dbt_subprojects/daily_spellbook/models/addresses/optimism/addresses_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/addresses/optimism/addresses_optimism_schema.yml index 5341ed63b7d..cafe7776565 100644 --- a/dbt_subprojects/daily_spellbook/models/addresses/optimism/addresses_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/addresses/optimism/addresses_optimism_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'grants', 'governance', 'incentives', 'addresses', 'optimism'] description: "Project address for receiving Optimism Governance and Partner Funding Grants." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -40,7 +40,7 @@ models: columns: - name: address description: "Address of the fee vault" - tests: + data_tests: - unique - name: vault_name description: "Fee vault type" \ No newline at end of file diff --git a/dbt_subprojects/daily_spellbook/models/addresses_summary/addresses_summary_schema.yml b/dbt_subprojects/daily_spellbook/models/addresses_summary/addresses_summary_schema.yml index 0c0a2a18b5b..0bc4a7e9dc6 100644 --- a/dbt_subprojects/daily_spellbook/models/addresses_summary/addresses_summary_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/addresses_summary/addresses_summary_schema.yml @@ -14,7 +14,7 @@ models: description: "Blockchain" - name: address description: "Concerned OP Mainnet address" - tests: + data_tests: - unique - name: first_active_time description: "The block time on which the address made it's first OP Mainnet transaction" diff --git a/dbt_subprojects/daily_spellbook/models/aerodrome/base/aerodrome_base_schema.yml b/dbt_subprojects/daily_spellbook/models/aerodrome/base/aerodrome_base_schema.yml index bb5ae9c8dac..44a2e2f0212 100644 --- a/dbt_subprojects/daily_spellbook/models/aerodrome/base/aerodrome_base_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/aerodrome/base/aerodrome_base_schema.yml @@ -10,7 +10,7 @@ models: tags: ['base','aerodrome','velo','dex', 'incentives'] description: > Bribe to Pool mappings for aerodrome on all chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_contract diff --git a/dbt_subprojects/daily_spellbook/models/ajna/ajna_schema.yml b/dbt_subprojects/daily_spellbook/models/ajna/ajna_schema.yml index bbb4bd241b0..08e23069fb5 100644 --- a/dbt_subprojects/daily_spellbook/models/ajna/ajna_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ajna/ajna_schema.yml @@ -9,7 +9,7 @@ models: config: tag: ['ajna', 'cross-chain', 'borrowing', 'lending'] description: 'All deployed ERC-20 pools across all chains on Ajna' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/ajna/arbitrum/ajna_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/ajna/arbitrum/ajna_arbitrum_schema.yml index 41355ff9c56..a5bcf83de86 100644 --- a/dbt_subprojects/daily_spellbook/models/ajna/arbitrum/ajna_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ajna/arbitrum/ajna_arbitrum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["arbitrum", "ajna"] description: List of ERC20 pools deployed on Ajna - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_address diff --git a/dbt_subprojects/daily_spellbook/models/ajna/base/ajna_base_schema.yml b/dbt_subprojects/daily_spellbook/models/ajna/base/ajna_base_schema.yml index c20b984da18..af32d91d377 100644 --- a/dbt_subprojects/daily_spellbook/models/ajna/base/ajna_base_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ajna/base/ajna_base_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["base", "ajna"] description: List of ERC20 pools deployed on Ajna - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_address diff --git a/dbt_subprojects/daily_spellbook/models/ajna/ethereum/ajna_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/ajna/ethereum/ajna_ethereum_schema.yml index 5c0ecc017b0..9f117785291 100644 --- a/dbt_subprojects/daily_spellbook/models/ajna/ethereum/ajna_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ajna/ethereum/ajna_ethereum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["ethereum", "ajna"] description: List of ERC20 pools deployed on Ajna - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_address diff --git a/dbt_subprojects/daily_spellbook/models/ajna/optimism/ajna_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/ajna/optimism/ajna_optimism_schema.yml index 2f729940558..ef76a82aa92 100644 --- a/dbt_subprojects/daily_spellbook/models/ajna/optimism/ajna_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ajna/optimism/ajna_optimism_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["optimism", "ajna"] description: List of ERC20 pools deployed on Ajna - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_address diff --git a/dbt_subprojects/daily_spellbook/models/ajna/polygon/ajna_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/ajna/polygon/ajna_polygon_schema.yml index 0f9fbb3179a..4b779026a6f 100644 --- a/dbt_subprojects/daily_spellbook/models/ajna/polygon/ajna_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ajna/polygon/ajna_polygon_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["polygon", "ajna"] description: List of ERC20 pools deployed on Ajna - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_address diff --git a/dbt_subprojects/daily_spellbook/models/alchemy/ethereum/alchemy_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/alchemy/ethereum/alchemy_ethereum_schema.yml index 00b01dc3ab1..b9ca9485160 100644 --- a/dbt_subprojects/daily_spellbook/models/alchemy/ethereum/alchemy_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/alchemy/ethereum/alchemy_ethereum_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['alchemy', 'balances'] description: "Balances of alchemy smart account addresses" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/daily_spellbook/models/ape_store/ape_store_schema.yml b/dbt_subprojects/daily_spellbook/models/ape_store/ape_store_schema.yml index b83330fa0b1..07673c19d5d 100644 --- a/dbt_subprojects/daily_spellbook/models/ape_store/ape_store_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ape_store/ape_store_schema.yml @@ -10,7 +10,7 @@ models: tags: ["base", "ethereum", "ape_store", "dex", "whale_hunter"] description: > Trades for tokens that get deployed through ApeStore across all chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/daily_spellbook/models/ape_store/base/ape_store_base_schema.yml b/dbt_subprojects/daily_spellbook/models/ape_store/base/ape_store_base_schema.yml index db699608711..06d35571bec 100644 --- a/dbt_subprojects/daily_spellbook/models/ape_store/base/ape_store_base_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ape_store/base/ape_store_base_schema.yml @@ -10,7 +10,7 @@ models: tags: ["base", "ape_store", "dex", "whale_hunter"] description: > Trades for tokens that get deployed through ApeStore on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month @@ -77,7 +77,7 @@ models: tags: ["base", "ape_store", "dex", "whale_hunter"] description: > Tokens that get deployed through ApeStore on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - token diff --git a/dbt_subprojects/daily_spellbook/models/ape_store/ethereum/ape_store_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/ape_store/ethereum/ape_store_ethereum_schema.yml index 9f9c0897de6..007b050f81a 100644 --- a/dbt_subprojects/daily_spellbook/models/ape_store/ethereum/ape_store_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ape_store/ethereum/ape_store_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: ["ethereum", "ape_store", "dex", "whale_hunter"] description: > Trades for tokens that get deployed through ApeStore on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/daily_spellbook/models/aragon/arbitrum/aragon_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/aragon/arbitrum/aragon_arbitrum_schema.yml index 394ed6d88d9..a0eafa78863 100644 --- a/dbt_subprojects/daily_spellbook/models/aragon/arbitrum/aragon_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/aragon/arbitrum/aragon_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'arbitrum', 'dao', 'aragon', 'dao creator tools', 'Henrystats', 'Aragon app'] description: > wallet addresses of daos created on aragon app - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -25,7 +25,7 @@ models: description: "blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao diff --git a/dbt_subprojects/daily_spellbook/models/aragon/base/aragon_base_schema.yml b/dbt_subprojects/daily_spellbook/models/aragon/base/aragon_base_schema.yml index 3229e808448..2733f7f330c 100644 --- a/dbt_subprojects/daily_spellbook/models/aragon/base/aragon_base_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/aragon/base/aragon_base_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'base', 'dao', 'aragon', 'dao creator tools', 'Henrystats', 'Aragon app'] description: > wallet addresses of daos created on aragon app - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -25,7 +25,7 @@ models: description: "blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao diff --git a/dbt_subprojects/daily_spellbook/models/aragon/ethereum/aragon_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/aragon/ethereum/aragon_ethereum_schema.yml index 315ee82ce82..8315790928b 100644 --- a/dbt_subprojects/daily_spellbook/models/aragon/ethereum/aragon_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/aragon/ethereum/aragon_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'ethereum', 'dao', 'aragon', 'dao creator tools', 'Henrystats', 'Aragon Client'] description: > wallet addresses of daos created on aragon client - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -25,7 +25,7 @@ models: description: "blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao @@ -56,7 +56,7 @@ models: tags: [ 'ethereum', 'dao', 'aragon', 'dao creator tools', 'Henrystats', 'Aragon App'] description: > wallet addresses of daos created on aragon app - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -69,7 +69,7 @@ models: - *blockchain - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - *dao diff --git a/dbt_subprojects/daily_spellbook/models/aragon/gnosis/aragon_gnosis_schema.yml b/dbt_subprojects/daily_spellbook/models/aragon/gnosis/aragon_gnosis_schema.yml index 464e6a71940..f07f5f3489b 100644 --- a/dbt_subprojects/daily_spellbook/models/aragon/gnosis/aragon_gnosis_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/aragon/gnosis/aragon_gnosis_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'gnosis', 'dao', 'aragon', 'dao creator tools', 'Henrystats', 'Aragon Client'] description: > wallet addresses of daos created on aragon client - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -25,7 +25,7 @@ models: description: "blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao diff --git a/dbt_subprojects/daily_spellbook/models/aragon/polygon/aragon_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/aragon/polygon/aragon_polygon_schema.yml index 7e635363369..7b231bcc6de 100644 --- a/dbt_subprojects/daily_spellbook/models/aragon/polygon/aragon_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/aragon/polygon/aragon_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'polygon', 'dao', 'aragon', 'dao creator tools', 'Henrystats', 'Aragon Client'] description: > wallet addresses of daos created on aragon client - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - dao @@ -21,7 +21,7 @@ models: description: "blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao @@ -52,7 +52,7 @@ models: tags: [ 'polygon', 'dao', 'aragon', 'dao creator tools', 'Henrystats', 'Aragon App'] description: > wallet addresses of daos created on aragon app - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -65,7 +65,7 @@ models: - *blockchain - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - *dao diff --git a/dbt_subprojects/daily_spellbook/models/aragon/zksync/aragon_zksync_schema.yml b/dbt_subprojects/daily_spellbook/models/aragon/zksync/aragon_zksync_schema.yml index 20ca0a3e300..d9c3d7aa995 100644 --- a/dbt_subprojects/daily_spellbook/models/aragon/zksync/aragon_zksync_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/aragon/zksync/aragon_zksync_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'zksync', 'dao', 'aragon', 'dao creator tools', 'Henrystats', 'Aragon App'] description: > wallet addresses of daos created on aragon app - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - dao @@ -21,7 +21,7 @@ models: description: "blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao diff --git a/dbt_subprojects/daily_spellbook/models/aztec/ethereum/aztec_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/aztec/ethereum/aztec_ethereum_schema.yml index 74f3a81fe2a..700f2c9732b 100644 --- a/dbt_subprojects/daily_spellbook/models/aztec/ethereum/aztec_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/aztec/ethereum/aztec_ethereum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['ethereum','aztec', 'bridge'] description: "View aztec rollup bridge transactions on ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -91,7 +91,7 @@ models: config: tags: ['ethereum','aztec'] description: "List of assets added" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - asset_id @@ -229,5 +229,5 @@ models: description: "bridge type, used to include aztec rollup, other spells depend on this" - name: contract_address description: "bridge address" - tests: + data_tests: - unique diff --git a/dbt_subprojects/daily_spellbook/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml b/dbt_subprojects/daily_spellbook/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml index 8145db2d2e1..0145f61813a 100644 --- a/dbt_subprojects/daily_spellbook/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/beethoven_x/fantom/beethoven_x_fantom_schema.yml @@ -17,7 +17,7 @@ models: - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' - tests: + data_tests: - not_null - &token_address name: token_address @@ -35,7 +35,7 @@ models: tags: ['fantom', 'balancer', 'pools', 'liquidity'] description: > Beethoven X pools liquidity by token in fantom. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -78,7 +78,7 @@ models: tags: ['fantom', 'revenue', 'fees'] description: > Daily Protocol Fee collected and Revenue by pool on Beethoven X, an automated portfolio manager and trading platform built on Balancer. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -116,7 +116,7 @@ models: tags: ['fantom', 'bpt', 'supply'] description: > Balancer Pool Token (BPT) supply for Beethoven X pools built on Balancer. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -139,7 +139,7 @@ models: tags: ['fantom', 'bpt', 'prices'] description: > Balancer Pool Token (BPT) daily price by pool on Beethoven X, an automated portfolio manager and trading platform built on Balancer. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -163,7 +163,7 @@ models: tags: ['fantom', 'bpt', 'transfers'] description: > Balancer Pool Token (BPT) transfer logs on Beethoven X, an automated portfolio manager and trading platform built on Balancer. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -191,7 +191,7 @@ models: tags: ['fantom', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Beethoven X Pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -239,7 +239,7 @@ models: tags: ['fantom', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Beethoven X Pools, grouped by day. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -274,7 +274,7 @@ models: tags: ['fantom', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events on Beethoven X. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -313,7 +313,7 @@ models: tags: ['fantom', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events on Beethoven X, grouped by day - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -337,7 +337,7 @@ models: tags: ['fantom', 'jelly_swap', 'pool', 'stats', 'volume', 'tvl', 'fee'] description: > This spell aggregates data from the trades, liquidity and protocol fees spells, by day and pool, while also displaying some basic information about the pool - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/blur/ethereum/blur_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/blur/ethereum/blur_ethereum_schema.yml index 11b02c27ee3..ea663f80a50 100644 --- a/dbt_subprojects/daily_spellbook/models/blur/ethereum/blur_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/blur/ethereum/blur_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'loans', 'ethereum', 'blend', 'blur'] description: "All Blend-related events" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - lien_id diff --git a/dbt_subprojects/daily_spellbook/models/boost/arbitrum/boost_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/boost/arbitrum/boost_arbitrum_schema.yml index 49982964533..8a9d3539d94 100644 --- a/dbt_subprojects/daily_spellbook/models/boost/arbitrum/boost_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/boost/arbitrum/boost_arbitrum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["arbitrum", "boost", "boost_inbox", "quest"] description: Boost deployments on [boost.xyz](https://boost.xyz), an open source platform to incentivize any onchain action, with any token, on any chain. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address @@ -69,7 +69,7 @@ models: config: tags: ["arbitrum", "boost", "boost_inbox", "quest"] description: "Reward claimed from Boost completion" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address diff --git a/dbt_subprojects/daily_spellbook/models/boost/base/boost_base_schema.yml b/dbt_subprojects/daily_spellbook/models/boost/base/boost_base_schema.yml index 11902fec105..6236ef656c5 100644 --- a/dbt_subprojects/daily_spellbook/models/boost/base/boost_base_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/boost/base/boost_base_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["base", "boost", "boost_inbox", "quest"] description: Boost deployments on [boost.xyz](https://boost.xyz), an open source platform to incentivize any onchain action, with any token, on any chain. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address @@ -69,7 +69,7 @@ models: config: tags: ["base", "boost", "boost_inbox", "quest"] description: "Reward claimed from Boost completion" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address diff --git a/dbt_subprojects/daily_spellbook/models/boost/boost_schema.yml b/dbt_subprojects/daily_spellbook/models/boost/boost_schema.yml index 1ba1c7e778b..8d55ae909ff 100644 --- a/dbt_subprojects/daily_spellbook/models/boost/boost_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/boost/boost_schema.yml @@ -8,7 +8,7 @@ models: config: tags: ["boost", "boost_inbox", "quest"] description: Boost deployments on [boost.xyz](https://boost.xyz), an open source platform to incentivize any onchain action, with any token, on any chain. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address @@ -67,7 +67,7 @@ models: config: tags: ["boost", "boost_inbox", "quest"] description: Boost rewards claimed after actions are completed - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address diff --git a/dbt_subprojects/daily_spellbook/models/boost/ethereum/boost_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/boost/ethereum/boost_ethereum_schema.yml index c2e9eb13a07..786bca650f8 100644 --- a/dbt_subprojects/daily_spellbook/models/boost/ethereum/boost_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/boost/ethereum/boost_ethereum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["ethereum", "boost", "boost_inbox", "quest"] description: Boost deployments on [boost.xyz](https://boost.xyz), an open source platform to incentivize any onchain action, with any token, on any chain. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address @@ -69,7 +69,7 @@ models: config: tags: ["ethereum", "boost", "boost_inbox", "quest"] description: "Reward claimed from Boost completion" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address diff --git a/dbt_subprojects/daily_spellbook/models/boost/optimism/boost_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/boost/optimism/boost_optimism_schema.yml index 022c7073042..5427661f565 100644 --- a/dbt_subprojects/daily_spellbook/models/boost/optimism/boost_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/boost/optimism/boost_optimism_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["optimism", "boost", "boost_inbox", "quest"] description: Boost deployments on [boost.xyz](https://boost.xyz), an open source platform to incentivize any onchain action, with any token, on any chain. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address @@ -69,7 +69,7 @@ models: config: tags: ["optimism", "boost", "boost_inbox", "quest"] description: "Reward claimed from Boost completion" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address diff --git a/dbt_subprojects/daily_spellbook/models/boost/polygon/boost_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/boost/polygon/boost_polygon_schema.yml index ca74e338011..3072699d853 100644 --- a/dbt_subprojects/daily_spellbook/models/boost/polygon/boost_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/boost/polygon/boost_polygon_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["polygon", "boost", "boost_inbox", "quest"] description: Boost deployments on [boost.xyz](https://boost.xyz), an open source platform to incentivize any onchain action, with any token, on any chain. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address @@ -69,7 +69,7 @@ models: config: tags: ["polygon", "boost", "boost_inbox", "quest"] description: "Reward claimed from Boost completion" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address diff --git a/dbt_subprojects/daily_spellbook/models/boost/zora/boost_zora_schema.yml b/dbt_subprojects/daily_spellbook/models/boost/zora/boost_zora_schema.yml index ea214435b01..7e48e2e4b6d 100644 --- a/dbt_subprojects/daily_spellbook/models/boost/zora/boost_zora_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/boost/zora/boost_zora_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["zora", "boost", "boost_inbox", "quest"] description: Boost deployments on [boost.xyz](https://boost.xyz), an open source platform to incentivize any onchain action, with any token, on any chain. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address @@ -69,7 +69,7 @@ models: config: tags: ["zora", "boost", "boost_inbox", "quest"] description: "Reward claimed from Boost completion" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - boost_address diff --git a/dbt_subprojects/daily_spellbook/models/bridge/bridges_schema.yml b/dbt_subprojects/daily_spellbook/models/bridge/bridges_schema.yml index 90c499ab195..d3ecedd25c0 100644 --- a/dbt_subprojects/daily_spellbook/models/bridge/bridges_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/bridge/bridges_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'optimism', 'bridge', 'flows', 'cross-chain'] description: > Cross-chain bridge transfers on all chains across all contracts and versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/bridge/optimism/optimism_standard_bridge_schema.yml b/dbt_subprojects/daily_spellbook/models/bridge/optimism/optimism_standard_bridge_schema.yml index 41ee7404beb..4ac27c21921 100644 --- a/dbt_subprojects/daily_spellbook/models/bridge/optimism/optimism_standard_bridge_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/bridge/optimism/optimism_standard_bridge_schema.yml @@ -9,7 +9,7 @@ models: tags: ['bridge','standard_bridge', 'flows', 'cross-chain', 'optimism'] description: > Table aggregating bridge transfers through Optimism's Standard Bridge. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/bridge/zksync/bridge_zksync_native_flows_schema.yml b/dbt_subprojects/daily_spellbook/models/bridge/zksync/bridge_zksync_native_flows_schema.yml index 64f9718c876..d3f58fe95da 100644 --- a/dbt_subprojects/daily_spellbook/models/bridge/zksync/bridge_zksync_native_flows_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/bridge/zksync/bridge_zksync_native_flows_schema.yml @@ -9,7 +9,7 @@ models: tags: ['bridge','native_bridge', 'flows', 'cross-chain', 'zksync'] description: > Table aggregating bridge transfers through zkSync Era's Native Bridge. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/bridges/arbitrum/_schema.yml b/dbt_subprojects/daily_spellbook/models/bridges/arbitrum/_schema.yml index b6a3420fb3b..634462ffa3d 100644 --- a/dbt_subprojects/daily_spellbook/models/bridges/arbitrum/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/bridges/arbitrum/_schema.yml @@ -15,7 +15,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known Bridges" - tests: + data_tests: - unique - name: bridge_name description: "Name of protocol behind the bridge" diff --git a/dbt_subprojects/daily_spellbook/models/bridges/base/_schema.yml b/dbt_subprojects/daily_spellbook/models/bridges/base/_schema.yml index bc4bf1484ff..d89ba0934ea 100644 --- a/dbt_subprojects/daily_spellbook/models/bridges/base/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/bridges/base/_schema.yml @@ -15,7 +15,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known Bridges" - tests: + data_tests: - unique - name: bridge_name description: "Name of protocol behind the bridge" diff --git a/dbt_subprojects/daily_spellbook/models/bridges/bnb/_schema.yml b/dbt_subprojects/daily_spellbook/models/bridges/bnb/_schema.yml index deb0d6e668d..a8cfdb056f8 100644 --- a/dbt_subprojects/daily_spellbook/models/bridges/bnb/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/bridges/bnb/_schema.yml @@ -15,7 +15,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known Bridges" - tests: + data_tests: - unique - name: bridge_name description: "Name of protocol behind the bridge" diff --git a/dbt_subprojects/daily_spellbook/models/bridges/ethereum/_schema.yml b/dbt_subprojects/daily_spellbook/models/bridges/ethereum/_schema.yml index 0ae006311d9..6beac3a79ca 100644 --- a/dbt_subprojects/daily_spellbook/models/bridges/ethereum/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/bridges/ethereum/_schema.yml @@ -15,7 +15,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known Bridges" - tests: + data_tests: - unique - name: bridge_name description: "Name of protocol behind the bridge" diff --git a/dbt_subprojects/daily_spellbook/models/bridges/optimism/_schema.yml b/dbt_subprojects/daily_spellbook/models/bridges/optimism/_schema.yml index ddf6954fcec..28e2a15ccc0 100644 --- a/dbt_subprojects/daily_spellbook/models/bridges/optimism/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/bridges/optimism/_schema.yml @@ -15,7 +15,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known Bridges" - tests: + data_tests: - unique - name: bridge_name description: "Name of protocol behind the bridge" diff --git a/dbt_subprojects/daily_spellbook/models/bridges/polygon/_schema.yml b/dbt_subprojects/daily_spellbook/models/bridges/polygon/_schema.yml index 832325b5b11..de9f79bdc5b 100644 --- a/dbt_subprojects/daily_spellbook/models/bridges/polygon/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/bridges/polygon/_schema.yml @@ -15,7 +15,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known Bridges" - tests: + data_tests: - unique - name: bridge_name description: "Name of protocol behind the bridge" diff --git a/dbt_subprojects/daily_spellbook/models/chain_info/chain_info_schema.yml b/dbt_subprojects/daily_spellbook/models/chain_info/chain_info_schema.yml index f808401b696..44e600299bb 100644 --- a/dbt_subprojects/daily_spellbook/models/chain_info/chain_info_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chain_info/chain_info_schema.yml @@ -10,7 +10,7 @@ models: tags: ['chains','cross-chain'] description: > Table mapping chain IDs to names - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - chain_id @@ -47,7 +47,7 @@ models: tags: ['chains','cross-chain'] description: > Table mapping chain IDs to names. Compatible/joinable with `prices` project. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - chain_id diff --git a/dbt_subprojects/daily_spellbook/models/chainlink/arbitrum/chainlink_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/chainlink/arbitrum/chainlink_arbitrum_schema.yml index 77cb40f4b0b..34ad0c57468 100644 --- a/dbt_subprojects/daily_spellbook/models/chainlink/arbitrum/chainlink_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chainlink/arbitrum/chainlink_arbitrum_schema.yml @@ -57,7 +57,7 @@ models: tags: ["arbitrum", "chainlink", "oracle"] description: > Table pulling price updates for known Chainlink oracle addresses, truncated to hourly average price for easier joining with other on-chain tables. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -88,7 +88,7 @@ models: tags: ["arbitrum", "chainlink", "oracle"] description: > Manually updated table for mapping chainlink feeds to proxy addresses and the aggregator addresses (where updates read to) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - proxy_address @@ -111,7 +111,7 @@ models: tags: ["chainlink", "ocr", "gas", "transmission", "logs", "arbitrum"] description: > Chainlink OCR Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -162,7 +162,7 @@ models: tags: ["chainlink", "ocr", "fulfilled", "transactions", "arbitrum"] description: > Chainlink OCR Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -196,7 +196,7 @@ models: tags: ["chainlink", "ocr", "reverted", "transactions", "arbitrum"] description: > Chainlink OCR Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -222,7 +222,7 @@ models: tags: ["chainlink", "ocr", "gas", "daily", "arbitrum"] description: > Chainlink OCR Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -266,7 +266,7 @@ models: tags: ["chainlink", "ocr", "request", "daily", "arbitrum"] description: > Chainlink OCR Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -344,7 +344,7 @@ models: ["chainlink", "ocr", "reward", "evt", "transfer", "daily", "arbitrum"] description: > Chainlink OCR Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -367,7 +367,7 @@ models: tags: ["chainlink", "ocr", "reward", "daily", "arbitrum"] description: > Chainlink OCR Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -391,7 +391,7 @@ models: tags: ["chainlink", "fm", "gas", "daily", "arbitrum"] description: > Chainlink FM Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -419,7 +419,7 @@ models: tags: ["chainlink", "fm", "gas", "submission", "logs", "arbitrum"] description: > Chainlink FM Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -450,7 +450,7 @@ models: tags: ["chainlink", "fm", "fulfilled", "transactions", "arbitrum"] description: > Chainlink FM Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -476,7 +476,7 @@ models: tags: ["chainlink", "fm", "request", "daily", "arbitrum"] description: > Chainlink FM Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -501,7 +501,7 @@ models: tags: ["chainlink", "fm", "reverted", "transactions", "arbitrum"] description: > Chainlink FM Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -527,7 +527,7 @@ models: tags: ["chainlink", "fm", "reward", "daily", "arbitrum"] description: > Chainlink FM Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -568,7 +568,7 @@ models: ["chainlink", "fm", "reward", "evt", "transfer", "daily", "arbitrum"] description: > Chainlink FM Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -590,7 +590,7 @@ models: tags: ["chainlink", "vrf", "fulfilled", "transactions", "arbitrum"] description: > Chainlink VRF Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -616,7 +616,7 @@ models: tags: ["chainlink", "vrf", "gas", "daily", "arbitrum"] description: > Chainlink VRF Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -644,7 +644,7 @@ models: ["chainlink", "vrf", "v1", "random", "fulfilled", "logs", "arbitrum"] description: > Chainlink VRF V1 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -678,7 +678,7 @@ models: tags: ["chainlink", "vrf", "v1", "random", "request", "logs", "arbitrum"] description: > Chainlink VRF V1 Randomness Requested Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -710,7 +710,7 @@ models: ["chainlink", "vrf", "v2", "random", "fulfilled", "logs", "arbitrum"] description: > Chainlink VRF V2 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -742,7 +742,7 @@ models: tags: ["chainlink", "vrf", "request", "daily", "arbitrum"] description: > Chainlink VRF Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -766,7 +766,7 @@ models: tags: ["chainlink", "vrf", "reverted", "transactions", "arbitrum"] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -792,7 +792,7 @@ models: tags: ["chainlink", "vrf", "reward", "daily", "arbitrum"] description: > Chainlink VRF Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -832,7 +832,7 @@ models: tags: ["chainlink", "vrf", "request", "fulfilled", "daily", "arbitrum"] description: > Chainlink VRF Request Fulfilled Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -854,7 +854,7 @@ models: tags: ["chainlink", "read", "requests", "feeds", "daily", "arbitrum"] description: > Chainlink Read Requests Feeds Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -922,7 +922,7 @@ models: tags: ["chainlink", "read", "requests", "requester", "daily", "arbitrum"] description: > Chainlink Read Requests Requester Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -967,7 +967,7 @@ models: tags: ["chainlink", "ccip", "fulfilled", "transactions", "arbitrum"] description: > Chainlink CCIP Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -993,7 +993,7 @@ models: tags: ["chainlink", "ccip", "gas", "daily", "arbitrum"] description: > Chainlink CCIP Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1021,7 +1021,7 @@ models: tags: ["chainlink", "ccip", "request", "daily", "arbitrum"] description: > Chainlink CCIP Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1043,7 +1043,7 @@ models: tags: ["chainlink", "ccip", "reverted", "transactions", "arbitrum"] description: > Chainlink CCIP Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1067,7 +1067,7 @@ models: tags: ["chainlink", "ccip", "reward", "daily", "arbitrum"] description: > Chainlink CCIP Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1116,7 +1116,7 @@ models: tags: ["chainlink", "ccip", "send", "requested", "daily", "arbitrum"] description: > Chainlink CCIP Send Requested Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1178,7 +1178,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "logs", "arbitrum"] description: > Chainlink CCIP Tokens Transferred Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1211,7 +1211,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "arbitrum"] description: > Chainlink CCIP Tokens Transferred - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1240,7 +1240,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "fulfilled", "arbitrum"] description: > Chainlink CCIP Transmitted Fulfilled - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1266,7 +1266,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "reverted", "arbitrum"] description: > Chainlink CCIP Transmitted Reverted - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1345,7 +1345,7 @@ models: tags: ["chainlink", "ccip", "nop", "reward", "daily", "arbitrum"] description: > Chainlink CCIP Nop Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - date_start diff --git a/dbt_subprojects/daily_spellbook/models/chainlink/avalanche_c/chainlink_avalanche_c_schema.yml b/dbt_subprojects/daily_spellbook/models/chainlink/avalanche_c/chainlink_avalanche_c_schema.yml index 0503fa4a6ba..e7543a60249 100644 --- a/dbt_subprojects/daily_spellbook/models/chainlink/avalanche_c/chainlink_avalanche_c_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chainlink/avalanche_c/chainlink_avalanche_c_schema.yml @@ -57,7 +57,7 @@ models: tags: ["avalanche_c", "chainlink", "oracle"] description: > Table pulling price updates for known Chainlink oracle addresses, truncated to hourly average price for easier joining with other on-chain tables. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -88,7 +88,7 @@ models: tags: ["avalanche_c", "chainlink", "oracle"] description: > Manually updated table for mapping chainlink feeds to proxy addresses and the aggregator addresses (where updates read to) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - proxy_address @@ -111,7 +111,7 @@ models: tags: ["chainlink", "ocr", "gas", "transmission", "logs", "avalanche_c"] description: > Chainlink OCR Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -162,7 +162,7 @@ models: tags: ["chainlink", "ocr", "fulfilled", "transactions", "avalanche_c"] description: > Chainlink OCR Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -196,7 +196,7 @@ models: tags: ["chainlink", "ocr", "reverted", "transactions", "avalanche_c"] description: > Chainlink OCR Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -222,7 +222,7 @@ models: tags: ["chainlink", "ocr", "gas", "daily", "avalanche_c"] description: > Chainlink OCR Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -266,7 +266,7 @@ models: tags: ["chainlink", "ocr", "request", "daily", "avalanche_c"] description: > Chainlink OCR Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -353,7 +353,7 @@ models: ] description: > Chainlink OCR Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -376,7 +376,7 @@ models: tags: ["chainlink", "ocr", "reward", "daily", "avalanche_c"] description: > Chainlink OCR Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -400,7 +400,7 @@ models: tags: ["chainlink", "fm", "gas", "daily", "avalanche_c"] description: > Chainlink FM Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -428,7 +428,7 @@ models: tags: ["chainlink", "fm", "gas", "submission", "logs", "avalanche_c"] description: > Chainlink FM Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -459,7 +459,7 @@ models: tags: ["chainlink", "fm", "fulfilled", "transactions", "avalanche_c"] description: > Chainlink FM Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -485,7 +485,7 @@ models: tags: ["chainlink", "fm", "request", "daily", "avalanche_c"] description: > Chainlink FM Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -510,7 +510,7 @@ models: tags: ["chainlink", "fm", "reverted", "transactions", "avalanche_c"] description: > Chainlink FM Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -536,7 +536,7 @@ models: tags: ["chainlink", "fm", "reward", "daily", "avalanche_c"] description: > Chainlink FM Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -577,7 +577,7 @@ models: ["chainlink", "fm", "reward", "evt", "transfer", "daily", "avalanche_c"] description: > Chainlink FM Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -602,7 +602,7 @@ models: ["chainlink", "automation", "fulfilled", "transactions", "avalanche_c"] description: > Chainlink Automation Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -629,7 +629,7 @@ models: tags: ["chainlink", "automation", "gas", "daily", "avalanche_c"] description: > Chainlink Automation Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -666,7 +666,7 @@ models: ] description: > Chainlink Automation Gas Submission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -701,7 +701,7 @@ models: tags: ["chainlink", "automation", "request", "daily", "avalanche_c"] description: > Chainlink Automation Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -728,7 +728,7 @@ models: ["chainlink", "automation", "reverted", "transactions", "avalanche_c"] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -755,7 +755,7 @@ models: tags: ["chainlink", "automation", "reward", "daily", "avalanche_c"] description: > Chainlink Automation Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -799,7 +799,7 @@ models: tags: ["chainlink", "automation", "performed", "daily", "avalanche_c"] description: > Chainlink Automation Performed Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -822,7 +822,7 @@ models: tags: ["chainlink", "vrf", "fulfilled", "transactions", "avalanche_c"] description: > Chainlink VRF Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -848,7 +848,7 @@ models: tags: ["chainlink", "vrf", "gas", "daily", "avalanche_c"] description: > Chainlink VRF Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -876,7 +876,7 @@ models: ["chainlink", "vrf", "v1", "random", "fulfilled", "logs", "avalanche_c"] description: > Chainlink VRF V1 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -909,7 +909,7 @@ models: ["chainlink", "vrf", "v1", "random", "request", "logs", "avalanche_c"] description: > Chainlink VRF V1 Randomness Requested Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -941,7 +941,7 @@ models: ["chainlink", "vrf", "v2", "random", "fulfilled", "logs", "avalanche_c"] description: > Chainlink VRF V2 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -973,7 +973,7 @@ models: tags: ["chainlink", "vrf", "request", "daily", "avalanche_c"] description: > Chainlink VRF Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -997,7 +997,7 @@ models: tags: ["chainlink", "vrf", "reverted", "transactions", "avalanche_c"] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1023,7 +1023,7 @@ models: tags: ["chainlink", "vrf", "reward", "daily", "avalanche_c"] description: > Chainlink VRF Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1063,7 +1063,7 @@ models: tags: ["chainlink", "vrf", "request", "fulfilled", "daily", "avalanche_c"] description: > Chainlink VRF Request Fulfilled Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1085,7 +1085,7 @@ models: tags: ["chainlink", "read", "requests", "feeds", "daily", "avalanche_c"] description: > Chainlink Read Requests Feeds Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1154,7 +1154,7 @@ models: ["chainlink", "read", "requests", "requester", "daily", "avalanche_c"] description: > Chainlink Read Requests Requester Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1199,7 +1199,7 @@ models: tags: ["chainlink", "ccip", "fulfilled", "transactions", "avalanche_c"] description: > Chainlink CCIP Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1225,7 +1225,7 @@ models: tags: ["chainlink", "ccip", "gas", "daily", "avalanche_c"] description: > Chainlink CCIP Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1253,7 +1253,7 @@ models: tags: ["chainlink", "ccip", "request", "daily", "avalanche_c"] description: > Chainlink CCIP Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1275,7 +1275,7 @@ models: tags: ["chainlink", "ccip", "reverted", "transactions", "avalanche_c"] description: > Chainlink CCIP Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1299,7 +1299,7 @@ models: tags: ["chainlink", "ccip", "reward", "daily", "avalanche_c"] description: > Chainlink CCIP Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1348,7 +1348,7 @@ models: tags: ["chainlink", "ccip", "send", "requested", "daily", "avalanche_c"] description: > Chainlink CCIP Send Requested Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1411,7 +1411,7 @@ models: ["chainlink", "ccip", "tokens", "transferred", "logs", "avalanche_c"] description: > Chainlink CCIP Tokens Transferred Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1444,7 +1444,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "avalanche_c"] description: > Chainlink CCIP Tokens Transferred - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1473,7 +1473,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "fulfilled", "avalanche_c"] description: > Chainlink CCIP Transmitted Fulfilled - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1499,7 +1499,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "reverted", "avalanche_c"] description: > Chainlink CCIP Transmitted Reverted - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1578,7 +1578,7 @@ models: tags: ["chainlink", "ccip", "nop", "reward", "daily", "avalanche_c"] description: > Chainlink CCIP Nop Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - date_start diff --git a/dbt_subprojects/daily_spellbook/models/chainlink/base/chainlink_base_schema.yml b/dbt_subprojects/daily_spellbook/models/chainlink/base/chainlink_base_schema.yml index 04fc351a76a..9d43b96cfaa 100644 --- a/dbt_subprojects/daily_spellbook/models/chainlink/base/chainlink_base_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chainlink/base/chainlink_base_schema.yml @@ -10,7 +10,7 @@ models: tags: ["chainlink", "ccip", "fulfilled", "transactions", "base"] description: > Chainlink CCIP Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -46,7 +46,7 @@ models: tags: ["chainlink", "ccip", "gas", "daily", "base"] description: > Chainlink CCIP Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -92,7 +92,7 @@ models: tags: ["chainlink", "ccip", "request", "daily", "base"] description: > Chainlink CCIP Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -120,7 +120,7 @@ models: tags: ["chainlink", "ccip", "reverted", "transactions", "base"] description: > Chainlink CCIP Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -144,7 +144,7 @@ models: tags: ["chainlink", "ccip", "reward", "daily", "base"] description: > Chainlink CCIP Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -199,7 +199,7 @@ models: tags: ["chainlink", "ccip", "send", "requested", "daily", "base"] description: > Chainlink CCIP Send Requested Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -273,7 +273,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "logs", "base"] description: > Chainlink CCIP Tokens Transferred Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -320,7 +320,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "base"] description: > Chainlink CCIP Tokens Transferred - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -349,7 +349,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "fulfilled", "base"] description: > Chainlink CCIP Transmitted Fulfilled - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -375,7 +375,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "reverted", "base"] description: > Chainlink CCIP Transmitted Reverted - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -454,7 +454,7 @@ models: tags: ["chainlink", "ccip", "nop", "reward", "daily", "base"] description: > Chainlink CCIP Nop Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - date_start diff --git a/dbt_subprojects/daily_spellbook/models/chainlink/bnb/chainlink_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/chainlink/bnb/chainlink_bnb_schema.yml index e89c9b4353b..6c65d7b8ec8 100644 --- a/dbt_subprojects/daily_spellbook/models/chainlink/bnb/chainlink_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chainlink/bnb/chainlink_bnb_schema.yml @@ -57,7 +57,7 @@ models: tags: ["bnb", "chainlink", "oracle"] description: > Table pulling price updates for known Chainlink oracle addresses, truncated to hourly average price for easier joining with other on-chain tables. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -88,7 +88,7 @@ models: tags: ["bnb", "chainlink", "oracle"] description: > Manually updated table for mapping chainlink feeds to proxy addresses and the aggregator addresses (where updates read to) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - proxy_address @@ -111,7 +111,7 @@ models: tags: ["chainlink", "ocr", "gas", "transmission", "logs", "bnb"] description: > Chainlink OCR Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -162,7 +162,7 @@ models: tags: ["chainlink", "ocr", "fulfilled", "transactions", "bnb"] description: > Chainlink OCR Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -196,7 +196,7 @@ models: tags: ["chainlink", "ocr", "reverted", "transactions", "bnb"] description: > Chainlink OCR Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -222,7 +222,7 @@ models: tags: ["chainlink", "ocr", "gas", "daily", "bnb"] description: > Chainlink OCR Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -266,7 +266,7 @@ models: tags: ["chainlink", "ocr", "request", "daily", "bnb"] description: > Chainlink OCR Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -343,7 +343,7 @@ models: tags: ["chainlink", "ocr", "reward", "evt", "transfer", "daily", "bnb"] description: > Chainlink OCR Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -366,7 +366,7 @@ models: tags: ["chainlink", "ocr", "reward", "daily", "bnb"] description: > Chainlink OCR Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -390,7 +390,7 @@ models: tags: ["chainlink", "fm", "gas", "daily", "bnb"] description: > Chainlink FM Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -418,7 +418,7 @@ models: tags: ["chainlink", "fm", "gas", "submission", "logs", "bnb"] description: > Chainlink FM Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -449,7 +449,7 @@ models: tags: ["chainlink", "fm", "fulfilled", "transactions", "bnb"] description: > Chainlink FM Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -475,7 +475,7 @@ models: tags: ["chainlink", "fm", "request", "daily", "bnb"] description: > Chainlink FM Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -500,7 +500,7 @@ models: tags: ["chainlink", "fm", "reverted", "transactions", "bnb"] description: > Chainlink FM Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -526,7 +526,7 @@ models: tags: ["chainlink", "fm", "reward", "daily", "bnb"] description: > Chainlink FM Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -566,7 +566,7 @@ models: tags: ["chainlink", "fm", "reward", "evt", "transfer", "daily", "bnb"] description: > Chainlink FM Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -590,7 +590,7 @@ models: tags: ["chainlink", "automation", "fulfilled", "transactions", "bnb"] description: > Chainlink Automation Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -617,7 +617,7 @@ models: tags: ["chainlink", "automation", "gas", "daily", "bnb"] description: > Chainlink Automation Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -646,7 +646,7 @@ models: tags: ["chainlink", "automation", "upkeep", "performed", "logs", "bnb"] description: > Chainlink Automation Gas Submission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -681,7 +681,7 @@ models: tags: ["chainlink", "automation", "request", "daily", "bnb"] description: > Chainlink Automation Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -707,7 +707,7 @@ models: tags: ["chainlink", "automation", "reverted", "transactions", "bnb"] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -734,7 +734,7 @@ models: tags: ["chainlink", "automation", "reward", "daily", "bnb"] description: > Chainlink Automation Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -778,7 +778,7 @@ models: tags: ["chainlink", "automation", "performed", "daily", "bnb"] description: > Chainlink Automation Performed Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -801,7 +801,7 @@ models: tags: ["chainlink", "vrf", "fulfilled", "transactions", "bnb"] description: > Chainlink VRF Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -827,7 +827,7 @@ models: tags: ["chainlink", "vrf", "gas", "daily", "bnb"] description: > Chainlink VRF Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -854,7 +854,7 @@ models: tags: ["chainlink", "vrf", "v1", "random", "fulfilled", "logs", "bnb"] description: > Chainlink VRF V1 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -886,7 +886,7 @@ models: tags: ["chainlink", "vrf", "v1", "random", "request", "logs", "bnb"] description: > Chainlink VRF V1 Randomness Requested Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -917,7 +917,7 @@ models: tags: ["chainlink", "vrf", "v2", "random", "fulfilled", "logs", "bnb"] description: > Chainlink VRF V2 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -949,7 +949,7 @@ models: tags: ["chainlink", "vrf", "request", "daily", "bnb"] description: > Chainlink VRF Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -973,7 +973,7 @@ models: tags: ["chainlink", "vrf", "reverted", "transactions", "bnb"] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -999,7 +999,7 @@ models: tags: ["chainlink", "vrf", "reward", "daily", "bnb"] description: > Chainlink VRF Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1039,7 +1039,7 @@ models: tags: ["chainlink", "vrf", "request", "fulfilled", "daily", "bnb"] description: > Chainlink VRF Request Fulfilled Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1061,7 +1061,7 @@ models: tags: ["chainlink", "read", "requests", "feeds", "daily", "bnb"] description: > Chainlink Read Requests Feeds Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1129,7 +1129,7 @@ models: tags: ["chainlink", "read", "requests", "requester", "daily", "bnb"] description: > Chainlink Read Requests Requester Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1174,7 +1174,7 @@ models: tags: ["chainlink", "ccip", "fulfilled", "transactions", "bnb"] description: > Chainlink CCIP Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1200,7 +1200,7 @@ models: tags: ["chainlink", "ccip", "gas", "daily", "bnb"] description: > Chainlink CCIP Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1228,7 +1228,7 @@ models: tags: ["chainlink", "ccip", "request", "daily", "bnb"] description: > Chainlink CCIP Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1250,7 +1250,7 @@ models: tags: ["chainlink", "ccip", "reverted", "transactions", "bnb"] description: > Chainlink CCIP Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1274,7 +1274,7 @@ models: tags: ["chainlink", "ccip", "reward", "daily", "bnb"] description: > Chainlink CCIP Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1323,7 +1323,7 @@ models: tags: ["chainlink", "ccip", "send", "requested", "daily", "bnb"] description: > Chainlink CCIP Send Requested Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1385,7 +1385,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "logs", "bnb"] description: > Chainlink CCIP Tokens Transferred Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1418,7 +1418,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "bnb"] description: > Chainlink CCIP Tokens Transferred - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1447,7 +1447,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "fulfilled", "bnb"] description: > Chainlink CCIP Transmitted Fulfilled - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1473,7 +1473,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "reverted", "bnb"] description: > Chainlink CCIP Transmitted Reverted - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1552,7 +1552,7 @@ models: tags: ["chainlink", "ccip", "nop", "reward", "daily", "bnb"] description: > Chainlink CCIP Nop Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - date_start diff --git a/dbt_subprojects/daily_spellbook/models/chainlink/chainlink_schema.yml b/dbt_subprojects/daily_spellbook/models/chainlink/chainlink_schema.yml index a246a40a9f2..1734c65f81b 100644 --- a/dbt_subprojects/daily_spellbook/models/chainlink/chainlink_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chainlink/chainlink_schema.yml @@ -132,7 +132,7 @@ models: ] description: > Chainlink OCR Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -208,7 +208,7 @@ models: ] description: > Chainlink OCR Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -267,7 +267,7 @@ models: ] description: > Chainlink OCR Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -318,7 +318,7 @@ models: ] description: > Chainlink OCR Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -387,7 +387,7 @@ models: ] description: > Chainlink OCR Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -543,7 +543,7 @@ models: ] description: > Chainlink OCR Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -591,7 +591,7 @@ models: ] description: > Chainlink OCR Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -640,7 +640,7 @@ models: ] description: > Chainlink FM Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -691,7 +691,7 @@ models: ] description: > Chainlink FM Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -745,7 +745,7 @@ models: ] description: > Chainlink FM Gas Submission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -801,7 +801,7 @@ models: ] description: > Chainlink FM Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -851,7 +851,7 @@ models: ] description: > Chainlink FM Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -902,7 +902,7 @@ models: ] description: > Chainlink FM Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -995,7 +995,7 @@ models: ] description: > Chainlink FM Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1030,7 +1030,7 @@ models: ] description: > Chainlink Automation Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1068,7 +1068,7 @@ models: ] description: > Chainlink Automation Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1109,7 +1109,7 @@ models: ] description: > Chainlink Automation Gas Submission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1155,7 +1155,7 @@ models: ] description: > Chainlink Automation Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1192,7 +1192,7 @@ models: ] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1230,7 +1230,7 @@ models: ] description: > Chainlink Automation Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1295,7 +1295,7 @@ models: ] description: > Chainlink Automation Performed Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1332,7 +1332,7 @@ models: ] description: > Chainlink VRF Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1372,7 +1372,7 @@ models: ] description: > Chainlink VRF Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1415,7 +1415,7 @@ models: ] description: > Chainlink VRF V1 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1462,7 +1462,7 @@ models: ] description: > Chainlink VRF V1 Randomness Requested Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1509,7 +1509,7 @@ models: ] description: > Chainlink VRF V2 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1555,7 +1555,7 @@ models: ] description: > Chainlink VRF Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1593,7 +1593,7 @@ models: ] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1633,7 +1633,7 @@ models: ] description: > Chainlink VRF Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1702,7 +1702,7 @@ models: ] description: > Chainlink VRF Request Fulfilled Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1739,7 +1739,7 @@ models: ] description: > Chainlink Read Requests Feeds Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1850,7 +1850,7 @@ models: ] description: > Chainlink Read Requests Requester Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1932,7 +1932,7 @@ models: ] description: > Chainlink CCIP Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1981,7 +1981,7 @@ models: ] description: > Chainlink CCIP Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -2032,7 +2032,7 @@ models: ] description: > Chainlink CCIP Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -2077,7 +2077,7 @@ models: ] description: > Chainlink CCIP Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -2124,7 +2124,7 @@ models: ] description: > Chainlink CCIP Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -2222,7 +2222,7 @@ models: ] description: > Chainlink CCIP Send Requested Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -2333,7 +2333,7 @@ models: ] description: > Chainlink CCIP Tokens Transferred Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -2389,7 +2389,7 @@ models: ] description: > Chainlink CCIP Tokens Transferred - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -2441,7 +2441,7 @@ models: ] description: > Chainlink CCIP Transmitted Fulfilled - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -2490,7 +2490,7 @@ models: ] description: > Chainlink CCIP Transmitted Reverted - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/chainlink/ethereum/chainlink_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/chainlink/ethereum/chainlink_ethereum_schema.yml index 6cce7dcfc92..7cd816ae28c 100644 --- a/dbt_subprojects/daily_spellbook/models/chainlink/ethereum/chainlink_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chainlink/ethereum/chainlink_ethereum_schema.yml @@ -57,7 +57,7 @@ models: tags: ["ethereum", "chainlink", "oracle"] description: > Table pulling price updates for known Chainlink oracle addresses, truncated to hourly average price for easier joining with other on-chain tables. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -88,7 +88,7 @@ models: tags: ["ethereum", "chainlink", "oracle"] description: > Manually updated table for mapping chainlink feeds to proxy addresses and the aggregator addresses (where updates read to) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - proxy_address @@ -111,7 +111,7 @@ models: tags: ["chainlink", "ocr", "gas", "transmission", "logs", "ethereum"] description: > Chainlink OCR Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -162,7 +162,7 @@ models: tags: ["chainlink", "ocr", "fulfilled", "transactions", "ethereum"] description: > Chainlink OCR Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -196,7 +196,7 @@ models: tags: ["chainlink", "ocr", "reverted", "transactions", "ethereum"] description: > Chainlink OCR Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -222,7 +222,7 @@ models: tags: ["chainlink", "ocr", "gas", "daily", "ethereum"] description: > Chainlink OCR Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -266,7 +266,7 @@ models: tags: ["chainlink", "ocr", "request", "daily", "ethereum"] description: > Chainlink OCR Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -344,7 +344,7 @@ models: ["chainlink", "ocr", "reward", "evt", "transfer", "daily", "ethereum"] description: > Chainlink OCR Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -367,7 +367,7 @@ models: tags: ["chainlink", "ocr", "reward", "daily", "ethereum"] description: > Chainlink OCR Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -391,7 +391,7 @@ models: tags: ["chainlink", "fm", "gas", "daily", "ethereum"] description: > Chainlink FM Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -419,7 +419,7 @@ models: tags: ["chainlink", "fm", "gas", "submission", "logs", "ethereum"] description: > Chainlink FM Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -450,7 +450,7 @@ models: tags: ["chainlink", "fm", "fulfilled", "transactions", "ethereum"] description: > Chainlink FM Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -476,7 +476,7 @@ models: tags: ["chainlink", "fm", "request", "daily", "ethereum"] description: > Chainlink FM Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -501,7 +501,7 @@ models: tags: ["chainlink", "fm", "reverted", "transactions", "ethereum"] description: > Chainlink FM Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -527,7 +527,7 @@ models: tags: ["chainlink", "fm", "reward", "daily", "ethereum"] description: > Chainlink FM Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -568,7 +568,7 @@ models: ["chainlink", "fm", "reward", "evt", "transfer", "daily", "ethereum"] description: > Chainlink FM Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -591,7 +591,7 @@ models: tags: ["chainlink", "automation", "gas", "daily", "ethereum"] description: > Chainlink Automation Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -620,7 +620,7 @@ models: ["chainlink", "automation", "upkeep", "performed", "logs", "ethereum"] description: > Chainlink Automation Upkeep Performed Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -654,7 +654,7 @@ models: tags: ["chainlink", "automation", "fulfilled", "transactions", "ethereum"] description: > Chainlink Automation Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -680,7 +680,7 @@ models: tags: ["chainlink", "automation", "request", "daily", "ethereum"] description: > Chainlink Automation Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -705,7 +705,7 @@ models: tags: ["chainlink", "automation", "reverted", "transactions", "ethereum"] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -731,7 +731,7 @@ models: tags: ["chainlink", "automation", "reward", "daily", "ethereum"] description: > Chainlink Automation Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -773,7 +773,7 @@ models: tags: ["chainlink", "automation", "performed", "daily", "ethereum"] description: > Chainlink Automation Performed Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -796,7 +796,7 @@ models: tags: ["chainlink", "vrf", "fulfilled", "transactions", "ethereum"] description: > Chainlink VRF Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -822,7 +822,7 @@ models: tags: ["chainlink", "vrf", "gas", "daily", "ethereum"] description: > Chainlink VRF Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -850,7 +850,7 @@ models: ["chainlink", "vrf", "v1", "random", "fulfilled", "logs", "ethereum"] description: > Chainlink VRF V1 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -882,7 +882,7 @@ models: tags: ["chainlink", "vrf", "v1", "random", "request", "logs", "ethereum"] description: > Chainlink VRF V1 Randomness Requested Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -914,7 +914,7 @@ models: ["chainlink", "vrf", "v2", "random", "fulfilled", "logs", "ethereum"] description: > Chainlink VRF V2 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -946,7 +946,7 @@ models: tags: ["chainlink", "vrf", "request", "daily", "ethereum"] description: > Chainlink VRF Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -970,7 +970,7 @@ models: tags: ["chainlink", "vrf", "reverted", "transactions", "ethereum"] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -996,7 +996,7 @@ models: tags: ["chainlink", "vrf", "reward", "daily", "ethereum"] description: > Chainlink VRF Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1036,7 +1036,7 @@ models: tags: ["chainlink", "vrf", "request", "fulfilled", "daily", "ethereum"] description: > Chainlink VRF Request Fulfilled Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1058,7 +1058,7 @@ models: tags: ["chainlink", "read", "requests", "feeds", "daily", "ethereum"] description: > Chainlink Read Requests Feeds Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1126,7 +1126,7 @@ models: tags: ["chainlink", "read", "requests", "requester", "daily", "ethereum"] description: > Chainlink Read Requests Requester Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1171,7 +1171,7 @@ models: tags: ["chainlink", "ccip", "fulfilled", "transactions", "ethereum"] description: > Chainlink CCIP Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1197,7 +1197,7 @@ models: tags: ["chainlink", "ccip", "gas", "daily", "ethereum"] description: > Chainlink CCIP Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1225,7 +1225,7 @@ models: tags: ["chainlink", "ccip", "request", "daily", "ethereum"] description: > Chainlink CCIP Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1247,7 +1247,7 @@ models: tags: ["chainlink", "ccip", "reverted", "transactions", "ethereum"] description: > Chainlink CCIP Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1271,7 +1271,7 @@ models: tags: ["chainlink", "ccip", "reward", "daily", "ethereum"] description: > Chainlink CCIP Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1320,7 +1320,7 @@ models: tags: ["chainlink", "ccip", "send", "requested", "daily", "ethereum"] description: > Chainlink CCIP Send Requested Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1382,7 +1382,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "logs", "ethereum"] description: > Chainlink CCIP Tokens Transferred Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1415,7 +1415,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "ethereum"] description: > Chainlink CCIP Tokens Transferred - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1444,7 +1444,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "fulfilled", "ethereum"] description: > Chainlink CCIP Transmitted Fulfilled - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1470,7 +1470,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "reverted", "ethereum"] description: > Chainlink CCIP Transmitted Reverted - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1549,7 +1549,7 @@ models: tags: ["chainlink", "ccip", "nop", "reward", "daily", "ethereum"] description: > Chainlink CCIP Nop Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - date_start diff --git a/dbt_subprojects/daily_spellbook/models/chainlink/fantom/chainlink_fantom_schema.yml b/dbt_subprojects/daily_spellbook/models/chainlink/fantom/chainlink_fantom_schema.yml index 3f58edc423f..3427c2f7432 100644 --- a/dbt_subprojects/daily_spellbook/models/chainlink/fantom/chainlink_fantom_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chainlink/fantom/chainlink_fantom_schema.yml @@ -57,7 +57,7 @@ models: tags: ["fantom", "chainlink", "oracle"] description: > Table pulling price updates for known Chainlink oracle addresses, truncated to hourly average price for easier joining with other on-chain tables. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -88,7 +88,7 @@ models: tags: ["fantom", "chainlink", "oracle"] description: > Manually updated table for mapping chainlink feeds to proxy addresses and the aggregator addresses (where updates read to) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - proxy_address @@ -111,7 +111,7 @@ models: tags: ["chainlink", "ocr", "gas", "transmission", "logs", "fantom"] description: > Chainlink OCR Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -162,7 +162,7 @@ models: tags: ["chainlink", "ocr", "fulfilled", "transactions", "fantom"] description: > Chainlink OCR Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -196,7 +196,7 @@ models: tags: ["chainlink", "ocr", "reverted", "transactions", "fantom"] description: > Chainlink OCR Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -222,7 +222,7 @@ models: tags: ["chainlink", "ocr", "gas", "daily", "fantom"] description: > Chainlink OCR Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -266,7 +266,7 @@ models: tags: ["chainlink", "ocr", "request", "daily", "fantom"] description: > Chainlink OCR Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -343,7 +343,7 @@ models: tags: ["chainlink", "ocr", "reward", "evt", "transfer", "daily", "fantom"] description: > Chainlink OCR Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -366,7 +366,7 @@ models: tags: ["chainlink", "ocr", "reward", "daily", "fantom"] description: > Chainlink OCR Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -390,7 +390,7 @@ models: tags: ["chainlink", "fm", "gas", "daily", "fantom"] description: > Chainlink FM Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -418,7 +418,7 @@ models: tags: ["chainlink", "fm", "gas", "submission", "logs", "fantom"] description: > Chainlink FM Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -449,7 +449,7 @@ models: tags: ["chainlink", "fm", "fulfilled", "transactions", "fantom"] description: > Chainlink FM Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -475,7 +475,7 @@ models: tags: ["chainlink", "fm", "request", "daily", "fantom"] description: > Chainlink FM Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -500,7 +500,7 @@ models: tags: ["chainlink", "fm", "reverted", "transactions", "fantom"] description: > Chainlink FM Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -526,7 +526,7 @@ models: tags: ["chainlink", "fm", "reward", "daily", "fantom"] description: > Chainlink FM Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -566,7 +566,7 @@ models: tags: ["chainlink", "fm", "reward", "evt", "transfer", "daily", "fantom"] description: > Chainlink FM Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -590,7 +590,7 @@ models: tags: ["chainlink", "automation", "fulfilled", "transactions", "fantom"] description: > Chainlink Automation Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -617,7 +617,7 @@ models: tags: ["chainlink", "automation", "gas", "daily", "fantom"] description: > Chainlink Automation Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -646,7 +646,7 @@ models: tags: ["chainlink", "automation", "upkeep", "performed", "logs", "fantom"] description: > Chainlink Automation Gas Submission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -681,7 +681,7 @@ models: tags: ["chainlink", "automation", "request", "daily", "fantom"] description: > Chainlink Automation Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -707,7 +707,7 @@ models: tags: ["chainlink", "automation", "reverted", "transactions", "fantom"] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -734,7 +734,7 @@ models: tags: ["chainlink", "automation", "reward", "daily", "fantom"] description: > Chainlink Automation Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -778,7 +778,7 @@ models: tags: ["chainlink", "automation", "performed", "daily", "fantom"] description: > Chainlink Automation Performed Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -801,7 +801,7 @@ models: tags: ["chainlink", "vrf", "fulfilled", "transactions", "fantom"] description: > Chainlink VRF Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -827,7 +827,7 @@ models: tags: ["chainlink", "vrf", "gas", "daily", "fantom"] description: > Chainlink VRF Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -854,7 +854,7 @@ models: tags: ["chainlink", "vrf", "v1", "random", "fulfilled", "logs", "fantom"] description: > Chainlink VRF V1 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -886,7 +886,7 @@ models: tags: ["chainlink", "vrf", "v1", "random", "request", "logs", "fantom"] description: > Chainlink VRF V1 Randomness Requested Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -917,7 +917,7 @@ models: tags: ["chainlink", "vrf", "v2", "random", "fulfilled", "logs", "fantom"] description: > Chainlink VRF V2 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -949,7 +949,7 @@ models: tags: ["chainlink", "vrf", "request", "daily", "fantom"] description: > Chainlink VRF Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -973,7 +973,7 @@ models: tags: ["chainlink", "vrf", "reverted", "transactions", "fantom"] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -999,7 +999,7 @@ models: tags: ["chainlink", "vrf", "reward", "daily", "fantom"] description: > Chainlink VRF Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1039,7 +1039,7 @@ models: tags: ["chainlink", "vrf", "request", "fulfilled", "daily", "fantom"] description: > Chainlink VRF Request Fulfilled Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/chainlink/gnosis/chainlink_gnosis_schema.yml b/dbt_subprojects/daily_spellbook/models/chainlink/gnosis/chainlink_gnosis_schema.yml index c419dd7c65e..7c7239ccb52 100644 --- a/dbt_subprojects/daily_spellbook/models/chainlink/gnosis/chainlink_gnosis_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chainlink/gnosis/chainlink_gnosis_schema.yml @@ -57,7 +57,7 @@ models: tags: ["gnosis", "chainlink", "oracle"] description: > Table pulling price updates for known Chainlink oracle addresses, truncated to hourly average price for easier joining with other on-chain tables. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -88,7 +88,7 @@ models: tags: ["gnosis", "chainlink", "oracle"] description: > Manually updated table for mapping chainlink feeds to proxy addresses and the aggregator addresses (where updates read to) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - proxy_address @@ -111,7 +111,7 @@ models: tags: ["chainlink", "ocr", "gas", "transmission", "logs", "gnosis"] description: > Chainlink OCR Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -162,7 +162,7 @@ models: tags: ["chainlink", "ocr", "fulfilled", "transactions", "gnosis"] description: > Chainlink OCR Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -196,7 +196,7 @@ models: tags: ["chainlink", "ocr", "reverted", "transactions", "gnosis"] description: > Chainlink OCR Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -222,7 +222,7 @@ models: tags: ["chainlink", "ocr", "gas", "daily", "gnosis"] description: > Chainlink OCR Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -266,7 +266,7 @@ models: tags: ["chainlink", "ocr", "request", "daily", "gnosis"] description: > Chainlink OCR Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -343,7 +343,7 @@ models: tags: ["chainlink", "ocr", "reward", "evt", "transfer", "daily", "gnosis"] description: > Chainlink OCR Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -366,7 +366,7 @@ models: tags: ["chainlink", "ocr", "reward", "daily", "gnosis"] description: > Chainlink OCR Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -390,7 +390,7 @@ models: tags: ["chainlink", "fm", "gas", "daily", "gnosis"] description: > Chainlink FM Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -418,7 +418,7 @@ models: tags: ["chainlink", "fm", "gas", "submission", "logs", "gnosis"] description: > Chainlink FM Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -449,7 +449,7 @@ models: tags: ["chainlink", "fm", "fulfilled", "transactions", "gnosis"] description: > Chainlink FM Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -475,7 +475,7 @@ models: tags: ["chainlink", "fm", "request", "daily", "gnosis"] description: > Chainlink FM Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -500,7 +500,7 @@ models: tags: ["chainlink", "fm", "reverted", "transactions", "gnosis"] description: > Chainlink FM Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -526,7 +526,7 @@ models: tags: ["chainlink", "fm", "reward", "daily", "gnosis"] description: > Chainlink FM Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -566,7 +566,7 @@ models: tags: ["chainlink", "fm", "reward", "evt", "transfer", "daily", "gnosis"] description: > Chainlink FM Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/chainlink/optimism/chainlink_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/chainlink/optimism/chainlink_optimism_schema.yml index b4c611f3887..cf43557c76e 100644 --- a/dbt_subprojects/daily_spellbook/models/chainlink/optimism/chainlink_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chainlink/optimism/chainlink_optimism_schema.yml @@ -57,7 +57,7 @@ models: tags: ["optimism", "chainlink", "oracle"] description: > Table pulling price updates for known Chainlink oracle addresses, truncated to hourly average price for easier joining with other on-chain tables. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -88,7 +88,7 @@ models: tags: ["optimism", "chainlink", "oracle"] description: > Manually updated table for mapping chainlink feeds to proxy addresses and the aggregator addresses (where updates read to) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - proxy_address @@ -111,7 +111,7 @@ models: tags: ["chainlink", "ocr", "gas", "transmission", "logs", "optimism"] description: > Chainlink OCR Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -162,7 +162,7 @@ models: tags: ["chainlink", "ocr", "fulfilled", "transactions", "optimism"] description: > Chainlink OCR Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -196,7 +196,7 @@ models: tags: ["chainlink", "ocr", "reverted", "transactions", "optimism"] description: > Chainlink OCR Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -222,7 +222,7 @@ models: tags: ["chainlink", "ocr", "gas", "daily", "optimism"] description: > Chainlink OCR Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -266,7 +266,7 @@ models: tags: ["chainlink", "ocr", "request", "daily", "optimism"] description: > Chainlink OCR Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -344,7 +344,7 @@ models: ["chainlink", "ocr", "reward", "evt", "transfer", "daily", "optimism"] description: > Chainlink OCR Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -367,7 +367,7 @@ models: tags: ["chainlink", "ocr", "reward", "daily", "optimism"] description: > Chainlink OCR Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -391,7 +391,7 @@ models: tags: ["chainlink", "fm", "gas", "daily", "optimism"] description: > Chainlink FM Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -419,7 +419,7 @@ models: tags: ["chainlink", "fm", "gas", "submission", "logs", "optimism"] description: > Chainlink FM Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -450,7 +450,7 @@ models: tags: ["chainlink", "fm", "fulfilled", "transactions", "optimism"] description: > Chainlink FM Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -476,7 +476,7 @@ models: tags: ["chainlink", "fm", "request", "daily", "optimism"] description: > Chainlink FM Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -501,7 +501,7 @@ models: tags: ["chainlink", "fm", "reverted", "transactions", "optimism"] description: > Chainlink FM Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -527,7 +527,7 @@ models: tags: ["chainlink", "fm", "reward", "daily", "optimism"] description: > Chainlink FM Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -568,7 +568,7 @@ models: ["chainlink", "fm", "reward", "evt", "transfer", "daily", "optimism"] description: > Chainlink FM Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -591,7 +591,7 @@ models: tags: ["chainlink", "read", "requests", "feeds", "daily", "optimism"] description: > Chainlink Read Requests Feeds Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -659,7 +659,7 @@ models: tags: ["chainlink", "read", "requests", "requester", "daily", "optimism"] description: > Chainlink Read Requests Requester Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -704,7 +704,7 @@ models: tags: ["chainlink", "ccip", "fulfilled", "transactions", "optimism"] description: > Chainlink CCIP Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -730,7 +730,7 @@ models: tags: ["chainlink", "ccip", "gas", "daily", "optimism"] description: > Chainlink CCIP Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -758,7 +758,7 @@ models: tags: ["chainlink", "ccip", "request", "daily", "optimism"] description: > Chainlink CCIP Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -780,7 +780,7 @@ models: tags: ["chainlink", "ccip", "reverted", "transactions", "optimism"] description: > Chainlink CCIP Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -804,7 +804,7 @@ models: tags: ["chainlink", "ccip", "reward", "daily", "optimism"] description: > Chainlink CCIP Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -853,7 +853,7 @@ models: tags: ["chainlink", "ccip", "send", "requested", "daily", "optimism"] description: > Chainlink CCIP Send Requested Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -915,7 +915,7 @@ models: tags: ["chainlink", "ccip", "tokens", "locked", "logs", "optimism"] description: > Chainlink CCIP Tokens Transferred Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -948,7 +948,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "optimism"] description: > Chainlink CCIP Tokens Transferred - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -977,7 +977,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "fulfilled", "optimism"] description: > Chainlink CCIP Transmitted Fulfilled - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1003,7 +1003,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "reverted", "optimism"] description: > Chainlink CCIP Transmitted Reverted - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1082,7 +1082,7 @@ models: tags: ["chainlink", "ccip", "nop", "reward", "daily", "optimism"] description: > Chainlink CCIP Nop Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - date_start diff --git a/dbt_subprojects/daily_spellbook/models/chainlink/polygon/chainlink_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/chainlink/polygon/chainlink_polygon_schema.yml index e2c4dfeb4f4..2a8b20c3d0f 100644 --- a/dbt_subprojects/daily_spellbook/models/chainlink/polygon/chainlink_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chainlink/polygon/chainlink_polygon_schema.yml @@ -57,7 +57,7 @@ models: tags: ["polygon", "chainlink", "oracle"] description: > Table pulling price updates for known Chainlink oracle addresses, truncated to hourly average price for easier joining with other on-chain tables. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -88,7 +88,7 @@ models: tags: ["polygon", "chainlink", "oracle"] description: > Manually updated table for mapping chainlink feeds to proxy addresses and the aggregator addresses (where updates read to) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - proxy_address @@ -111,7 +111,7 @@ models: tags: ["chainlink", "ocr", "gas", "transmission", "logs", "polygon"] description: > Chainlink OCR Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -162,7 +162,7 @@ models: tags: ["chainlink", "ocr", "fulfilled", "transactions", "polygon"] description: > Chainlink OCR Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -196,7 +196,7 @@ models: tags: ["chainlink", "ocr", "reverted", "transactions", "polygon"] description: > Chainlink OCR Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -222,7 +222,7 @@ models: tags: ["chainlink", "ocr", "gas", "daily", "polygon"] description: > Chainlink OCR Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -266,7 +266,7 @@ models: tags: ["chainlink", "ocr", "request", "daily", "polygon"] description: > Chainlink OCR Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -344,7 +344,7 @@ models: ["chainlink", "ocr", "reward", "evt", "transfer", "daily", "polygon"] description: > Chainlink OCR Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -367,7 +367,7 @@ models: tags: ["chainlink", "ocr", "reward", "daily", "polygon"] description: > Chainlink OCR Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -391,7 +391,7 @@ models: tags: ["chainlink", "fm", "gas", "daily", "polygon"] description: > Chainlink FM Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -419,7 +419,7 @@ models: tags: ["chainlink", "fm", "gas", "submission", "logs", "polygon"] description: > Chainlink FM Gas Transmission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -450,7 +450,7 @@ models: tags: ["chainlink", "fm", "fulfilled", "transactions", "polygon"] description: > Chainlink FM Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -476,7 +476,7 @@ models: tags: ["chainlink", "fm", "request", "daily", "polygon"] description: > Chainlink FM Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -501,7 +501,7 @@ models: tags: ["chainlink", "fm", "reverted", "transactions", "polygon"] description: > Chainlink FM Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -527,7 +527,7 @@ models: tags: ["chainlink", "fm", "reward", "daily", "polygon"] description: > Chainlink FM Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -567,7 +567,7 @@ models: tags: ["chainlink", "fm", "reward", "evt", "transfer", "daily", "polygon"] description: > Chainlink FM Reward Event Transfers Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -591,7 +591,7 @@ models: tags: ["chainlink", "automation", "fulfilled", "transactions", "polygon"] description: > Chainlink Automation Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -618,7 +618,7 @@ models: tags: ["chainlink", "automation", "gas", "daily", "polygon"] description: > Chainlink Automation Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -648,7 +648,7 @@ models: ["chainlink", "automation", "upkeep", "performed", "logs", "polygon"] description: > Chainlink Automation Gas Submission Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -683,7 +683,7 @@ models: tags: ["chainlink", "automation", "request", "daily", "polygon"] description: > Chainlink Automation Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -709,7 +709,7 @@ models: tags: ["chainlink", "automation", "reverted", "transactions", "polygon"] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -736,7 +736,7 @@ models: tags: ["chainlink", "automation", "reward", "daily", "polygon"] description: > Chainlink Automation Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -780,7 +780,7 @@ models: tags: ["chainlink", "automation", "performed", "daily", "polygon"] description: > Chainlink Automation Performed Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -803,7 +803,7 @@ models: tags: ["chainlink", "vrf", "fulfilled", "transactions", "polygon"] description: > Chainlink VRF Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -829,7 +829,7 @@ models: tags: ["chainlink", "vrf", "gas", "daily", "polygon"] description: > Chainlink VRF Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -856,7 +856,7 @@ models: tags: ["chainlink", "vrf", "v1", "random", "fulfilled", "logs", "polygon"] description: > Chainlink VRF V1 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -888,7 +888,7 @@ models: tags: ["chainlink", "vrf", "v1", "random", "request", "logs", "polygon"] description: > Chainlink VRF V1 Randomness Requested Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -919,7 +919,7 @@ models: tags: ["chainlink", "vrf", "v2", "random", "fulfilled", "logs", "polygon"] description: > Chainlink VRF V2 Randomness Fulfilled Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -951,7 +951,7 @@ models: tags: ["chainlink", "vrf", "request", "daily", "polygon"] description: > Chainlink VRF Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -975,7 +975,7 @@ models: tags: ["chainlink", "vrf", "reverted", "transactions", "polygon"] description: > Chainlink Automation Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1001,7 +1001,7 @@ models: tags: ["chainlink", "vrf", "reward", "daily", "polygon"] description: > Chainlink VRF Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1041,7 +1041,7 @@ models: tags: ["chainlink", "vrf", "request", "fulfilled", "daily", "polygon"] description: > Chainlink VRF Request Fulfilled Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1063,7 +1063,7 @@ models: tags: ["chainlink", "ocr", "reward", "daily", "polygon"] description: > Chainlink OCR Reconcile Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - date_start @@ -1082,7 +1082,7 @@ models: tags: ["chainlink", "read", "requests", "feeds", "daily", "polygon"] description: > Chainlink Read Requests Feeds Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1150,7 +1150,7 @@ models: tags: ["chainlink", "read", "requests", "requester", "daily", "polygon"] description: > Chainlink Read Requests Requester Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1195,7 +1195,7 @@ models: tags: ["chainlink", "ccip", "fulfilled", "transactions", "polygon"] description: > Chainlink CCIP Fulfilled Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1221,7 +1221,7 @@ models: tags: ["chainlink", "ccip", "gas", "daily", "polygon"] description: > Chainlink CCIP Gas Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1249,7 +1249,7 @@ models: tags: ["chainlink", "ccip", "request", "daily", "polygon"] description: > Chainlink CCIP Request Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1271,7 +1271,7 @@ models: tags: ["chainlink", "ccip", "reverted", "transactions", "polygon"] description: > Chainlink CCIP Reverted Transactions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1295,7 +1295,7 @@ models: tags: ["chainlink", "ccip", "reward", "daily", "polygon"] description: > Chainlink CCIP Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1344,7 +1344,7 @@ models: tags: ["chainlink", "ccip", "send", "requested", "daily", "polygon"] description: > Chainlink CCIP Send Requested Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1406,7 +1406,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "logs", "polygon"] description: > Chainlink CCIP Tokens Transferred Logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1439,7 +1439,7 @@ models: tags: ["chainlink", "ccip", "tokens", "transferred", "polygon"] description: > Chainlink CCIP Tokens Transferred - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1468,7 +1468,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "fulfilled", "polygon"] description: > Chainlink CCIP Transmitted Fulfilled - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1494,7 +1494,7 @@ models: tags: ["chainlink", "ccip", "transmitted", "reverted", "polygon"] description: > Chainlink CCIP Transmitted Reverted - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1573,7 +1573,7 @@ models: tags: ["chainlink", "ccip", "nop", "reward", "daily", "polygon"] description: > Chainlink CCIP Nop Reward Daily - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/chainswap/chain_swap_schema.yml b/dbt_subprojects/daily_spellbook/models/chainswap/chain_swap_schema.yml index caeec0006ce..fc91c877fab 100644 --- a/dbt_subprojects/daily_spellbook/models/chainswap/chain_swap_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/chainswap/chain_swap_schema.yml @@ -94,7 +94,7 @@ models: tags: ["ethereum", "dex", "chain_swap", "trades"] description: > ChainSwap trades on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -136,7 +136,7 @@ models: tags: ["arbitrum", "dex", "chain_swap", "trades"] description: > ChainSwap trades on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -178,7 +178,7 @@ models: tags: ["base", "dex", "chain_swap", "trades"] description: > ChainSwap trades on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -220,7 +220,7 @@ models: tags: ["optimism", "dex", "chain_swap", "trades"] description: > ChainSwap trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -262,7 +262,7 @@ models: tags: ["bnb", "dex", "chain_swap", "trades"] description: > ChainSwap trades on Bnb - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -304,7 +304,7 @@ models: tags: ["polygon", "dex", "chain_swap", "trades"] description: > ChainSwap trades on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -346,7 +346,7 @@ models: tags: ["avalanche_c", "dex", "chain_swap", "trades"] description: > ChainSwap trades on Avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/coinbase_wallet_quests/optimism/coinbase_wallet_quests_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/coinbase_wallet_quests/optimism/coinbase_wallet_quests_optimism_schema.yml index 64a0764963b..c6788448997 100644 --- a/dbt_subprojects/daily_spellbook/models/coinbase_wallet_quests/optimism/coinbase_wallet_quests_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/coinbase_wallet_quests/optimism/coinbase_wallet_quests_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism','coinbase wallet','quests'] description: > A table containing quest information (i.e. name, distributor address) for Coinbase Wallet Quests - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - distributor_address @@ -35,7 +35,7 @@ models: tags: ['optimism','coinbase wallet','quests'] description: > A table containing all rewards distirbutions for Coinbase Quests, tagged by quest. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time diff --git a/dbt_subprojects/daily_spellbook/models/colony/gnosis/colony_gnosis_dao_addresses_schema.yml b/dbt_subprojects/daily_spellbook/models/colony/gnosis/colony_gnosis_dao_addresses_schema.yml index 78208e402cc..25009314b40 100644 --- a/dbt_subprojects/daily_spellbook/models/colony/gnosis/colony_gnosis_dao_addresses_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/colony/gnosis/colony_gnosis_dao_addresses_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'gnosis', 'dao', 'colony', 'dao creator tools', 'Henrystats' ] description: > wallet addresses of daos created on colony - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -25,7 +25,7 @@ models: description: "Blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao diff --git a/dbt_subprojects/daily_spellbook/models/compound/ethereum/compound_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/compound/ethereum/compound_ethereum_schema.yml index 71a5237f65b..a7a8218a54d 100644 --- a/dbt_subprojects/daily_spellbook/models/compound/ethereum/compound_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/compound/ethereum/compound_ethereum_schema.yml @@ -46,7 +46,7 @@ models: - &support name: support description: "0 = Against, 1 = For, 2 = Abstain votes" - tests: + data_tests: - accepted_values: values: ['for', 'against', 'abstain'] - &reason @@ -75,7 +75,7 @@ models: - *dao_name - *dao_address - name: proposal_id - tests: + data_tests: - unique - &votes_for name: votes_for @@ -92,7 +92,7 @@ models: - &status name: status description: "Proposal status: Queued, Active, Executed, Canceled or Defeated" - tests: + data_tests: - accepted_values: values: ['Queued', 'Active', 'Executed', 'Canceled','Defeated'] - &description diff --git a/dbt_subprojects/daily_spellbook/models/contracts/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/_schema.yml index bf51587ba5c..d9c543ed055 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/_schema.yml @@ -12,7 +12,7 @@ models: columns: - name: dune_name description: "Contract name decoded by Dune" - tests: + data_tests: - unique - not_null - name: mapped_name @@ -27,7 +27,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on EVM chains. {{ doc('contract_mapping') }}" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -44,7 +44,7 @@ models: - &contract_address name: contract_address description: "Address of the contract" - tests: + data_tests: - not_null - &contract_project name: contract_project @@ -168,7 +168,7 @@ models: columns: - name: creator_address description: "Contract creator address" - tests: + data_tests: - unique - not_null - *contract_project @@ -234,7 +234,7 @@ models: tags: ['optimism','op','contracts','disperse'] description: > A table containing mappings for disperse contract wallets that we want to map distributions with - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -251,7 +251,7 @@ models: tags: ['optimism','op','contracts','predeploy','system'] description: > A table containing mappings for predeploy system contracts - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address diff --git a/dbt_subprojects/daily_spellbook/models/contracts/arbitrum/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/arbitrum/_schema.yml index 7e38e2aeed5..d4c4f6214eb 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/arbitrum/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['evm', 'arbitrum', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on Ethereum." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -123,7 +123,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -153,7 +153,7 @@ models: config: tags: ['evm', 'arbitrum', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on Ethereum." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -187,7 +187,7 @@ models: config: tags: ['evm', 'arbitrum', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on Ethereum." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/contracts/avalanche_c/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/avalanche_c/_schema.yml index 380fca2dee1..e8e6cd01d72 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/avalanche_c/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['evm', 'avalanche_c', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on Avalanche C-Chain." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -123,7 +123,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -153,7 +153,7 @@ models: config: tags: ['evm', 'avalanche_c', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on Avalanche C-Chain." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -187,7 +187,7 @@ models: config: tags: ['evm', 'avalanche_c', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on Avalanche C-Chain." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/contracts/base/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/base/_schema.yml index 3894f28a2c8..33af7956e65 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/base/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/base/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['evm', 'base', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on base." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -123,7 +123,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -153,7 +153,7 @@ models: config: tags: ['evm', 'base', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on base." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -187,7 +187,7 @@ models: config: tags: ['evm', 'base', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on base." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/contracts/bnb/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/bnb/_schema.yml index 52bf7a09b25..5968b84a8a3 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/bnb/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/bnb/_schema.yml @@ -12,7 +12,7 @@ models: columns: - name: contract_address description: "contract address of the dapp/project" - tests: + data_tests: - unique - name: project_name description: "name of the dapp/project" @@ -27,7 +27,7 @@ models: config: tags: ['evm', 'bnb', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on bnb." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -140,7 +140,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -170,7 +170,7 @@ models: config: tags: ['evm', 'bnb', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on bnb." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -204,7 +204,7 @@ models: config: tags: ['evm', 'bnb', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on bnb." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/contracts/celo/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/celo/_schema.yml index 96eb73ab505..4fb5e5fa1e4 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/celo/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/celo/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['evm', 'celo', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on celo." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -121,7 +121,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -150,7 +150,7 @@ models: config: tags: ['evm', 'celo', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on celo." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -181,7 +181,7 @@ models: config: tags: ['evm', 'celo', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on celo." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/contracts/ethereum/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/ethereum/_schema.yml index e8191bf0e76..a8c97e0f283 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/ethereum/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['evm', 'ethereum', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on Ethereum." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -123,7 +123,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -153,7 +153,7 @@ models: config: tags: ['evm', 'ethereum', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on Ethereum." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -187,7 +187,7 @@ models: config: tags: ['evm', 'ethereum', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on Ethereum." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/contracts/fantom/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/fantom/_schema.yml index 307874e5cbc..19ebe50ea2f 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/fantom/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/fantom/_schema.yml @@ -12,7 +12,7 @@ models: columns: - name: contract_address description: "contract address of the dapp/project" - tests: + data_tests: - unique - name: project_name description: "name of the dapp/project" @@ -27,7 +27,7 @@ models: config: tags: ['evm', 'fantom', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on fantom." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -140,7 +140,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -170,7 +170,7 @@ models: config: tags: ['evm', 'fantom', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on fantom." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -204,7 +204,7 @@ models: config: tags: ['evm', 'fantom', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on fantom." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/contracts/gnosis/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/gnosis/_schema.yml index ae461692cde..5ceaa678d7f 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/gnosis/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['evm', 'gnosis', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on Gnosis Chain." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -123,7 +123,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -153,7 +153,7 @@ models: config: tags: ['evm', 'gnosis', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on Gnosis Chain." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -187,7 +187,7 @@ models: config: tags: ['evm', 'gnosis', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on Gnosis Chain." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/contracts/goerli/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/goerli/_schema.yml index 2b6d609ced5..352f6fc8670 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/goerli/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/goerli/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['evm', 'goerli', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on Ethereum Goerli." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -123,7 +123,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -153,7 +153,7 @@ models: config: tags: ['evm', 'goerli', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on Ethereum Goerli." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -187,7 +187,7 @@ models: config: tags: ['evm', 'goerli', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on Ethereum Goerli." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/contracts/optimism/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/optimism/_schema.yml index 11f45feee72..b339e36becb 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/optimism/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/optimism/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['evm', 'optimism', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on op mainnet." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -122,7 +122,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -152,7 +152,7 @@ models: config: tags: ['evm', 'optimism', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on op mainnet." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -186,7 +186,7 @@ models: config: tags: ['evm', 'optimism', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on op mainnet." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -240,7 +240,7 @@ models: columns: - name: creator_address description: "Contract creator address" - tests: + data_tests: - unique - not_null - *contract_project @@ -270,7 +270,7 @@ models: tags: ['optimism','op','contracts','disperse'] description: > A table containing mappings for disperse contract wallets that we want to map distributions with - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address diff --git a/dbt_subprojects/daily_spellbook/models/contracts/polygon/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/polygon/_schema.yml index 3a928672b9a..6c9ec88da5a 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/polygon/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/polygon/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['evm', 'polygon', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on polygon." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -123,7 +123,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -153,7 +153,7 @@ models: config: tags: ['evm', 'polygon', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on polygon." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -187,7 +187,7 @@ models: config: tags: ['evm', 'polygon', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on polygon." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/contracts/zksync/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/zksync/_schema.yml index 98c8e12b956..315a0ec9846 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/zksync/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/zksync/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['evm', 'zksync', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on zksync." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -122,7 +122,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -152,7 +152,7 @@ models: config: tags: ['evm', 'zksync', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on zksync." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -185,7 +185,7 @@ models: config: tags: ['evm', 'zksync', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on zksync." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/contracts/zora/_schema.yml b/dbt_subprojects/daily_spellbook/models/contracts/zora/_schema.yml index 0c939f45938..34fe189250b 100644 --- a/dbt_subprojects/daily_spellbook/models/contracts/zora/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/contracts/zora/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['evm', 'zora', 'contracts', 'addresses'] description: "Mapping of contracts to its creators and names on zora." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -122,7 +122,7 @@ models: config: tags: ['evm', 'contracts', 'addresses'] description: "A list of contracts that are self-destruct, with the time that they were most recently self-destructed." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -152,7 +152,7 @@ models: config: tags: ['evm', 'zora', 'contracts', 'addresses'] description: "Base Level for mapping of contracts to its creators and names on zora." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -185,7 +185,7 @@ models: config: tags: ['evm', 'zora', 'contracts', 'addresses'] description: "Iterated creators for mapping of contracts to its creators and names on zora." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/cryptopunks/ethereum/cryptopunks_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/cryptopunks/ethereum/cryptopunks_ethereum_schema.yml index c38d038dbd5..f7a8dabec95 100644 --- a/dbt_subprojects/daily_spellbook/models/cryptopunks/ethereum/cryptopunks_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/cryptopunks/ethereum/cryptopunks_ethereum_schema.yml @@ -51,7 +51,7 @@ models: columns: - name: punk_id description: "CryptoPunk ID #" - tests: + data_tests: - unique - name: current_owner description: "Wallet that currently holds each CryptoPunk ID #" @@ -67,7 +67,7 @@ models: tags: ['ethereum', 'cryptopunks', 'transfers'] description: > All CryptoPunks transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time_week @@ -119,7 +119,7 @@ models: columns: - name: day description: "Day" - tests: + data_tests: - unique - name: unique_wallets description: "# unique Punk wallets that day" @@ -150,7 +150,7 @@ models: tags: ['ethereum', 'cryptopunks', 'bids'] description: > All CryptoPunks bid events - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time_week @@ -192,7 +192,7 @@ models: description: "Wallet that placed bid" - name: punk_id description: "CryptoPunk ID #" - tests: + data_tests: - unique - name: bid_amount_eth description: "Bid amount (ETH)" @@ -216,7 +216,7 @@ models: tags: ['ethereum', 'cryptopunks', 'offers'] description: > All CryptoPunks offer events - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time_week diff --git a/dbt_subprojects/daily_spellbook/models/curvefi/optimism/curvefi_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/curvefi/optimism/curvefi_optimism_schema.yml index e528d812f84..1988a43811c 100644 --- a/dbt_subprojects/daily_spellbook/models/curvefi/optimism/curvefi_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/curvefi/optimism/curvefi_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['curve','curvefi', 'amm', 'trades', 'dex', 'incentives', 'optimism'] description: > Gauge to Pool mappings for curve on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_contract @@ -22,7 +22,7 @@ models: - &version name: version description: "Versions of the pool: Basic Pool, Meta Pool, etc" - tests: + data_tests: - not_null - &pool_contract name: pool_contract diff --git a/dbt_subprojects/daily_spellbook/models/dao/balances/dao_balances_schema.yml b/dbt_subprojects/daily_spellbook/models/dao/balances/dao_balances_schema.yml index 97c15e221cc..31423b7d4d0 100644 --- a/dbt_subprojects/daily_spellbook/models/dao/balances/dao_balances_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/dao/balances/dao_balances_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'ethereum','gnosis', 'polygon', 'base', 'arbitrum', 'zksync', 'dao', 'dao creator tools', 'henrystats' ] description: > DAO wallet balances - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -57,7 +57,7 @@ models: tags: [ 'ethereum', 'steth', 'dao', 'dao creator tools', 'henrystats' ] description: > DAO wallet balances for steth token (rebase token so using different calculations) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - dao_creator_tool diff --git a/dbt_subprojects/daily_spellbook/models/dao/ens/_schema.yml b/dbt_subprojects/daily_spellbook/models/dao/ens/_schema.yml index b8dcea7225a..8b98db3b71b 100644 --- a/dbt_subprojects/daily_spellbook/models/dao/ens/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/dao/ens/_schema.yml @@ -46,7 +46,7 @@ models: - &support name: support description: "0 = Against, 1 = For, 2 = Abstain votes" - tests: + data_tests: - accepted_values: values: ['for', 'against', 'abstain'] - &reason @@ -75,7 +75,7 @@ models: - *dao_name - *dao_address - name: proposal_id - tests: + data_tests: - unique - &votes_for name: votes_for @@ -92,7 +92,7 @@ models: - &status name: status description: "Proposal status: Queued, Active, Executed, Canceled or Defeated" - tests: + data_tests: - accepted_values: values: ['Queued', 'Active', 'Executed', 'Canceled','Defeated'] - &description diff --git a/dbt_subprojects/daily_spellbook/models/dao/transactions/arbitrum/dao_transactions_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/dao/transactions/arbitrum/dao_transactions_arbitrum_schema.yml index 34a4233456b..0884d7f7df8 100644 --- a/dbt_subprojects/daily_spellbook/models/dao/transactions/arbitrum/dao_transactions_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/dao/transactions/arbitrum/dao_transactions_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'arbitrum','erc20','dao', 'dao creator tools', 'Henrystats' ] description: > erc20 transactions of DAO wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -31,7 +31,7 @@ models: - &dao_creator_tool name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_transactions_creator_tool: dao_transactions_seed: ref('dao_transactions_seed') - &dao @@ -89,7 +89,7 @@ models: tags: [ 'arbitrum','eth','dao', 'dao creator tools', 'Henrystats' ] description: > eth transactions of DAO wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/dao/transactions/base/dao_transactions_base_schema.yml b/dbt_subprojects/daily_spellbook/models/dao/transactions/base/dao_transactions_base_schema.yml index 29441ff1929..44ee3592824 100644 --- a/dbt_subprojects/daily_spellbook/models/dao/transactions/base/dao_transactions_base_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/dao/transactions/base/dao_transactions_base_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'base','erc20','dao', 'dao creator tools', 'Henrystats' ] description: > erc20 transactions of DAO wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -31,7 +31,7 @@ models: - &dao_creator_tool name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_transactions_creator_tool: dao_transactions_seed: ref('dao_transactions_seed') - &dao @@ -89,7 +89,7 @@ models: tags: [ 'base','eth','dao', 'dao creator tools', 'Henrystats' ] description: > eth transactions of DAO wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/dao/transactions/ethereum/dao_transactions_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/dao/transactions/ethereum/dao_transactions_ethereum_schema.yml index df4cdf29968..6381628a4c7 100644 --- a/dbt_subprojects/daily_spellbook/models/dao/transactions/ethereum/dao_transactions_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/dao/transactions/ethereum/dao_transactions_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'ethereum','erc20','dao', 'dao creator tools', 'Henrystats' ] description: > erc20 transactions of DAO wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -31,7 +31,7 @@ models: - &dao_creator_tool name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_transactions_creator_tool: dao_transactions_seed: ref('dao_transactions_seed') - &dao @@ -89,7 +89,7 @@ models: tags: [ 'ethereum','eth','dao', 'dao creator tools', 'Henrystats' ] description: > eth transactions of DAO wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/dao/transactions/gnosis/dao_transactions_gnosis_schema.yml b/dbt_subprojects/daily_spellbook/models/dao/transactions/gnosis/dao_transactions_gnosis_schema.yml index 37cbd3e79f7..c46ef9dc93e 100644 --- a/dbt_subprojects/daily_spellbook/models/dao/transactions/gnosis/dao_transactions_gnosis_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/dao/transactions/gnosis/dao_transactions_gnosis_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'gnosis','erc20','dao', 'dao creator tools', 'Henrystats' ] description: > erc20 transactions of DAO wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -31,7 +31,7 @@ models: - &dao_creator_tool name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_transactions_creator_tool: dao_transactions_seed: ref('dao_transactions_seed') - &dao @@ -89,7 +89,7 @@ models: tags: [ 'gnosis','eth','dao', 'dao creator tools', 'Henrystats' ] description: > eth transactions of DAO wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/dao/transactions/polygon/dao_transactions_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/dao/transactions/polygon/dao_transactions_polygon_schema.yml index 19af50fd8e7..20e7594623c 100644 --- a/dbt_subprojects/daily_spellbook/models/dao/transactions/polygon/dao_transactions_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/dao/transactions/polygon/dao_transactions_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'polygon','erc20','daos', 'dao creator tools', 'henrystats' ] description: > erc20 transactions of DAO wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -31,7 +31,7 @@ models: - &dao_creator_tool name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_transactions_creator_tool: dao_transactions_seed: ref('dao_transactions_seed') - &dao @@ -89,7 +89,7 @@ models: tags: [ 'polygon','eth','daos', 'dao creator tools', 'henrystats' ] description: > eth transactions of DAO wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/dao/transactions/zksync/dao_transactions_zksync_schema.yml b/dbt_subprojects/daily_spellbook/models/dao/transactions/zksync/dao_transactions_zksync_schema.yml index 830f1c27741..15f1407144b 100644 --- a/dbt_subprojects/daily_spellbook/models/dao/transactions/zksync/dao_transactions_zksync_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/dao/transactions/zksync/dao_transactions_zksync_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'zksync','erc20','dao', 'dao creator tools', 'Henrystats' ] description: > erc20 transactions of DAO wallets - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -31,7 +31,7 @@ models: - &dao_creator_tool name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_transactions_creator_tool: dao_transactions_seed: ref('dao_transactions_seed') - &dao diff --git a/dbt_subprojects/daily_spellbook/models/daohaus/ethereum/daohaus_ethereum_dao_addresses_schema.yml b/dbt_subprojects/daily_spellbook/models/daohaus/ethereum/daohaus_ethereum_dao_addresses_schema.yml index a041c3b7e13..fec782e23bc 100644 --- a/dbt_subprojects/daily_spellbook/models/daohaus/ethereum/daohaus_ethereum_dao_addresses_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/daohaus/ethereum/daohaus_ethereum_dao_addresses_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'ethereum', 'dao', 'daohaus', 'dao creator tools', 'Henrystats' ] description: > wallet addresses of daos created on daohaus - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -25,7 +25,7 @@ models: description: "blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao diff --git a/dbt_subprojects/daily_spellbook/models/daohaus/gnosis/daohaus_gnosis_dao_addresses_schema.yml b/dbt_subprojects/daily_spellbook/models/daohaus/gnosis/daohaus_gnosis_dao_addresses_schema.yml index 16565477a12..df5ff801780 100644 --- a/dbt_subprojects/daily_spellbook/models/daohaus/gnosis/daohaus_gnosis_dao_addresses_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/daohaus/gnosis/daohaus_gnosis_dao_addresses_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'gnosis', 'dao', 'daohaus', 'dao creator tools', 'Henrystats' ] description: > wallet addresses of daos created on daohaus - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -25,7 +25,7 @@ models: description: "Blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao diff --git a/dbt_subprojects/daily_spellbook/models/dex/dex_schema.yml b/dbt_subprojects/daily_spellbook/models/dex/dex_schema.yml index 4a17e681108..9db6f43f558 100644 --- a/dbt_subprojects/daily_spellbook/models/dex/dex_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/dex/dex_schema.yml @@ -151,7 +151,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'optimism', 'polygon', 'ethereum', 'fantom', 'flashloans'] description: > All Flashloans - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/dydx/ethereum/dydx_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/dydx/ethereum/dydx_ethereum_schema.yml index 92c80d58887..c3f987400d3 100644 --- a/dbt_subprojects/daily_spellbook/models/dydx/ethereum/dydx_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/dydx/ethereum/dydx_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'votes', 'dao'] description: > DAO votes on all chains across all contracts and versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -50,7 +50,7 @@ models: - &support name: support description: "0 = Against, 1 = For, 2 = Abstain votes" - tests: + data_tests: - accepted_values: values: ['for', 'against', 'abstain'] - &reason @@ -66,7 +66,7 @@ models: tags: ['ethereum', 'proposals', 'dao'] description: > DAO proposals on all chains across all contracts and versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -86,7 +86,7 @@ models: - *dao_name - *dao_address - name: proposal_id - tests: + data_tests: - unique - &votes_for name: votes_for @@ -103,7 +103,7 @@ models: - &status name: status description: "Proposal status: Pending, Queued, Active, Executed, Canceled or Defeated" - tests: + data_tests: - accepted_values: values: ['Pending', 'Queued', 'Active', 'Executed', 'Canceled','Defeated'] - &description @@ -119,7 +119,7 @@ models: tags: ['ethereum', 'flashloans'] description: > All dYdX flashloans - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/equalizer/bnb/equalizer_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/equalizer/bnb/equalizer_bnb_schema.yml index c7c614225a4..218429f77d8 100644 --- a/dbt_subprojects/daily_spellbook/models/equalizer/bnb/equalizer_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/equalizer/bnb/equalizer_bnb_schema.yml @@ -10,7 +10,7 @@ models: tags: ['bnb', 'flashloans'] description: > All Equalizer flashloans on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/equalizer/equalizer_schema.yml b/dbt_subprojects/daily_spellbook/models/equalizer/equalizer_schema.yml index 619b9831862..dbfcc639731 100644 --- a/dbt_subprojects/daily_spellbook/models/equalizer/equalizer_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/equalizer/equalizer_schema.yml @@ -10,7 +10,7 @@ models: tags: ['equalizer', 'flashloans'] description: > All Equalizer flashloans - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/equalizer/ethereum/equalizer_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/equalizer/ethereum/equalizer_ethereum_schema.yml index a6bd3915d01..387b250d577 100644 --- a/dbt_subprojects/daily_spellbook/models/equalizer/ethereum/equalizer_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/equalizer/ethereum/equalizer_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'flashloans'] description: > All Equalizer flashloans on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/equalizer/optimism/equalizer_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/equalizer/optimism/equalizer_optimism_schema.yml index fb96c8cef87..5cfc4edf84a 100644 --- a/dbt_subprojects/daily_spellbook/models/equalizer/optimism/equalizer_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/equalizer/optimism/equalizer_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism', 'flashloans'] description: > All Equalizer flashloans on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/equalizer/polygon/equalizer_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/equalizer/polygon/equalizer_polygon_schema.yml index 8796df5e67d..2f9f6ee7c8b 100644 --- a/dbt_subprojects/daily_spellbook/models/equalizer/polygon/equalizer_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/equalizer/polygon/equalizer_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon', 'flashloans'] description: > All Equalizer flashloans on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/euler/ethereum/euler_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/euler/ethereum/euler_ethereum_schema.yml index 166ea7eac5d..b8e0ce224e3 100644 --- a/dbt_subprojects/daily_spellbook/models/euler/ethereum/euler_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/euler/ethereum/euler_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'flashloans'] description: > All Euler flashloans - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/evms/evms_info.sql b/dbt_subprojects/daily_spellbook/models/evms/evms_info.sql index 3990f509cfe..1391dad3b80 100644 --- a/dbt_subprojects/daily_spellbook/models/evms/evms_info.sql +++ b/dbt_subprojects/daily_spellbook/models/evms/evms_info.sql @@ -2,10 +2,31 @@ schema = 'evms', tags = ['static'], alias = 'info', - post_hook = '{{ expose_spells(\'["ethereum", "polygon", "bnb", "avalanche_c", "gnosis", "fantom", "optimism", "arbitrum", "celo", "base", "goerli", "zksync", "zora", "scroll", "sei", "worldchain"]\', + post_hook = '{{ expose_spells(\'[ + "arbitrum" + , "avalanche_c" + , "base" + , "blast" + , "bnb" + , "celo" + , "ethereum" + , "fantom" + , "gnosis" + , "kaia" + , "linea" + , "nova" + , "optimism" + , "polygon" + , "scroll" + , "sei" + , "worldchain" + , "zksync" + , "zkevm" + , "zora" + ]\', "sector", "evms", - \'["hildobby", "hosuke"]\') }}') + \'["hildobby", "hosuke", "jeff-dude"]\') }}') }} SELECT chain_id @@ -46,7 +67,7 @@ FROM ( , (7700, 'canto', 'Canto', 'Layer 2', NULL, 'ETH', NULL, 'https://evm.explorer.canto.io/', timestamp '2022-07-26 19:27', NULL, 'Ethereum', 'Ethereum') , (420, 'optimism_goerli', 'Optimism Goerli', 'Testnet', 'Optimistic Rollup', 'GTH', 0x4200000000000000000000000000000000000006, 'https://optimism-goerli.blockscout.com/', timestamp '2022-06-09 16:55', 'OP Stack', 'Goerli', 'Goerli') , (1313161554, 'aurora', 'Aurora', 'Layer 2', NULL, 'ETH', 0xC9BdeEd33CD01541e1eeD10f90519d2C06Fe3feB, 'https://explorer.aurora.dev/', timestamp '2020-07-21 21:50:11', NULL, NULL, NULL) - , (8217, 'klaytn', 'Klaytn', 'Layer 1', NULL, 'KLAY', 0xe4f05a66ec68b54a58b17c22107b02e0232cc817, 'https://scope.klaytn.com/', timestamp '2019-06-25 13:41:14', NULL, NULL, NULL) + , (8217, 'kaia', 'Kaia', 'Layer 1', NULL, 'KAIA', 0xe4f05a66ec68b54a58b17c22107b02e0232cc817, 'https://kaiascope.com/', timestamp '2019-06-25 13:41:14', NULL, NULL, NULL) , (34443, 'mode', 'Mode', 'Layer 2', 'Optimistic Rollup', 'ETH', 0x4200000000000000000000000000000000000006, 'https://explorer.mode.network/', timestamp '2023-11-16 20:46:23', 'OP Stack', 'Ethereum Blobs', 'Ethereum') , (291, 'orderly', 'Orderly Network', 'Layer 2', 'Optimistic Rollup', 'ETH', 0x4200000000000000000000000000000000000006, 'https://explorer.orderly.network/', timestamp '2023-10-06 16:03:49', 'OP Stack', 'Ethereum', 'Ethereum') , (957, 'lyra', 'Lyra', 'Layer 2', 'Optimistic Rollup', 'ETH', 0x4200000000000000000000000000000000000006, 'https://explorer.lyra.finance/', cast(NULL AS timestamp), 'OP Stack', 'Ethereum', 'Ethereum') @@ -64,4 +85,5 @@ FROM ( , (167000, 'taiko', 'Taiko', 'Layer 2', 'Optimistic Rollup', 'ETH', 0xa51894664a773981c6c112c43ce576f315d5b1b6, 'https://taikoscan.network/', timestamp '2024-03-29 07:39:12', 'OP Stack', 'Ethereum Blobs', 'Ethereum') , (1329, 'sei', 'Sei Network', 'Layer 1', NULL, 'SEI', 0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7, 'https://seitrace.com/?chain=pacific-1', timestamp '2024-05-27 13:14', NULL, NULL, NULL) , (480, 'worldchain', 'World Chain', 'Layer 2', 'Optimistic Rollup', 'WLD', 0x2cFc85d8E48F8EAB294be644d9E25C3030863003, 'https://worldchain-mainnet.explorer.alchemy.com/', timestamp '2024-06-25 17:14', 'OP Stack', 'Ethereum Blobs', 'Ethereum') + , (728126428, 'tron', 'TRON', 'Layer 1', null, 'TRX', from_tron_address('TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR'), 'https://tronscan.org/', timestamp '2024-06-25 17:14', NULL, NULL, NULL) ) AS temp_table (chain_id, blockchain, name, chain_type, rollup_type, native_token_symbol, wrapped_native_token_address, explorer_link, first_block_time, codebase, data_availability, settlement) diff --git a/dbt_subprojects/daily_spellbook/models/evms/evms_schema.yml b/dbt_subprojects/daily_spellbook/models/evms/evms_schema.yml index 64519b1d353..516eb029694 100644 --- a/dbt_subprojects/daily_spellbook/models/evms/evms_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/evms/evms_schema.yml @@ -238,7 +238,7 @@ models: config: tags: ['evms', 'contracts'] description: "A view keeping track of what contracts are decoded across EVM chains on Dune; contains information associated with the decoded contract such as namespace, name, address, ABI." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -265,7 +265,7 @@ models: description: "Boolean indicating whether the contract is a factory contract or not" - name: detection_source description: "Detection source: 'factory', 'base', or 'dynamic'" - tests: + data_tests: - accepted_values: values: ["factory", "base", "dynamic"] - name: created_at @@ -524,7 +524,7 @@ models: tags: ['method_ids','methods','function','signature'] description: > A table containing mappings for method ids (function signatures) that can be considered to be non-app transactions. There will be one row per blockchain x method_id combination. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -547,7 +547,7 @@ models: tags: ['method_ids','methods','function','signature'] description: > A table containing mappings for method ids (function signatures) that can be considered to be non-app transactions. There will be one row per blockchain x method_id combination. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -569,7 +569,7 @@ models: tags: ['method_ids','methods','function','signature'] description: > A table containing mappings for method ids (function signatures) that can be considered to be non-app transactions. There will be one row per blockchain x method_id combination. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/fiat_dao/ethereum/fiat_dao_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/fiat_dao/ethereum/fiat_dao_ethereum_schema.yml index 8e40e760652..ee77dedaf51 100644 --- a/dbt_subprojects/daily_spellbook/models/fiat_dao/ethereum/fiat_dao_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/fiat_dao/ethereum/fiat_dao_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'flashloans'] description: > All Fiat DAO flashloans - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/frax_finance/bnb/frax_finance_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/frax_finance/bnb/frax_finance_bnb_schema.yml index 9e17170cedb..1eba12eb044 100644 --- a/dbt_subprojects/daily_spellbook/models/frax_finance/bnb/frax_finance_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/frax_finance/bnb/frax_finance_bnb_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ["bnb", "frax_finance", "view"] description: This model shows the amount of bribe frax_finance is paying, at each epoch, to voters on a DEX who vote for frax pools. Since frax also partakes in voting, both for its pools and other pools, this model also tracks the bribes that it receives as reward. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - week_start @@ -20,17 +20,17 @@ models: - &week_start name: week_start description: "The start of the voting week on the dex" - tests: + data_tests: - not_null - &week_end name: week_end description: "The end of the voting week on the dex" - tests: + data_tests: - not_null - &week name: week description: "The number of the week since the start of Frax bribing program on the dex" - tests: + data_tests: - not_null - &bribe_last_week name: bribe_last_week diff --git a/dbt_subprojects/daily_spellbook/models/fungible/chains/fungible_schema.yml b/dbt_subprojects/daily_spellbook/models/fungible/chains/fungible_schema.yml index 796d5e394e4..9edbc4b74c5 100644 --- a/dbt_subprojects/daily_spellbook/models/fungible/chains/fungible_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/fungible/chains/fungible_schema.yml @@ -32,7 +32,7 @@ models: - name: decimals description: "The number of decimals of the fungible token" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20'] description: "Token standard" @@ -78,7 +78,7 @@ models: - name: decimals description: "The number of decimals of the fungible token" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20'] description: "Token standard" @@ -124,7 +124,7 @@ models: - name: decimals description: "The number of decimals of the fungible token" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'bep20'] description: "Token standard" @@ -170,7 +170,7 @@ models: - name: decimals description: "The number of decimals of the fungible token" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20'] description: "Token standard" @@ -216,7 +216,7 @@ models: - name: decimals description: "The number of decimals of the fungible token" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20'] description: "Token standard" @@ -262,7 +262,7 @@ models: - name: decimals description: "The number of decimals of the fungible token" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20'] description: "Token standard" @@ -308,7 +308,7 @@ models: - name: decimals description: "The number of decimals of the fungible token" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20'] description: "Token standard" @@ -354,7 +354,7 @@ models: - name: decimals description: "The number of decimals of the fungible token" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20'] description: "Token standard" @@ -400,7 +400,7 @@ models: - name: decimals description: "The number of decimals of the fungible token" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20'] description: "Token standard" diff --git a/dbt_subprojects/daily_spellbook/models/fungible/fungible_schema.yml b/dbt_subprojects/daily_spellbook/models/fungible/fungible_schema.yml index 0765b11f2de..a2631a8a00e 100644 --- a/dbt_subprojects/daily_spellbook/models/fungible/fungible_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/fungible/fungible_schema.yml @@ -32,7 +32,7 @@ models: - name: decimals description: "The number of decimals of the fungible token" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20', 'bep20'] description: "Token standard" diff --git a/dbt_subprojects/daily_spellbook/models/galxe/optimism/optimism_quests_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/galxe/optimism/optimism_quests_optimism_schema.yml index 93cf5d18aab..ef9afb8960b 100644 --- a/dbt_subprojects/daily_spellbook/models/galxe/optimism/optimism_quests_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/galxe/optimism/optimism_quests_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism','galxe', 'quests'] description: > A table containing all quest completion NFT mints for Galxe. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number diff --git a/dbt_subprojects/daily_spellbook/models/gitcoin/ethereum/gitcoin_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/gitcoin/ethereum/gitcoin_ethereum_schema.yml index 4361ea82cf7..7dded744788 100644 --- a/dbt_subprojects/daily_spellbook/models/gitcoin/ethereum/gitcoin_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gitcoin/ethereum/gitcoin_ethereum_schema.yml @@ -46,7 +46,7 @@ models: - &support name: support description: "0 = Against, 1 = For, 2 = Abstain votes" - tests: + data_tests: - accepted_values: values: ['for', 'against', 'abstain'] - &reason @@ -75,7 +75,7 @@ models: - *dao_name - *dao_address - name: proposal_id - tests: + data_tests: - unique - &votes_for name: votes_for @@ -92,7 +92,7 @@ models: - &status name: status description: "Proposal status: Queued, Active, Executed, Canceled or Defeated" - tests: + data_tests: - accepted_values: values: ['Queued', 'Active', 'Executed', 'Canceled','Defeated'] - &description @@ -108,7 +108,7 @@ models: tags: ['ethereum', 'gitcoin', 'donation'] description: > All Gitcoin donations on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/gitcoin/gitcoin_schema.yml b/dbt_subprojects/daily_spellbook/models/gitcoin/gitcoin_schema.yml index b06c40a9d65..75ffa54e537 100644 --- a/dbt_subprojects/daily_spellbook/models/gitcoin/gitcoin_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gitcoin/gitcoin_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'polygon', 'gitcoin', 'grant', 'round'] description: > All Gitcoin grant round dates on Ethereum & Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - round_name @@ -28,7 +28,7 @@ models: tags: ['ethereum', 'polygon', 'gitcoin', 'donation'] description: > All Gitcoin donations on Ethereum & Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/gitcoin/polygon/gitcoin_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/gitcoin/polygon/gitcoin_polygon_schema.yml index 14b9d391b9c..1a738ff5e57 100644 --- a/dbt_subprojects/daily_spellbook/models/gitcoin/polygon/gitcoin_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gitcoin/polygon/gitcoin_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon', 'gitcoin', 'donation'] description: > All Gitcoin donations on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/gmx/arbitrum/glp/gmx_arbitrum_glp_schema.yml b/dbt_subprojects/daily_spellbook/models/gmx/arbitrum/glp/gmx_arbitrum_glp_schema.yml index b9478ef791c..0fbb5a8c1e5 100644 --- a/dbt_subprojects/daily_spellbook/models/gmx/arbitrum/glp/gmx_arbitrum_glp_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gmx/arbitrum/glp/gmx_arbitrum_glp_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum','gmx','glp'] description: > Create a table of components used in deriving GLP AUM data. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -19,7 +19,7 @@ models: - &minute name: minute description: "UTC event block time truncated to the minute" - tests: + data_tests: - unique - not_null - &block_date @@ -28,142 +28,142 @@ models: - &frax_available_assets name: frax_available_assets description: "FRAX tokens in poolAmounts" - tests: + data_tests: - not_null - &frax_current_price name: frax_current_price description: "Current price of FRAX as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &usdt_available_assets name: usdt_available_assets description: "USDT tokens in poolAmounts" - tests: + data_tests: - not_null - &usdt_current_price name: usdt_current_price description: "Current price of USDT as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &wbtc_available_assets name: wbtc_available_assets description: "WBTC tokens that are available for taking long positions against the pool, calculated as poolAmounts minus reservedAmounts" - tests: + data_tests: - not_null - &wbtc_longs name: wbtc_longs description: "Net value of WBTC longs in USDG" - tests: + data_tests: - not_null - &wbtc_current_price name: wbtc_current_price description: "Current price of WBTC as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &wbtc_shorts_entry_price name: wbtc_shorts_entry_price description: "Average price (volume weighted) of all WBTC shorts" - tests: + data_tests: - not_null - &wbtc_shorts_outstanding_notional name: wbtc_shorts_outstanding_notional description: "Sum of all WBTC shorts in USDG" - tests: + data_tests: - not_null - &usdc_available_assets name: usdc_available_assets description: "USDC tokens in poolAmounts" - tests: + data_tests: - not_null - &usdc_current_price name: usdc_current_price description: "Current price of USDC as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &uni_available_assets name: uni_available_assets description: "UNI tokens that are available for taking long positions against the pool, calculated as poolAmounts minus reservedAmounts" - tests: + data_tests: - not_null - &uni_longs name: uni_longs description: "Net value of UNI longs in USDG" - tests: + data_tests: - not_null - &uni_current_price name: uni_current_price description: "Current price of UNI as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &uni_shorts_entry_price name: uni_shorts_entry_price description: "Average price (volume weighted) of all UNI shorts" - tests: + data_tests: - not_null - &uni_shorts_outstanding_notional name: uni_shorts_outstanding_notional description: "Sum of all UNI shorts in USDG" - tests: + data_tests: - not_null - &link_available_assets name: link_available_assets description: "LINK tokens that are available for taking long positions against the pool, calculated as poolAmounts minus reservedAmounts" - tests: + data_tests: - not_null - &link_longs name: link_longs description: "Net value of LINK longs in USDG" - tests: + data_tests: - not_null - &link_current_price name: link_current_price description: "Current price of LINK as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &link_shorts_entry_price name: link_shorts_entry_price description: "Average price (volume weighted) of all LINK shorts" - tests: + data_tests: - not_null - &link_shorts_outstanding_notional name: link_shorts_outstanding_notional description: "Sum of all LINK shorts in USDG" - tests: + data_tests: - not_null - &weth_available_assets name: weth_available_assets description: "WETH tokens that are available for taking long positions against the pool, calculated as poolAmounts minus reservedAmounts" - tests: + data_tests: - not_null - &weth_longs name: weth_longs description: "Net value of WETH longs in USDG" - tests: + data_tests: - not_null - &weth_current_price name: weth_current_price description: "Current price of WETH as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &weth_shorts_entry_price name: weth_shorts_entry_price description: "Average price (volume weighted) of all WETH shorts" - tests: + data_tests: - not_null - &weth_shorts_outstanding_notional name: weth_shorts_outstanding_notional description: "Sum of all WETH shorts in USDG" - tests: + data_tests: - not_null - &dai_available_assets name: dai_available_assets description: "DAI tokens in poolAmounts" - tests: + data_tests: - not_null - &dai_current_price name: dai_current_price description: "Current price of DAI as calculated per the GMX smart contract" - tests: + data_tests: - not_null - name: gmx_arbitrum_glp_components @@ -175,7 +175,7 @@ models: tags: ['arbitrum','gmx','glp'] description: > View components used in deriving GLP AUM data. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -221,7 +221,7 @@ models: tags: ['arbitrum','gmx','glp'] description: > View GLP net AUM for stablecoins; and the AUM of long and neutral exposure for directional tokens. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -232,62 +232,62 @@ models: - &frax_aum name: frax_aum description: "Net asset under management for the FRAX pool" - tests: + data_tests: - not_null - &usdt_aum name: usdt_aum description: "Net asset under management for the USDT pool" - tests: + data_tests: - not_null - &wbtc_long_exposure_aum name: wbtc_long_exposure_aum description: "Net asset under management of long exposures for the WBTC pool" - tests: + data_tests: - not_null - &wbtc_neutral_exposure_aum name: wbtc_neutral_exposure_aum description: "Net asset under management of neutral exposures for the WBTC pool" - tests: + data_tests: - not_null - &usdc_aum name: usdc_aum description: "Net asset under management for the USDC pool" - tests: + data_tests: - not_null - &uni_long_exposure_aum name: uni_long_exposure_aum description: "Net asset under management of long exposures for the UNI pool" - tests: + data_tests: - not_null - &uni_neutral_exposure_aum name: uni_neutral_exposure_aum description: "Net asset under management of neutral exposures for the UNI pool" - tests: + data_tests: - not_null - &link_long_exposure_aum name: link_long_exposure_aum description: "Net asset under management of long exposures for the LINK pool" - tests: + data_tests: - not_null - &link_neutral_exposure_aum name: link_neutral_exposure_aum description: "Net asset under management of neutral exposures for the LINK pool" - tests: + data_tests: - not_null - &weth_long_exposure_aum name: weth_long_exposure_aum description: "Net asset under management of long exposures for the WETH pool" - tests: + data_tests: - not_null - &weth_neutral_exposure_aum name: weth_neutral_exposure_aum description: "Net asset under management of neutral exposures for the WETH pool" - tests: + data_tests: - not_null - &dai_aum name: dai_aum description: "Net asset under management for the DAI pool" - tests: + data_tests: - not_null - name: gmx_arbitrum_glp_fees @@ -299,7 +299,7 @@ models: tags: ['arbitrum','gmx','glp'] description: > View GLP fee accrued in the Fee GLP contract. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -310,12 +310,12 @@ models: - &fees_weth_generated name: fees_weth_generated description: "Fees generated in WETH" - tests: + data_tests: - not_null - &fees_weth_cumulative name: fees_weth_cumulative description: "Cumulative accrued fees in WETH" - tests: + data_tests: - not_null - *weth_current_price @@ -328,7 +328,7 @@ models: tags: ['arbitrum','gmx','glp'] description: > View GLP mint and burns through the GLP Manager contract. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -339,10 +339,10 @@ models: - &glp_mint_burn name: glp_mint_burn description: "GLP net mints and burns" - tests: + data_tests: - not_null - &glp_float name: glp_float description: "Cumulative GLP float" - tests: + data_tests: - not_null \ No newline at end of file diff --git a/dbt_subprojects/daily_spellbook/models/gmx/arbitrum/vault/gmx_arbitrum_vault_schema.yml b/dbt_subprojects/daily_spellbook/models/gmx/arbitrum/vault/gmx_arbitrum_vault_schema.yml index 8306ae2e503..f1386612ba0 100644 --- a/dbt_subprojects/daily_spellbook/models/gmx/arbitrum/vault/gmx_arbitrum_vault_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gmx/arbitrum/vault/gmx_arbitrum_vault_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum','gmx','glp'] description: > View balances of tokens in the GMX vault - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -19,7 +19,7 @@ models: - &minute name: minute description: "UTC event block time truncated to the minute" - tests: + data_tests: - unique - not_null - &block_date @@ -28,40 +28,40 @@ models: - &frax_balance name: frax_balance description: "Balance of FRAX tokens in the GMX vault" - tests: + data_tests: - not_null - &usdt_balance name: usdt_balance description: "Balance of USDT tokens in the GMX vault" - tests: + data_tests: - not_null - &wbtc_balance name: wbtc_balance description: "Balance of WBTC tokens in the GMX vault" - tests: + data_tests: - not_null - &usdc_balance name: usdc_balance description: "Balance of USDC tokens in the GMX vault" - tests: + data_tests: - not_null - &uni_balance name: uni_balance description: "Balance of UNI tokens in the GMX vault" - tests: + data_tests: - not_null - &link_balance name: link_balance description: "Balance of LINK tokens in the GMX vault" - tests: + data_tests: - not_null - &weth_balance name: weth_balance description: "Balance of WETH tokens in the GMX vault" - tests: + data_tests: - not_null - &dai_balance name: dai_balance description: "Balance of DAI tokens in the GMX vault" - tests: + data_tests: - not_null \ No newline at end of file diff --git a/dbt_subprojects/daily_spellbook/models/gmx/avalanche_c/glp/gmx_avalanche_c_glp_schema.yml b/dbt_subprojects/daily_spellbook/models/gmx/avalanche_c/glp/gmx_avalanche_c_glp_schema.yml index 06f729e1512..ec800290285 100644 --- a/dbt_subprojects/daily_spellbook/models/gmx/avalanche_c/glp/gmx_avalanche_c_glp_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gmx/avalanche_c/glp/gmx_avalanche_c_glp_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c','gmx','glp'] description: > View components used in deriving GLP AUM data. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -19,7 +19,7 @@ models: - &minute name: minute description: "UTC event block time truncated to the minute" - tests: + data_tests: - not_null - &block_date name: block_date @@ -27,132 +27,132 @@ models: - &usdc_available_assets name: usdc_available_assets description: "USDC tokens in poolAmounts" - tests: + data_tests: - not_null - &usdc_current_price name: usdc_current_price description: "Current price of USDC as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &usdc_e_available_assets name: usdc_e_available_assets description: "USDC.e tokens in poolAmounts" - tests: + data_tests: - not_null - &usdc_e_current_price name: usdc_e_current_price description: "Current price of USDC.e as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &mim_available_assets name: mim_available_assets description: "MIM tokens in poolAmounts" - tests: + data_tests: - not_null - &mim_current_price name: mim_current_price description: "Current price of MIM as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &wavax_available_assets name: wavax_available_assets description: "WAVAX tokens that are available for taking long positions against the pool, calculated as poolAmounts minus reservedAmounts" - tests: + data_tests: - not_null - &wavax_current_price name: wavax_current_price description: "Current price of WAVAX as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &wavax_longs name: wavax_longs description: "Net value of WAVAX longs in USDG" - tests: + data_tests: - not_null - &wavax_shorts_entry_price name: wavax_shorts_entry_price description: "Average price (volume weighted) of all WAVAX shorts" - tests: + data_tests: - not_null - &wavax_shorts_outstanding_notional name: wavax_shorts_outstanding_notional description: "Sum of all WAVAX shorts in USDG" - tests: + data_tests: - not_null - &weth_e_available_assets name: weth_e_available_assets description: "WETH.e tokens that are available for taking long positions against the pool, calculated as poolAmounts minus reservedAmounts" - tests: + data_tests: - not_null - &weth_e_current_price name: weth_e_current_price description: "Current price of WETH.e as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &weth_e_longs name: weth_e_longs description: "Net value of WETH.e longs in USDG" - tests: + data_tests: - not_null - &weth_e_shorts_entry_price name: weth_e_shorts_entry_price description: "Average price (volume weighted) of all WETH.e shorts" - tests: + data_tests: - not_null - &weth_e_shorts_outstanding_notional name: weth_e_shorts_outstanding_notional description: "Sum of all WETH.e shorts in USDG" - tests: + data_tests: - not_null - &wbtc_e_available_assets name: wbtc_e_available_assets description: "WBTC.e tokens that are available for taking long positions against the pool, calculated as poolAmounts minus reservedAmounts" - tests: + data_tests: - not_null - &wbtc_e_current_price name: wbtc_e_current_price description: "Current price of WBTC.e as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &wbtc_e_longs name: wbtc_e_longs description: "Net value of WBTC.e longs in USDG" - tests: + data_tests: - not_null - &wbtc_e_shorts_entry_price name: wbtc_e_shorts_entry_price description: "Average price (volume weighted) of all WBTC.e shorts" - tests: + data_tests: - not_null - &wbtc_e_shorts_outstanding_notional name: wbtc_e_shorts_outstanding_notional description: "Sum of all WBTC.e shorts in USDG" - tests: + data_tests: - not_null - &btc_b_available_assets name: btc_b_available_assets description: "BTC.b tokens that are available for taking long positions against the pool, calculated as poolAmounts minus reservedAmounts" - tests: + data_tests: - not_null - &btc_b_current_price name: btc_b_current_price description: "Current price of BTC.b as calculated per the GMX smart contract" - tests: + data_tests: - not_null - &btc_b_longs name: btc_b_longs description: "Net value of BTC.b longs in USDG" - tests: + data_tests: - not_null - &btc_b_shorts_entry_price name: btc_b_shorts_entry_price description: "Average price (volume weighted) of all BTC.b shorts" - tests: + data_tests: - not_null - &wbtc_b_shorts_outstanding_notional name: btc_b_shorts_outstanding_notional description: "Sum of all BTC.b shorts in USDG" - tests: + data_tests: - not_null - name: gmx_avalanche_c_glp_aum @@ -164,7 +164,7 @@ models: tags: ['avalanche_c','gmx','glp'] description: > View GLP net AUM by pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -175,35 +175,35 @@ models: - &usdc_aum name: usdc_aum description: "Net asset under management for the USDC pool" - tests: + data_tests: - not_null - &usdc_e_aum name: usdc_e_aum description: "Net asset under management for the USDC.e pool" - tests: + data_tests: - not_null - &mim_aum name: mim_aum description: "Net asset under management for the MIM pool" - tests: + data_tests: - not_null - &wavax_aum name: wavax_aum description: "Net asset under management for the WAVAX pool" - tests: + data_tests: - not_null - &weth_e_aum name: weth_e_aum description: "Net asset under management for the WETH.e pool" - tests: + data_tests: - not_null - &wbtc_e_aum name: wbtc_e_aum description: "Net asset under management for the WBTC.e pool" - tests: + data_tests: - not_null - &btc_b_aum name: btc_b_aum description: "Net asset under management for the BTC.b pool" - tests: + data_tests: - not_null diff --git a/dbt_subprojects/daily_spellbook/models/gyroscope/arbitrum/gyroscope_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/gyroscope/arbitrum/gyroscope_arbitrum_schema.yml index 6abbaa167d5..5e156bd28c5 100644 --- a/dbt_subprojects/daily_spellbook/models/gyroscope/arbitrum/gyroscope_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gyroscope/arbitrum/gyroscope_arbitrum_schema.yml @@ -15,7 +15,7 @@ models: tags: ["arbitrum", "gyroscope", "trades"] description: trades on gyroscope E-CLP pools on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time diff --git a/dbt_subprojects/daily_spellbook/models/gyroscope/avalanche_c/gyroscope_avalanche_c_schema.yml b/dbt_subprojects/daily_spellbook/models/gyroscope/avalanche_c/gyroscope_avalanche_c_schema.yml index 45cc3b0baf0..663dcc413e2 100644 --- a/dbt_subprojects/daily_spellbook/models/gyroscope/avalanche_c/gyroscope_avalanche_c_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gyroscope/avalanche_c/gyroscope_avalanche_c_schema.yml @@ -15,7 +15,7 @@ models: tags: ["avalanche_c", "gyroscope", "trades"] description: trades on gyroscope E-CLP pools on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time diff --git a/dbt_subprojects/daily_spellbook/models/gyroscope/ethereum/gyroscope_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/gyroscope/ethereum/gyroscope_ethereum_schema.yml index 3a241ed9492..d5d7cd92ab8 100644 --- a/dbt_subprojects/daily_spellbook/models/gyroscope/ethereum/gyroscope_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gyroscope/ethereum/gyroscope_ethereum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["ethereum", "gyroscope", "trades"] description: trades on gyroscope E-CLP pools on ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time diff --git a/dbt_subprojects/daily_spellbook/models/gyroscope/gyroscope_schema.yml b/dbt_subprojects/daily_spellbook/models/gyroscope/gyroscope_schema.yml index 1a5799bfb76..291f3e14439 100644 --- a/dbt_subprojects/daily_spellbook/models/gyroscope/gyroscope_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gyroscope/gyroscope_schema.yml @@ -95,7 +95,7 @@ models: tags: ['arbitrum', 'ethereum', 'optimism',] description: > These tokens are being launched in Gyroscope pools, priced at 1 USD, a value that tends to grow marginally over time. This list is an approximation to price these tokens while they're not available on prices.usd and dex.prices - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/gyroscope/optimism/gyroscope_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/gyroscope/optimism/gyroscope_optimism_schema.yml index f14fb5c96d9..c2b8b56d9e9 100644 --- a/dbt_subprojects/daily_spellbook/models/gyroscope/optimism/gyroscope_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gyroscope/optimism/gyroscope_optimism_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["optimism", "gyroscope", "trades"] description: trades on gyroscope E-CLP pools on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time diff --git a/dbt_subprojects/daily_spellbook/models/gyroscope/polygon/gyroscope_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/gyroscope/polygon/gyroscope_polygon_schema.yml index 9fb5206a774..4484d8a5a8b 100644 --- a/dbt_subprojects/daily_spellbook/models/gyroscope/polygon/gyroscope_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/gyroscope/polygon/gyroscope_polygon_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["polygon", "gyroscope", "trades"] description: trades on gyroscope E-CLP pools on polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time diff --git a/dbt_subprojects/daily_spellbook/models/hashflow/avalanche_c/hashflow_avalanche_c_schema.yml b/dbt_subprojects/daily_spellbook/models/hashflow/avalanche_c/hashflow_avalanche_c_schema.yml index 53cc433feb2..0d7c89b146a 100644 --- a/dbt_subprojects/daily_spellbook/models/hashflow/avalanche_c/hashflow_avalanche_c_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/hashflow/avalanche_c/hashflow_avalanche_c_schema.yml @@ -11,7 +11,7 @@ models: tags: ['avalanche_c','hashflow','trades','dex','BroderickBonelli'] description: > Table of Hashflow cross chain trades on avalanche_c. Includes unique data for cross chain trades such as source and destination chains for further analysis of Hashflow's cross chain activity. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/hashflow/bnb/hashflow_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/hashflow/bnb/hashflow_bnb_schema.yml index 52fd649260b..509ee15fc3c 100644 --- a/dbt_subprojects/daily_spellbook/models/hashflow/bnb/hashflow_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/hashflow/bnb/hashflow_bnb_schema.yml @@ -11,7 +11,7 @@ models: tags: ['bnb','hashflow','trades','dex','BroderickBonelli'] description: > Table of chain trades on Hashflow. Includes unique data for cross chain trades such as source and destination chains for further analysis of Hashflow's cross chain activity. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/hashflow/ethereum/hashflow_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/hashflow/ethereum/hashflow_ethereum_schema.yml index 0669b549de8..bb8e53a747d 100644 --- a/dbt_subprojects/daily_spellbook/models/hashflow/ethereum/hashflow_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/hashflow/ethereum/hashflow_ethereum_schema.yml @@ -11,7 +11,7 @@ models: tags: ['ethereum','hashflow','trades','dex','BroderickBonelli'] description: > Table of Hashflow cross chain trades on ethereum. Includes unique data for cross chain trades such as source and destination chains for further analysis of Hashflow's cross chain activity. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/hashflow/hashflow_trades_schema.yml b/dbt_subprojects/daily_spellbook/models/hashflow/hashflow_trades_schema.yml index 6e00ecbaa3f..442e704cfdf 100644 --- a/dbt_subprojects/daily_spellbook/models/hashflow/hashflow_trades_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/hashflow/hashflow_trades_schema.yml @@ -11,7 +11,7 @@ models: tags: ['avalanche_c', 'bnb', 'ethereum', 'hashflow','trades','dex','BroderickBonelli'] description: > Table of Hashflow cross chain trades. Includes unique data for cross chain trades such as source and destination chains for further analysis of Hashflow's cross chain activity. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/hashflow/optimism/hashflow_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/hashflow/optimism/hashflow_optimism_schema.yml index ab624a07d04..7c6e5f4588c 100644 --- a/dbt_subprojects/daily_spellbook/models/hashflow/optimism/hashflow_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/hashflow/optimism/hashflow_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism','hashflow','trades','dex','ARDev097'] description: > Table of Hashflow cross chain trades on optimism. Includes unique data for cross chain trades such as source and destination chains for further analysis of Hashflow's cross chain activity. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/hop_protocol/hop_protocol_schema.yml b/dbt_subprojects/daily_spellbook/models/hop_protocol/hop_protocol_schema.yml index 332f381a9a9..2eca66b07a2 100644 --- a/dbt_subprojects/daily_spellbook/models/hop_protocol/hop_protocol_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/hop_protocol/hop_protocol_schema.yml @@ -9,7 +9,7 @@ models: tags: ['bridges','hop_protocol', 'flows', 'cross-chain', 'optimism'] description: > Table aggregating bridge transfers through Hop Protocol. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -117,7 +117,7 @@ models: tags: ['bridge','hop_protocol','cross-chain'] description: > Table storing address mapping inoformation for Hop's bridge addresses and underlying tokens. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/hop_protocol/optimism/hop_protocol_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/hop_protocol/optimism/hop_protocol_optimism_schema.yml index af22be8e49f..28f9152ba33 100644 --- a/dbt_subprojects/daily_spellbook/models/hop_protocol/optimism/hop_protocol_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/hop_protocol/optimism/hop_protocol_optimism_schema.yml @@ -9,7 +9,7 @@ models: tags: ['bridges','hop_protocol', 'flows', 'cross-chain', 'optimism'] description: > Table aggregating bridge flows through Hop Protocol. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/integration_test/integration_test.yml b/dbt_subprojects/daily_spellbook/models/integration_test/integration_test.yml index 49af47c5b06..9cd4655bc2b 100644 --- a/dbt_subprojects/daily_spellbook/models/integration_test/integration_test.yml +++ b/dbt_subprojects/daily_spellbook/models/integration_test/integration_test.yml @@ -7,7 +7,7 @@ models: tags: ['integration_test'] columns: - name: blockchain - tests: + data_tests: - not_null - name: test_view @@ -16,5 +16,5 @@ models: tags: ['integration_test'] columns: - name: blockchain - tests: + data_tests: - not_null \ No newline at end of file diff --git a/dbt_subprojects/daily_spellbook/models/ironbank/ethereum/ironbank_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/ironbank/ethereum/ironbank_ethereum_schema.yml index 34e62332295..c27c9238481 100644 --- a/dbt_subprojects/daily_spellbook/models/ironbank/ethereum/ironbank_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ironbank/ethereum/ironbank_ethereum_schema.yml @@ -15,32 +15,32 @@ models: - &symbol name: symbol description: "The symbol of the itoken" - tests: + data_tests: - not_null - &contract_address name: contract_address description: "The contract address of the itoken" - tests: + data_tests: - not_null - &decimals name: decimals description: "The decimals of the itoken" - tests: + data_tests: - not_null - &underlying_token_address name: underlying_token_address description: "The underlying address of the itoken" - tests: + data_tests: - not_null - &underlying_decimals name: underlying_decimals description: "The underlying decimals of the itoken" - tests: + data_tests: - not_null - &underlying_symbol name: underlying_symbol description: "The underlying symbol of the itoken" - tests: + data_tests: - not_null - name: ironbank_ethereum_borrow meta: diff --git a/dbt_subprojects/daily_spellbook/models/ironbank/optimism/ironbank_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/ironbank/optimism/ironbank_optimism_schema.yml index 8fa87a9225c..b99e4818c63 100644 --- a/dbt_subprojects/daily_spellbook/models/ironbank/optimism/ironbank_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ironbank/optimism/ironbank_optimism_schema.yml @@ -15,32 +15,32 @@ models: - &symbol name: symbol description: "The symbol of the itoken" - tests: + data_tests: - not_null - &contract_address name: contract_address description: "The contract address of the itoken" - tests: + data_tests: - not_null - &decimals name: decimals description: "The decimals of the itoken" - tests: + data_tests: - not_null - &underlying_token_address name: underlying_token_address description: "The underlying address of the itoken" - tests: + data_tests: - not_null - &underlying_decimals name: underlying_decimals description: "The underlying decimals of the itoken" - tests: + data_tests: - not_null - &underlying_symbol name: underlying_symbol description: "The underlying symbol of the itoken" - tests: + data_tests: - not_null - name: ironbank_optimism_borrow meta: diff --git a/dbt_subprojects/daily_spellbook/models/jarvis_network/polygon/jarvis_network_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/jarvis_network/polygon/jarvis_network_polygon_schema.yml index a54997018db..5d8f83d730f 100644 --- a/dbt_subprojects/daily_spellbook/models/jarvis_network/polygon/jarvis_network_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/jarvis_network/polygon/jarvis_network_polygon_schema.yml @@ -11,7 +11,7 @@ models: tags: ['polygon','synthereum','currencies','forex', 'Jarvis Network', '0xroll'] description: > Jarvis Network Synthereum transactions on Polygon across all contracts and versions. This table will load all synthereum activities downstream. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/jelly_swap/sei/jelly_swap_sei_schema.yml b/dbt_subprojects/daily_spellbook/models/jelly_swap/sei/jelly_swap_sei_schema.yml index fecc0c2a715..b3d1c0fbbb7 100644 --- a/dbt_subprojects/daily_spellbook/models/jelly_swap/sei/jelly_swap_sei_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/jelly_swap/sei/jelly_swap_sei_schema.yml @@ -17,7 +17,7 @@ models: - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' - tests: + data_tests: - not_null - &token_address name: token_address @@ -35,7 +35,7 @@ models: tags: ['sei', 'jelly_swap', 'pools', 'liquidity'] description: > JellySwap pools liquidity by token in sei. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -78,7 +78,7 @@ models: tags: ['sei', 'revenue', 'fees'] description: > Daily Protocol Fee collected and Revenue by pool on JellySwap, an automated portfolio manager and trading platform built on jelly_swap. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -116,7 +116,7 @@ models: tags: ['sei', 'bpt', 'supply'] description: > jelly_swap Pool Token (BPT) supply for JellySwap pools built on jelly_swap. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -139,7 +139,7 @@ models: tags: ['sei', 'bpt', 'prices'] description: > jelly_swap Pool Token (BPT) daily price by pool on JellySwap, an automated portfolio manager and trading platform built on jelly_swap. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -163,7 +163,7 @@ models: tags: ['sei', 'bpt', 'transfers'] description: > jelly_swap Pool Token (BPT) transfer logs on JellySwap, an automated portfolio manager and trading platform built on jelly_swap. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -191,7 +191,7 @@ models: tags: ['sei', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on JellySwap Pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -239,7 +239,7 @@ models: tags: ['sei', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on JellySwap Pools, grouped by day. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -274,7 +274,7 @@ models: tags: ['sei', 'bpt', 'supply', 'changes'] description: > jelly_swap Pool Token (BPT) supply change events on JellySwap. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -313,7 +313,7 @@ models: tags: ['sei', 'bpt', 'supply', 'changes'] description: > jelly_swap Pool Token (BPT) supply change events on JellySwap, grouped by day - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -337,7 +337,7 @@ models: tags: ['sei', 'jelly_swap', 'pool', 'stats', 'volume', 'tvl', 'fee'] description: > This spell aggregates data from the trades, liquidity and protocol fees spells, by day and pool, while also displaying some basic information about the pool - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/layerzero/arbitrum/layerzero_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/layerzero/arbitrum/layerzero_arbitrum_schema.yml index d57e8ef1d43..0f4c21f289b 100644 --- a/dbt_subprojects/daily_spellbook/models/layerzero/arbitrum/layerzero_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/layerzero/arbitrum/layerzero_arbitrum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['arbitrum', 'layerzero', 'send'] description: "LayerZero message send call on arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_time', 'tx_hash', 'user_address', 'trace_address', 'source_chain_id', 'destination_chain_id' ] columns: diff --git a/dbt_subprojects/daily_spellbook/models/layerzero/avalanche_c/layerzero_avalanche_c_schema.yml b/dbt_subprojects/daily_spellbook/models/layerzero/avalanche_c/layerzero_avalanche_c_schema.yml index 24d9ed1c053..655756a9985 100644 --- a/dbt_subprojects/daily_spellbook/models/layerzero/avalanche_c/layerzero_avalanche_c_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/layerzero/avalanche_c/layerzero_avalanche_c_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['avalanche_c', 'layerzero', 'send'] description: "LayerZero message send call on avalanche c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_time', 'tx_hash', 'user_address', 'trace_address', 'source_chain_id', 'destination_chain_id' ] columns: diff --git a/dbt_subprojects/daily_spellbook/models/layerzero/base/layerzero_base_schema.yml b/dbt_subprojects/daily_spellbook/models/layerzero/base/layerzero_base_schema.yml index f51a6e68d13..ce2585faeb6 100644 --- a/dbt_subprojects/daily_spellbook/models/layerzero/base/layerzero_base_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/layerzero/base/layerzero_base_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['base', 'layerzero', 'send'] description: "LayerZero message send call on base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_time', 'tx_hash', 'user_address', 'trace_address', 'source_chain_id', 'destination_chain_id' ] columns: diff --git a/dbt_subprojects/daily_spellbook/models/layerzero/bnb/layerzero_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/layerzero/bnb/layerzero_bnb_schema.yml index f61a199a594..377be21e140 100644 --- a/dbt_subprojects/daily_spellbook/models/layerzero/bnb/layerzero_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/layerzero/bnb/layerzero_bnb_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['bnb', 'layerzero', 'send'] description: "LayerZero message send call on bnb" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_time', 'tx_hash', 'user_address', 'trace_address', 'source_chain_id', 'destination_chain_id' ] columns: diff --git a/dbt_subprojects/daily_spellbook/models/layerzero/celo/layerzero_celo_schema.yml b/dbt_subprojects/daily_spellbook/models/layerzero/celo/layerzero_celo_schema.yml index a5272710928..246ec363594 100644 --- a/dbt_subprojects/daily_spellbook/models/layerzero/celo/layerzero_celo_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/layerzero/celo/layerzero_celo_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['celo', 'layerzero', 'send'] description: "LayerZero message send call on celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_time', 'tx_hash', 'user_address', 'trace_address', 'source_chain_id', 'destination_chain_id' ] columns: diff --git a/dbt_subprojects/daily_spellbook/models/layerzero/ethereum/layerzero_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/layerzero/ethereum/layerzero_ethereum_schema.yml index 69d6dcc2407..78de03e56dd 100644 --- a/dbt_subprojects/daily_spellbook/models/layerzero/ethereum/layerzero_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/layerzero/ethereum/layerzero_ethereum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['ethereum', 'layerzero', 'send'] description: "LayerZero message send call on ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_time', 'tx_hash', 'user_address', 'trace_address', 'source_chain_id', 'destination_chain_id' ] columns: diff --git a/dbt_subprojects/daily_spellbook/models/layerzero/fantom/layerzero_fantom_schema.yml b/dbt_subprojects/daily_spellbook/models/layerzero/fantom/layerzero_fantom_schema.yml index 38423753fd2..aab3417afd0 100644 --- a/dbt_subprojects/daily_spellbook/models/layerzero/fantom/layerzero_fantom_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/layerzero/fantom/layerzero_fantom_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['fantom', 'layerzero', 'send'] description: "LayerZero message send call on fantom" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_time', 'tx_hash', 'user_address', 'trace_address', 'source_chain_id', 'destination_chain_id' ] columns: diff --git a/dbt_subprojects/daily_spellbook/models/layerzero/gnosis/layerzero_gnosis_schema.yml b/dbt_subprojects/daily_spellbook/models/layerzero/gnosis/layerzero_gnosis_schema.yml index 95f74a23070..9f45124a6bc 100644 --- a/dbt_subprojects/daily_spellbook/models/layerzero/gnosis/layerzero_gnosis_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/layerzero/gnosis/layerzero_gnosis_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['gnosis', 'layerzero', 'send'] description: "LayerZero message send call on gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_time', 'tx_hash', 'user_address', 'trace_address', 'source_chain_id', 'destination_chain_id' ] columns: diff --git a/dbt_subprojects/daily_spellbook/models/layerzero/layerzero_chain_list_schema.yml b/dbt_subprojects/daily_spellbook/models/layerzero/layerzero_chain_list_schema.yml index 3c9e5b8325e..965953b9e36 100644 --- a/dbt_subprojects/daily_spellbook/models/layerzero/layerzero_chain_list_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/layerzero/layerzero_chain_list_schema.yml @@ -16,7 +16,7 @@ models: - &chain_id name: chain_id description: "Layerzer's chain id" - tests: + data_tests: - unique - &endpoint_address name: endpoint_address diff --git a/dbt_subprojects/daily_spellbook/models/layerzero/optimism/layerzero_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/layerzero/optimism/layerzero_optimism_schema.yml index f53f704fc2b..1f0f94cc8b1 100644 --- a/dbt_subprojects/daily_spellbook/models/layerzero/optimism/layerzero_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/layerzero/optimism/layerzero_optimism_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['optimism', 'layerzero', 'send'] description: "LayerZero message send call on optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_time', 'tx_hash', 'user_address', 'trace_address', 'source_chain_id', 'destination_chain_id' ] columns: diff --git a/dbt_subprojects/daily_spellbook/models/layerzero/polygon/layerzero_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/layerzero/polygon/layerzero_polygon_schema.yml index 3fe4aa4f63c..bb7204fce07 100644 --- a/dbt_subprojects/daily_spellbook/models/layerzero/polygon/layerzero_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/layerzero/polygon/layerzero_polygon_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['polygon', 'layerzero', 'send'] description: "LayerZero message send call on polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_time', 'tx_hash', 'user_address', 'trace_address', 'source_chain_id', 'destination_chain_id' ] columns: diff --git a/dbt_subprojects/daily_spellbook/models/limitbreak/creator_tokens/schema.yml b/dbt_subprojects/daily_spellbook/models/limitbreak/creator_tokens/schema.yml index 4710d964b5c..bcc0aa8718c 100644 --- a/dbt_subprojects/daily_spellbook/models/limitbreak/creator_tokens/schema.yml +++ b/dbt_subprojects/daily_spellbook/models/limitbreak/creator_tokens/schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'nft', '721C', 'ERC721C', '1155C', 'ERC1155C', 'Limit Break', 'limitbreak', 'creator tokens', 'creatortokens' ] description: > Identifies smart contracts that implement Creator Token Standards so that collection, minting and trade data can be queried based on Creator Token Standard support. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/maker/ethereum/maker_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/maker/ethereum/maker_ethereum_schema.yml index d9f0c94a7e5..cd8e03faba1 100644 --- a/dbt_subprojects/daily_spellbook/models/maker/ethereum/maker_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/maker/ethereum/maker_ethereum_schema.yml @@ -48,7 +48,7 @@ models: tags: ['ethereum', 'flashloans'] description: > All Maker flashloans - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/mauve/ethereum/mauve_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/mauve/ethereum/mauve_ethereum_schema.yml index 8c8fdda4b1a..8aa03e35389 100644 --- a/dbt_subprojects/daily_spellbook/models/mauve/ethereum/mauve_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/mauve/ethereum/mauve_ethereum_schema.yml @@ -22,7 +22,7 @@ models: description: "Version of the contract built and deployed by the DEX project" - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/_schema.yml b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/_schema.yml index 3489931217b..5e1dab735e1 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["ethereum", "nexusmutual", "capital_pool"] description: "Token transfers in the Nexus Mutual Capital Pool" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -21,27 +21,27 @@ models: - &block_time name: block_time description: "UTC event block time of each transfer" - tests: + data_tests: - not_null - &block_number name: block_number description: "Block number of each transfer" - tests: + data_tests: - not_null - &block_date name: block_date description: "UTC event block date of each transfer" - tests: + data_tests: - not_null - &transfer_type name: transfer_type description: "Transfer type: in/out (inflow/outflow)" - tests: + data_tests: - not_null - &symbol name: symbol description: "Token symbol for transferred token" - tests: + data_tests: - not_null - &amount name: amount @@ -55,7 +55,7 @@ models: - &tx_hash name: tx_hash description: "unique transaction hash value tied to each token transfer" - tests: + data_tests: - not_null - name: nexusmutual_ethereum_capital_pool_totals @@ -66,7 +66,7 @@ models: config: tags: ["ethereum", "nexusmutual", "capital_pool"] description: "Daily running totals for core tokens in the Nexus Mutual Capital Pool" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -81,6 +81,9 @@ models: - &avg_usdc_usd_price name: avg_usdc_usd_price description: "Daily average USDC/USD price" + - &avg_cbbtc_usd_price + name: avg_cbbtc_usd_price + description: "Daily average cbBTC/USD price" - &avg_capital_pool_eth_total name: avg_capital_pool_eth_total description: "Daily average Capital Pool total expressed in ETH" @@ -135,6 +138,15 @@ models: - &avg_usdc_eth_total name: avg_usdc_eth_total description: "Daily average USDC total in the Capital Pool expressed in ETH" + - &cbbtc_total + name: cbbtc_total + description: "Daily cbBTC total in the Capital Pool" + - &avg_cbbtc_usd_total + name: avg_cbbtc_usd_total + description: "Daily average cbBTC total in the Capital Pool expressed in USD" + - &avg_cbbtc_eth_total + name: avg_cbbtc_eth_total + description: "Daily average cbBTC total in the Capital Pool expressed in ETH" - &cover_re_usdc_total name: cover_re_usdc_total description: "Daily Cover Re USDC Investment total" @@ -168,7 +180,7 @@ models: config: tags: ["ethereum", "nexusmutual", "capital_pool"] description: "Latest totals for core tokens in the Nexus Mutual Capital Pool" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -177,6 +189,7 @@ models: - *avg_eth_usd_price - *avg_dai_usd_price - *avg_usdc_usd_price + - *avg_cbbtc_usd_price - *avg_capital_pool_eth_total - *avg_capital_pool_usd_total - *eth_total @@ -195,6 +208,9 @@ models: - *usdc_total - *avg_usdc_usd_total - *avg_usdc_eth_total + - *cbbtc_total + - *avg_cbbtc_usd_total + - *avg_cbbtc_eth_total - *cover_re_usdc_total - *avg_cover_re_usdc_usd_total - *avg_cover_re_usdc_eth_total @@ -212,7 +228,7 @@ models: config: tags: ["ethereum", "nexusmutual", "capital_pool"] description: "Minimum Capital Requirement (MCR) in the Nexus Mutual Capital Pool" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -236,8 +252,8 @@ models: contributors: tomfutago config: tags: ["ethereum", "nexusmutual", "capital_pool"] - description: "Combined daily avg prices for base assets: ETH, DAI, USDC and NXM" - tests: + description: "Combined daily avg prices for base assets: ETH, DAI, USDC, cbBTC and NXM" + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -246,6 +262,7 @@ models: - *avg_eth_usd_price - *avg_dai_usd_price - *avg_usdc_usd_price + - *avg_cbbtc_usd_price - &avg_nxm_eth_price name: avg_nxm_eth_price description: "Daily average NXM/ETH price" diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_latest.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_latest.sql index fb952a11d3c..191391c879e 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_latest.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_latest.sql @@ -3,10 +3,10 @@ schema = 'nexusmutual_ethereum', alias = 'capital_pool_latest', materialized = 'view', - post_hook = '{{ expose_spells(\'["ethereum"]\', - "project", - "nexusmutual", - \'["tomfutago"]\') }}' + post_hook = '{{ expose_spells(blockchains = \'["ethereum"]\', + spell_type = "project", + spell_name = "nexusmutual", + contributors = \'["tomfutago"]\') }}' ) }} @@ -18,6 +18,7 @@ daily_running_totals as ( avg_eth_usd_price, avg_dai_usd_price, avg_usdc_usd_price, + avg_cbbtc_usd_price, -- Capital Pool avg_capital_pool_eth_total, avg_capital_pool_usd_total, @@ -43,6 +44,10 @@ daily_running_totals as ( usdc_total, avg_usdc_usd_total, avg_usdc_eth_total, + -- cbBTC + cbbtc_total, + avg_cbbtc_usd_total, + avg_cbbtc_eth_total, -- Cover Re USDC investment cover_re_usdc_total, avg_cover_re_usdc_usd_total, @@ -62,6 +67,7 @@ select avg_eth_usd_price, avg_dai_usd_price, avg_usdc_usd_price, + avg_cbbtc_usd_price, -- Capital Pool avg_capital_pool_eth_total, avg_capital_pool_usd_total, @@ -87,6 +93,10 @@ select usdc_total, avg_usdc_usd_total, avg_usdc_eth_total, + -- cbBTC + cbbtc_total, + avg_cbbtc_usd_total, + avg_cbbtc_eth_total, -- Cover Re USDC investment cover_re_usdc_total, avg_cover_re_usdc_usd_total, diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_prices.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_prices.sql index b029d68ace9..44a557db3ce 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_prices.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_prices.sql @@ -18,6 +18,7 @@ capital_pool as ( avg_eth_usd_price, avg_dai_usd_price, avg_usdc_usd_price, + avg_cbbtc_usd_price, avg_capital_pool_eth_total from {{ ref('nexusmutual_ethereum_capital_pool_totals') }} ), @@ -35,6 +36,7 @@ nxm_daily_price_pre_ramm as ( cp.avg_eth_usd_price, cp.avg_dai_usd_price, cp.avg_usdc_usd_price, + cp.avg_cbbtc_usd_price, cp.avg_capital_pool_eth_total, mcr.mcr_eth_total, cast( @@ -54,11 +56,12 @@ nxm_daily_internal_price_avgs AS ( cp.avg_eth_usd_price, cp.avg_dai_usd_price, cp.avg_usdc_usd_price, + cp.avg_cbbtc_usd_price, avg(cast(ramm.output_internalPrice as double)) / 1e18 as avg_nxm_eth_price from capital_pool cp -- just to pull already calculated avg usd prices left join {{ source('nexusmutual_ethereum', 'Ramm_call_getInternalPriceAndUpdateTwap') }} ramm on cp.block_date = date_trunc('day', ramm.call_block_time) where cp.block_date >= timestamp '2023-11-21' - group by 1, 2, 3, 4 + group by 1, 2, 3, 4, 5 ), nxm_filled_null_cnts as ( @@ -67,6 +70,7 @@ nxm_filled_null_cnts as ( avg_eth_usd_price, avg_dai_usd_price, avg_usdc_usd_price, + avg_cbbtc_usd_price, avg_nxm_eth_price, count(avg_nxm_eth_price) over (order by block_date) as avg_nxm_eth_price_count from nxm_daily_internal_price_avgs @@ -78,6 +82,7 @@ nxm_daily_price_post_ramm as ( avg_eth_usd_price, avg_dai_usd_price, avg_usdc_usd_price, + avg_cbbtc_usd_price, first_value(avg_nxm_eth_price) over (partition by avg_nxm_eth_price_count order by block_date) as avg_nxm_eth_price from nxm_filled_null_cnts ), @@ -88,6 +93,7 @@ nxm_daily_prices as ( avg_eth_usd_price, avg_dai_usd_price, avg_usdc_usd_price, + avg_cbbtc_usd_price, avg_nxm_eth_price, avg_nxm_usd_price from nxm_daily_price_pre_ramm @@ -97,6 +103,7 @@ nxm_daily_prices as ( avg_eth_usd_price, avg_dai_usd_price, avg_usdc_usd_price, + avg_cbbtc_usd_price, avg_nxm_eth_price, avg_nxm_eth_price * avg_eth_usd_price as avg_nxm_usd_price from nxm_daily_price_post_ramm @@ -107,6 +114,7 @@ select avg_eth_usd_price, avg_dai_usd_price, avg_usdc_usd_price, + avg_cbbtc_usd_price, coalesce(avg_nxm_eth_price, lag(avg_nxm_eth_price) over (order by block_date)) as avg_nxm_eth_price, coalesce(avg_nxm_usd_price, lag(avg_nxm_usd_price) over (order by block_date)) as avg_nxm_usd_price from nxm_daily_prices diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_totals.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_totals.sql index 38e54f4836c..0b7019fac62 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_totals.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_totals.sql @@ -111,7 +111,8 @@ transfer_totals as ( sum(case when symbol = 'ETH' then amount end) as eth_total, sum(case when symbol = 'DAI' then amount end) as dai_total, sum(case when symbol = 'rETH' then amount end) as reth_total, - sum(case when symbol = 'USDC' then amount end) as usdc_total + sum(case when symbol = 'USDC' then amount end) as usdc_total, + sum(case when symbol = 'cbBTC' then amount end) as cbbtc_total from transfer_combined group by 1 ), @@ -256,6 +257,18 @@ daily_avg_usdc_prices as ( group by 1 ), +daily_avg_cbbtc_prices as ( + select + date_trunc('day', minute) as block_date, + avg(price) as price_usd + from {{ source('prices', 'usd') }} + where symbol = 'cbBTC' + and blockchain = 'ethereum' + and contract_address = 0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf + and minute >= timestamp '2024-10-21' + group by 1 +), + day_sequence as ( select cast(d.seq_date as timestamp) as block_date from (select sequence(date '2019-05-23', current_date, interval '1' day) as days) as days_s @@ -269,6 +282,7 @@ daily_running_totals as ( sum(coalesce(tt.dai_total, 0)) over (order by ds.block_date) as dai_total, sum(coalesce(tt.reth_total, 0)) over (order by ds.block_date) as reth_total, sum(coalesce(tt.usdc_total, 0)) over (order by ds.block_date) as usdc_total, + sum(coalesce(tt.cbbtc_total, 0)) over (order by ds.block_date) as cbbtc_total, coalesce( steth_rt.steth_total, lag(steth_rt.steth_total, 1) over (order by ds.block_date), @@ -305,6 +319,7 @@ daily_running_totals_enriched as ( coalesce(p_avg_eth.price_usd, 0) as avg_eth_usd_price, coalesce(p_avg_dai.price_usd, 0) as avg_dai_usd_price, coalesce(p_avg_usdc.price_usd, 0) as avg_usdc_usd_price, + coalesce(p_avg_cbbtc.price_usd, 0) as avg_cbbtc_usd_price, -- ETH coalesce(drt.eth_total, 0) as eth_total, coalesce(drt.eth_total * p_avg_eth.price_usd, 0) as avg_eth_usd_total, @@ -327,6 +342,10 @@ daily_running_totals_enriched as ( coalesce(drt.usdc_total, 0) as usdc_total, coalesce(drt.usdc_total * p_avg_usdc.price_usd, 0) as avg_usdc_usd_total, coalesce(drt.usdc_total * p_avg_usdc.price_usd / p_avg_eth.price_usd, 0) as avg_usdc_eth_total, + -- cbBTC + coalesce(drt.cbbtc_total, 0) as cbbtc_total, + coalesce(drt.cbbtc_total * p_avg_cbbtc.price_usd, 0) as avg_cbbtc_usd_total, + coalesce(drt.cbbtc_total * p_avg_cbbtc.price_usd / p_avg_eth.price_usd, 0) as avg_cbbtc_eth_total, -- Cover Re USDC investment coalesce(drt.cover_re_usdc_total, 0) as cover_re_usdc_total, coalesce(drt.cover_re_usdc_total * p_avg_usdc.price_usd, 0) as avg_cover_re_usdc_usd_total, @@ -342,6 +361,7 @@ daily_running_totals_enriched as ( left join daily_avg_dai_prices p_avg_dai on drt.block_date = p_avg_dai.block_date left join daily_avg_reth_prices p_avg_reth on drt.block_date = p_avg_reth.block_date left join daily_avg_usdc_prices p_avg_usdc on drt.block_date = p_avg_usdc.block_date + left join daily_avg_cbbtc_prices p_avg_cbbtc on drt.block_date = p_avg_cbbtc.block_date ) select @@ -349,10 +369,11 @@ select avg_eth_usd_price, avg_dai_usd_price, avg_usdc_usd_price, + avg_cbbtc_usd_price, -- Capital Pool totals - eth_total + nxmty_eth_total + steth_total + avg_dai_eth_total + avg_reth_eth_total + avg_usdc_eth_total + eth_total + nxmty_eth_total + steth_total + avg_dai_eth_total + avg_reth_eth_total + avg_usdc_eth_total + avg_cbbtc_eth_total + avg_cover_re_usdc_eth_total + aave_collateral_weth_total + avg_aave_debt_usdc_eth_total as avg_capital_pool_eth_total, - avg_eth_usd_total + avg_nxmty_usd_total + avg_steth_usd_total + avg_dai_usd_total + avg_reth_usd_total + avg_usdc_usd_total + avg_eth_usd_total + avg_nxmty_usd_total + avg_steth_usd_total + avg_dai_usd_total + avg_reth_usd_total + avg_usdc_usd_total + avg_cbbtc_usd_total + avg_cover_re_usdc_usd_total + avg_aave_collateral_weth_usd_total + avg_aave_debt_usdc_usd_total as avg_capital_pool_usd_total, -- ETH eth_total, @@ -376,6 +397,10 @@ select usdc_total, avg_usdc_usd_total, avg_usdc_eth_total, + -- cbBTC + cbbtc_total, + avg_cbbtc_usd_total, + avg_cbbtc_eth_total, -- Cover Re USDC investment cover_re_usdc_total, avg_cover_re_usdc_usd_total, diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_transfers.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_transfers.sql index a43b49c6436..e4f0a8e8aa9 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_transfers.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/capital_pool/nexusmutual_ethereum_capital_pool_transfers.sql @@ -45,7 +45,7 @@ transfer_in as ( from {{ source('tokens_ethereum','transfers') }} where block_time >= timestamp '2019-05-23' and "to" in (select contract_address from nexusmutual_contracts) - and symbol in ('ETH', 'DAI', 'stETH', 'rETH', 'USDC') + and symbol in ('ETH', 'DAI', 'stETH', 'rETH', 'USDC', 'cbBTC') {% if is_incremental() %} and {{ incremental_predicate('block_time') }} {% endif %} @@ -65,7 +65,7 @@ transfer_out as ( from {{ source('tokens_ethereum','transfers') }} where block_time >= timestamp '2019-05-23' and "from" in (select contract_address from nexusmutual_contracts) - and symbol in ('ETH', 'DAI', 'stETH', 'rETH', 'USDC') + and symbol in ('ETH', 'DAI', 'stETH', 'rETH', 'USDC', 'cbBTC') {% if is_incremental() %} and {{ incremental_predicate('block_time') }} {% endif %} diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/_schema.yml b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/_schema.yml index b84eabc6a25..9b0f9f74f3d 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["ethereum", "nexusmutual", "claims"] description: "Nexus Mutual Claims v1" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - claim_id @@ -17,17 +17,17 @@ models: - &block_time name: block_time description: "UTC event block time" - tests: + data_tests: - not_null - &block_number name: block_number description: "block number" - tests: + data_tests: - not_null - &submit_time name: submit_time description: "submit time" - tests: + data_tests: - not_null - &submit_date name: submit_date @@ -35,12 +35,12 @@ models: - &claim_id name: claim_id description: "claim id" - tests: + data_tests: - not_null - &cover_id name: cover_id description: "cover id" - tests: + data_tests: - not_null - &claimant name: claimant @@ -54,7 +54,7 @@ models: - &tx_hash name: tx_hash description: "unique transaction hash value" - tests: + data_tests: - not_null - name: nexusmutual_ethereum_claims_v2 @@ -65,7 +65,7 @@ models: config: tags: ["ethereum", "nexusmutual", "claims"] description: "Nexus Mutual Claims v2" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - claim_id @@ -107,7 +107,7 @@ models: config: tags: ["ethereum", "nexusmutual", "claims"] description: "Nexus Mutual Claims v2" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - version @@ -126,4 +126,5 @@ models: - name: dai_usd_claim_amount - name: usdc_eth_claim_amount - name: usdc_usd_claim_amount - \ No newline at end of file + - name: cbbtc_eth_claim_amount + - name: cbbtc_usd_claim_amount diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/nexusmutual_ethereum_claims_paid.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/nexusmutual_ethereum_claims_paid.sql index 9581b205749..cd912297d88 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/nexusmutual_ethereum_claims_paid.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/nexusmutual_ethereum_claims_paid.sql @@ -72,7 +72,8 @@ claims_paid as ( coalesce(cl.claim_amount, c.sum_assured) as claim_amount, if(c.cover_asset = 'ETH', coalesce(cl.claim_amount, c.sum_assured), 0) as eth_claim_amount, if(c.cover_asset = 'DAI', coalesce(cl.claim_amount, c.sum_assured), 0) as dai_claim_amount, - if(c.cover_asset = 'USDC', coalesce(cl.claim_amount, c.sum_assured), 0) as usdc_claim_amount + if(c.cover_asset = 'USDC', coalesce(cl.claim_amount, c.sum_assured), 0) as usdc_claim_amount, + if(c.cover_asset = 'cbBTC', coalesce(cl.claim_amount, c.sum_assured), 0) as cbbtc_claim_amount from covers c inner join claims cl on c.cover_id = cl.cover_id and coalesce(c.product_id, cl.product_id, -1) = coalesce(cl.product_id, -1) @@ -98,7 +99,8 @@ prices as ( where minute > timestamp '2019-05-01' and ((symbol = 'ETH' and blockchain is null and contract_address is null) or (symbol = 'DAI' and blockchain = 'ethereum' and contract_address = 0x6b175474e89094c44da98b954eedeac495271d0f) - or (symbol = 'USDC' and blockchain = 'ethereum' and contract_address = 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48)) + or (symbol = 'USDC' and blockchain = 'ethereum' and contract_address = 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48) + or (symbol = 'cbBTC' and blockchain = 'ethereum' and contract_address = 0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf)) group by 1, 2 ) @@ -118,6 +120,9 @@ select cp.dai_claim_amount * p.avg_price_usd as dai_usd_claim_amount, --USDC cp.usdc_claim_amount * p.avg_price_usd / p.avg_price_usd as usdc_eth_claim_amount, - cp.usdc_claim_amount * p.avg_price_usd as usdc_usd_claim_amount + cp.usdc_claim_amount * p.avg_price_usd as usdc_usd_claim_amount, + --cbBTC + cp.cbbtc_claim_amount * p.avg_price_usd / p.avg_price_usd as cbbtc_eth_claim_amount, + cp.cbbtc_claim_amount * p.avg_price_usd as cbbtc_usd_claim_amount from claims_paid cp inner join prices p on coalesce(cp.claim_payout_date, cp.claim_date) = p.block_date and cp.cover_asset = p.symbol diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/nexusmutual_ethereum_claims_v2.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/nexusmutual_ethereum_claims_v2.sql index 3c52b6e8398..38894b34a9b 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/nexusmutual_ethereum_claims_v2.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/claims/nexusmutual_ethereum_claims_v2.sql @@ -83,6 +83,7 @@ select when 0 then 'ETH' when 1 then 'DAI' when 6 then 'USDC' + when 7 then 'cbBTC' else 'NA' end as cover_asset, cd.requested_amount / if(cd.cover_asset = 6, 1e6, 1e18) as requested_amount, diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/_schema.yml b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/_schema.yml index 7008b0a0ec0..edee74ce8e9 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["ethereum", "nexusmutual", "covers"] description: "Nexus Mutual Product Types v2" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - product_type_id @@ -17,22 +17,22 @@ models: - &block_time name: block_time description: "UTC event block time" - tests: + data_tests: - not_null - &block_number name: block_number description: "Block number" - tests: + data_tests: - not_null - &product_type_id name: product_type_id description: "product type id" - tests: + data_tests: - not_null - &product_type_name name: product_type_name description: "product type name" - tests: + data_tests: - not_null - name: claim_method description: "claim method" @@ -48,7 +48,7 @@ models: - &tx_hash name: tx_hash description: "unique transaction hash value" - tests: + data_tests: - not_null - name: nexusmutual_ethereum_products_v2 @@ -59,7 +59,7 @@ models: config: tags: ["ethereum", "nexusmutual", "covers"] description: "Nexus Mutual Products v2" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - product_id @@ -73,10 +73,10 @@ models: - &product_name name: product_name description: "product name" - tests: + data_tests: - not_null - name: cover_assets - description: "cover assets: ETH, DAI, USDC" + description: "cover assets: ETH, DAI, USDC, cbBTC" - name: is_deprecated description: "is deprecated flag" - name: initial_price_ratio @@ -102,7 +102,7 @@ models: config: tags: ["ethereum", "nexusmutual", "covers"] description: "Nexus Mutual Products v1" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - product_contract_address @@ -110,7 +110,7 @@ models: - &product_contract_address name: product_contract_address description: "product contract address" - tests: + data_tests: - unique - *product_name - &product_type @@ -128,7 +128,7 @@ models: config: tags: ["ethereum", "nexusmutual", "covers"] description: "Nexus Mutual Covers v1" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - cover_id @@ -141,17 +141,17 @@ models: - &cover_id name: cover_id description: "cover id" - tests: + data_tests: - not_null - &cover_start_time name: cover_start_time description: "cover start time" - tests: + data_tests: - not_null - &cover_end_time name: cover_end_time description: "cover end time" - tests: + data_tests: - not_null - &cover_start_date name: cover_start_date @@ -196,7 +196,7 @@ models: config: tags: ["ethereum", "nexusmutual", "covers"] description: "Nexus Mutual Covers v2" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - cover_id @@ -257,7 +257,7 @@ models: config: tags: ["ethereum", "nexusmutual", "covers"] description: "Nexus Mutual Active Covers" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - cover_id @@ -283,6 +283,8 @@ models: - name: dai_usd_cover_amount - name: usdc_eth_cover_amount - name: usdc_usd_cover_amount + - name: cbbtc_eth_cover_amount + - name: cbbtc_usd_cover_amount - name: nexusmutual_ethereum_covers_daily_agg meta: @@ -292,7 +294,7 @@ models: config: tags: ["ethereum", "nexusmutual", "covers"] description: "Daily Covers aggregates" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -307,7 +309,7 @@ models: config: tags: ["ethereum", "nexusmutual", "covers"] description: "Cover Owners aggregates" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - cover_owner @@ -325,7 +327,7 @@ models: tags: ["ethereum","nexusmutual","quotation_trades"] description: > nexusmutual quotation trades on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_active_covers.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_active_covers.sql index d9c3f591c74..7be53e3f858 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_active_covers.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_active_covers.sql @@ -27,7 +27,8 @@ covers as ( cover_asset, sum_assured, partial_cover_amount, - sum(partial_cover_amount) over (partition by cover_id) as total_cover_amount + sum(partial_cover_amount) over (partition by cover_id) as total_cover_amount, + premium_incl_commission as premium_nxm from {{ ref('nexusmutual_ethereum_covers_v2') }} where cover_end_time >= now() ), @@ -48,40 +49,24 @@ covers_ext as ( sum_assured, partial_cover_amount, total_cover_amount, + premium_nxm, if(cover_asset = 'ETH', sum_assured * partial_cover_amount / total_cover_amount, 0) as eth_cover_amount, if(cover_asset = 'DAI', sum_assured * partial_cover_amount / total_cover_amount, 0) as dai_cover_amount, - if(cover_asset = 'USDC', sum_assured * partial_cover_amount / total_cover_amount, 0) as usdc_cover_amount + if(cover_asset = 'USDC', sum_assured * partial_cover_amount / total_cover_amount, 0) as usdc_cover_amount, + if(cover_asset = 'cbBTC', sum_assured * partial_cover_amount / total_cover_amount, 0) as cbbtc_cover_amount from covers ), -latest_eth_price as ( +latest_prices as ( select - minute as block_date, - price as price_usd - from {{ source('prices', 'usd_latest') }} - where symbol = 'ETH' - and blockchain is null - and contract_address is null -), - -latest_dai_price as ( - select - minute as block_date, - price as price_usd - from {{ source('prices', 'usd_latest') }} - where symbol = 'DAI' - and blockchain = 'ethereum' - and contract_address = 0x6b175474e89094c44da98b954eedeac495271d0f -), - -latest_usdc_price as ( - select - minute as block_date, - price as price_usd - from {{ source('prices', 'usd_latest') }} - where symbol = 'USDC' - and blockchain = 'ethereum' - and contract_address = 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 + max(block_date) as block_date, + max_by(avg_eth_usd_price, block_date) as avg_eth_usd_price, + max_by(avg_dai_usd_price, block_date) as avg_dai_usd_price, + max_by(avg_usdc_usd_price, block_date) as avg_usdc_usd_price, + max_by(avg_cbbtc_usd_price, block_date) as avg_cbbtc_usd_price, + max_by(avg_nxm_eth_price, block_date) as avg_nxm_eth_price, + max_by(avg_nxm_usd_price, block_date) as avg_nxm_usd_price + from {{ ref('nexusmutual_ethereum_capital_pool_prices') }} ) select @@ -101,14 +86,22 @@ select c.total_cover_amount, --ETH c.eth_cover_amount, - c.eth_cover_amount * p_eth.price_usd as eth_usd_cover_amount, + c.eth_cover_amount * p.avg_eth_usd_price as eth_usd_cover_amount, --DAI - c.dai_cover_amount * p_dai.price_usd / p_eth.price_usd as dai_eth_cover_amount, - c.dai_cover_amount * p_dai.price_usd as dai_usd_cover_amount, + c.dai_cover_amount, + c.dai_cover_amount * p.avg_dai_usd_price / p.avg_eth_usd_price as dai_eth_cover_amount, + c.dai_cover_amount * p.avg_dai_usd_price as dai_usd_cover_amount, --USDC - c.usdc_cover_amount * p_usdc.price_usd / p_eth.price_usd as usdc_eth_cover_amount, - c.usdc_cover_amount * p_usdc.price_usd as usdc_usd_cover_amount + c.usdc_cover_amount, + c.usdc_cover_amount * p.avg_usdc_usd_price / p.avg_eth_usd_price as usdc_eth_cover_amount, + c.usdc_cover_amount * p.avg_usdc_usd_price as usdc_usd_cover_amount, + --cbBTC + c.cbbtc_cover_amount, + c.cbbtc_cover_amount * p.avg_cbbtc_usd_price / p.avg_eth_usd_price as cbbtc_eth_cover_amount, + c.cbbtc_cover_amount * p.avg_cbbtc_usd_price as cbbtc_usd_cover_amount, + --NXM fees + c.premium_nxm, + c.premium_nxm * p.avg_nxm_eth_price as premium_nxm_eth, + c.premium_nxm * p.avg_nxm_usd_price as premium_nxm_usd from covers_ext c - cross join latest_eth_price p_eth - cross join latest_dai_price p_dai - cross join latest_usdc_price p_usdc + cross join latest_prices p diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_cover_owners_agg.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_cover_owners_agg.sql index 410aab2e14a..b8cbeb41fb2 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_cover_owners_agg.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_cover_owners_agg.sql @@ -18,6 +18,7 @@ daily_avg_prices as ( avg_eth_usd_price, avg_dai_usd_price, avg_usdc_usd_price, + avg_cbbtc_usd_price, avg_nxm_eth_price, avg_nxm_usd_price from {{ ref('nexusmutual_ethereum_capital_pool_prices') }} @@ -71,6 +72,7 @@ covers_ext as ( if(cover_asset = 'ETH', cover_amount, 0) as eth_cover_amount, if(cover_asset = 'DAI', cover_amount, 0) as dai_cover_amount, if(cover_asset = 'USDC', cover_amount, 0) as usdc_cover_amount, + if(cover_asset = 'cbBTC', cover_amount, 0) as cbbtc_cover_amount, premium_asset, if(staking_pool = 'v1' and cover_asset = 'ETH', premium, 0) as eth_premium_amount, if(staking_pool = 'v1' and cover_asset = 'DAI', premium, 0) as dai_premium_amount, @@ -100,6 +102,9 @@ cover_sales_per_owner as ( --USDC coalesce(c_start.usdc_cover_amount * p.avg_usdc_usd_price / p.avg_eth_usd_price, 0) as usdc_eth_cover, coalesce(c_start.usdc_cover_amount * p.avg_usdc_usd_price, 0) as usdc_usd_cover, + --cbBTC + coalesce(c_start.cbbtc_cover_amount * p.avg_cbbtc_usd_price / p.avg_eth_usd_price, 0) as cbbtc_eth_cover, + coalesce(c_start.cbbtc_cover_amount * p.avg_cbbtc_usd_price, 0) as cbbtc_usd_cover, --== fees == --ETH coalesce(c_start.eth_premium_amount, 0) as eth_eth_premium, @@ -125,13 +130,15 @@ cover_sales_per_owner_aggs as ( sum(eth_eth_cover) as eth_eth_cover, sum(dai_eth_cover) as dai_eth_cover, sum(usdc_eth_cover) as usdc_eth_cover, - sum(eth_eth_cover) + sum(dai_eth_cover) + sum(usdc_eth_cover) as eth_cover, - approx_percentile(eth_eth_cover + dai_eth_cover + usdc_eth_cover, 0.5) as median_eth_cover, + sum(cbbtc_eth_cover) as cbbtc_eth_cover, + sum(eth_eth_cover) + sum(dai_eth_cover) + sum(usdc_eth_cover) + sum(cbbtc_eth_cover) as eth_cover, + approx_percentile(eth_eth_cover + dai_eth_cover + usdc_eth_cover + cbbtc_eth_cover, 0.5) as median_eth_cover, sum(eth_usd_cover) as eth_usd_cover, sum(dai_usd_cover) as dai_usd_cover, sum(usdc_usd_cover) as usdc_usd_cover, - sum(eth_usd_cover) + sum(dai_usd_cover) + sum(usdc_usd_cover) as usd_cover, - approx_percentile(eth_usd_cover + dai_usd_cover + usdc_usd_cover, 0.5) as median_usd_cover, + sum(cbbtc_usd_cover) as cbbtc_usd_cover, + sum(eth_usd_cover) + sum(dai_usd_cover) + sum(usdc_usd_cover) + sum(cbbtc_usd_cover) as usd_cover, + approx_percentile(eth_usd_cover + dai_usd_cover + usdc_usd_cover + cbbtc_usd_cover, 0.5) as median_usd_cover, --== fees == sum(eth_eth_premium) as eth_eth_premium, sum(dai_eth_premium) as dai_eth_premium, @@ -158,12 +165,14 @@ select eth_eth_cover, dai_eth_cover, usdc_eth_cover, + cbbtc_eth_cover, eth_cover, coalesce(eth_cover / nullif(cover_sold, 0), 0) as mean_eth_cover, median_eth_cover, eth_usd_cover, dai_usd_cover, usdc_usd_cover, + cbbtc_usd_cover, usd_cover, coalesce(usd_cover / nullif(cover_sold, 0), 0) as mean_usd_cover, median_usd_cover, diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_covers_daily_agg.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_covers_daily_agg.sql index 044a51a193b..dd6340687d3 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_covers_daily_agg.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_covers_daily_agg.sql @@ -19,6 +19,7 @@ daily_avg_prices as ( avg_eth_usd_price, avg_dai_usd_price, avg_usdc_usd_price, + avg_cbbtc_usd_price, avg_nxm_eth_price, avg_nxm_usd_price from {{ ref('nexusmutual_ethereum_capital_pool_prices') }} @@ -71,6 +72,7 @@ covers_ext as ( if(cover_asset = 'ETH', cover_amount, 0) as eth_cover_amount, if(cover_asset = 'DAI', cover_amount, 0) as dai_cover_amount, if(cover_asset = 'USDC', cover_amount, 0) as usdc_cover_amount, + if(cover_asset = 'cbBTC', cover_amount, 0) as cbbtc_cover_amount, premium_asset, if(staking_pool = 'v1' and cover_asset = 'ETH', premium, 0) as eth_premium_amount, if(staking_pool = 'v1' and cover_asset = 'DAI', premium, 0) as dai_premium_amount, @@ -105,6 +107,9 @@ daily_active_cover as ( --USDC coalesce(c_period.usdc_cover_amount * p.avg_usdc_usd_price / p.avg_eth_usd_price, 0) as usdc_eth_active_cover, coalesce(c_period.usdc_cover_amount * p.avg_usdc_usd_price, 0) as usdc_usd_active_cover, + --cbBTC + coalesce(c_period.cbbtc_cover_amount * p.avg_cbbtc_usd_price / p.avg_eth_usd_price, 0) as cbbtc_eth_active_cover, + coalesce(c_period.cbbtc_cover_amount * p.avg_cbbtc_usd_price, 0) as cbbtc_usd_active_cover, --== active premium in force == --ETH case @@ -137,6 +142,15 @@ daily_active_cover as ( when c_period.premium_asset = 'USDC' then coalesce(c_period.nxm_premium_amount * 365 / c_period.cover_period * p.avg_nxm_usd_price, 0) else 0 end as usdc_usd_active_premium, + --cbBTC + case + when c_period.premium_asset = 'cbBTC' then coalesce(c_period.nxm_premium_amount * 365 / c_period.cover_period * p.avg_nxm_usd_price / p.avg_eth_usd_price, 0) + else 0 + end as cbbtc_eth_active_premium, + case + when c_period.premium_asset = 'cbBTC' then coalesce(c_period.nxm_premium_amount * 365 / c_period.cover_period * p.avg_nxm_usd_price, 0) + else 0 + end as cbbtc_usd_active_premium, --NXM case when c_period.premium_asset = 'NXM' then coalesce(c_period.nxm_premium_amount * 365 / c_period.cover_period * p.avg_nxm_usd_price / p.avg_eth_usd_price, 0) @@ -166,6 +180,9 @@ daily_cover_sales as ( --USDC coalesce(c_start.usdc_cover_amount * p.avg_usdc_usd_price / p.avg_eth_usd_price, 0) as usdc_eth_cover, coalesce(c_start.usdc_cover_amount * p.avg_usdc_usd_price, 0) as usdc_usd_cover, + --cbBTC + coalesce(c_start.cbbtc_cover_amount * p.avg_cbbtc_usd_price / p.avg_eth_usd_price, 0) as cbbtc_eth_cover, + coalesce(c_start.cbbtc_cover_amount * p.avg_cbbtc_usd_price, 0) as cbbtc_usd_cover, --== fees == --ETH case @@ -198,6 +215,15 @@ daily_cover_sales as ( when c_start.premium_asset = 'USDC' then coalesce(c_start.nxm_premium_amount * p.avg_nxm_usd_price, 0) else 0 end as usdc_usd_premium, + --cbBTC + case + when c_start.premium_asset = 'cbBTC' then coalesce(c_start.nxm_premium_amount * p.avg_nxm_usd_price / p.avg_eth_usd_price, 0) + else 0 + end as cbbtc_eth_premium, + case + when c_start.premium_asset = 'cbBTC' then coalesce(c_start.nxm_premium_amount * p.avg_nxm_usd_price, 0) + else 0 + end as cbbtc_usd_premium, --NXM case when c_start.premium_asset = 'NXM' then coalesce(c_start.nxm_premium_amount * p.avg_nxm_usd_price / p.avg_eth_usd_price, 0) @@ -220,26 +246,30 @@ daily_active_cover_aggs as ( sum(eth_eth_active_cover) as eth_eth_active_cover, sum(dai_eth_active_cover) as dai_eth_active_cover, sum(usdc_eth_active_cover) as usdc_eth_active_cover, - sum(eth_eth_active_cover) + sum(dai_eth_active_cover) + sum(usdc_eth_active_cover) as eth_active_cover, - approx_percentile(eth_eth_active_cover + dai_eth_active_cover + usdc_eth_active_cover, 0.5) as median_eth_active_cover, + sum(cbbtc_eth_active_cover) as cbbtc_eth_active_cover, + sum(eth_eth_active_cover) + sum(dai_eth_active_cover) + sum(usdc_eth_active_cover) + sum(cbbtc_eth_active_cover) as eth_active_cover, + approx_percentile(eth_eth_active_cover + dai_eth_active_cover + usdc_eth_active_cover + cbbtc_eth_active_cover, 0.5) as median_eth_active_cover, sum(eth_usd_active_cover) as eth_usd_active_cover, sum(dai_usd_active_cover) as dai_usd_active_cover, sum(usdc_usd_active_cover) as usdc_usd_active_cover, - sum(eth_usd_active_cover) + sum(dai_usd_active_cover) + sum(usdc_usd_active_cover) as usd_active_cover, - approx_percentile(eth_usd_active_cover + dai_usd_active_cover + usdc_usd_active_cover, 0.5) as median_usd_active_cover, + sum(cbbtc_usd_active_cover) as cbbtc_usd_active_cover, + sum(eth_usd_active_cover) + sum(dai_usd_active_cover) + sum(usdc_usd_active_cover) + sum(cbbtc_usd_active_cover) as usd_active_cover, + approx_percentile(eth_usd_active_cover + dai_usd_active_cover + usdc_usd_active_cover + cbbtc_usd_active_cover, 0.5) as median_usd_active_cover, --== fees == sum(eth_eth_active_premium) as eth_eth_active_premium, sum(dai_eth_active_premium) as dai_eth_active_premium, sum(usdc_eth_active_premium) as usdc_eth_active_premium, + sum(cbbtc_eth_active_premium) as cbbtc_eth_active_premium, sum(nxm_eth_active_premium) as nxm_eth_active_premium, - sum(eth_eth_active_premium) + sum(dai_eth_active_premium) + sum(usdc_eth_active_premium) + sum(nxm_eth_active_premium) as eth_active_premium, - approx_percentile(eth_eth_active_premium + dai_eth_active_premium + usdc_eth_active_premium + nxm_eth_active_premium, 0.5) as median_eth_active_premium, + sum(eth_eth_active_premium) + sum(dai_eth_active_premium) + sum(usdc_eth_active_premium) + sum(cbbtc_eth_active_premium) + sum(nxm_eth_active_premium) as eth_active_premium, + approx_percentile(eth_eth_active_premium + dai_eth_active_premium + usdc_eth_active_premium + cbbtc_eth_active_premium + nxm_eth_active_premium, 0.5) as median_eth_active_premium, sum(eth_usd_active_premium) as eth_usd_active_premium, sum(dai_usd_active_premium) as dai_usd_active_premium, sum(usdc_usd_active_premium) as usdc_usd_active_premium, + sum(cbbtc_usd_active_premium) as cbbtc_usd_active_premium, sum(nxm_usd_active_premium) as nxm_usd_active_premium, - sum(eth_usd_active_premium) + sum(dai_usd_active_premium) + sum(usdc_usd_active_premium) + sum(nxm_usd_active_premium) as usd_active_premium, - approx_percentile(eth_usd_active_premium + dai_usd_active_premium + usdc_usd_active_premium + nxm_usd_active_premium, 0.5) as median_usd_active_premium + sum(eth_usd_active_premium) + sum(dai_usd_active_premium) + sum(usdc_usd_active_premium) + sum(cbbtc_usd_active_premium) + sum(nxm_usd_active_premium) as usd_active_premium, + approx_percentile(eth_usd_active_premium + dai_usd_active_premium + usdc_usd_active_premium + cbbtc_usd_active_premium + nxm_usd_active_premium, 0.5) as median_usd_active_premium from daily_active_cover group by 1 ), @@ -252,26 +282,30 @@ daily_cover_sales_aggs as ( sum(eth_eth_cover) as eth_eth_cover, sum(dai_eth_cover) as dai_eth_cover, sum(usdc_eth_cover) as usdc_eth_cover, - sum(eth_eth_cover) + sum(dai_eth_cover) + sum(usdc_eth_cover) as eth_cover, - approx_percentile(eth_eth_cover + dai_eth_cover + usdc_eth_cover, 0.5) as median_eth_cover, + sum(cbbtc_eth_cover) as cbbtc_eth_cover, + sum(eth_eth_cover) + sum(dai_eth_cover) + sum(usdc_eth_cover) + sum(cbbtc_eth_cover) as eth_cover, + approx_percentile(eth_eth_cover + dai_eth_cover + usdc_eth_cover + cbbtc_eth_cover, 0.5) as median_eth_cover, sum(eth_usd_cover) as eth_usd_cover, sum(dai_usd_cover) as dai_usd_cover, sum(usdc_usd_cover) as usdc_usd_cover, - sum(eth_usd_cover) + sum(dai_usd_cover) + sum(usdc_usd_cover) as usd_cover, - approx_percentile(eth_usd_cover + dai_usd_cover + usdc_usd_cover, 0.5) as median_usd_cover, + sum(cbbtc_usd_cover) as cbbtc_usd_cover, + sum(eth_usd_cover) + sum(dai_usd_cover) + sum(usdc_usd_cover) + sum(cbbtc_usd_cover) as usd_cover, + approx_percentile(eth_usd_cover + dai_usd_cover + usdc_usd_cover + cbbtc_usd_cover, 0.5) as median_usd_cover, --== fees == sum(eth_eth_premium) as eth_eth_premium, sum(dai_eth_premium) as dai_eth_premium, sum(usdc_eth_premium) as usdc_eth_premium, + sum(cbbtc_eth_premium) as cbbtc_eth_premium, sum(nxm_eth_premium) as nxm_eth_premium, - sum(eth_eth_premium) + sum(dai_eth_premium) + sum(usdc_eth_premium) + sum(nxm_eth_premium) as eth_premium, - approx_percentile(eth_eth_premium + dai_eth_premium + usdc_eth_premium + nxm_eth_premium, 0.5) as median_eth_premium, + sum(eth_eth_premium) + sum(dai_eth_premium) + sum(usdc_eth_premium) + sum(cbbtc_eth_premium) + sum(nxm_eth_premium) as eth_premium, + approx_percentile(eth_eth_premium + dai_eth_premium + usdc_eth_premium + cbbtc_eth_premium + nxm_eth_premium, 0.5) as median_eth_premium, sum(eth_usd_premium) as eth_usd_premium, sum(dai_usd_premium) as dai_usd_premium, sum(usdc_usd_premium) as usdc_usd_premium, + sum(cbbtc_usd_premium) as cbbtc_usd_premium, sum(nxm_usd_premium) as nxm_usd_premium, - sum(eth_usd_premium) + sum(dai_usd_premium) + sum(usdc_usd_premium) + sum(nxm_usd_premium) as usd_premium, - approx_percentile(eth_usd_premium + dai_usd_premium + usdc_usd_premium + nxm_usd_premium, 0.5) as median_usd_premium + sum(eth_usd_premium) + sum(dai_usd_premium) + sum(usdc_usd_premium) + sum(cbbtc_usd_premium) + sum(nxm_usd_premium) as usd_premium, + approx_percentile(eth_usd_premium + dai_usd_premium + usdc_usd_premium + cbbtc_usd_premium + nxm_usd_premium, 0.5) as median_usd_premium from daily_cover_sales group by 1 ) @@ -283,22 +317,26 @@ select ac.eth_eth_active_cover, ac.dai_eth_active_cover, ac.usdc_eth_active_cover, + ac.cbbtc_eth_active_cover, ac.eth_active_cover, ac.median_eth_active_cover, ac.eth_usd_active_cover, ac.dai_usd_active_cover, ac.usdc_usd_active_cover, + ac.cbbtc_usd_active_cover, ac.usd_active_cover, ac.median_usd_active_cover, ac.eth_eth_active_premium, ac.dai_eth_active_premium, ac.usdc_eth_active_premium, + ac.cbbtc_eth_active_premium, ac.nxm_eth_active_premium, ac.eth_active_premium, ac.median_eth_active_premium, ac.eth_usd_active_premium, ac.dai_usd_active_premium, ac.usdc_usd_active_premium, + ac.cbbtc_usd_active_premium, ac.nxm_usd_active_premium, ac.usd_active_premium, ac.median_usd_active_premium, @@ -307,22 +345,26 @@ select cs.eth_eth_cover, cs.dai_eth_cover, cs.usdc_eth_cover, + cs.cbbtc_eth_cover, cs.eth_cover, cs.median_eth_cover, cs.eth_usd_cover, cs.dai_usd_cover, cs.usdc_usd_cover, + cs.cbbtc_usd_cover, cs.usd_cover, cs.median_usd_cover, cs.eth_eth_premium, cs.dai_eth_premium, cs.usdc_eth_premium, + cs.cbbtc_eth_premium, cs.nxm_eth_premium, cs.eth_premium, cs.median_eth_premium, cs.eth_usd_premium, cs.dai_usd_premium, cs.usdc_usd_premium, + cs.cbbtc_usd_premium, cs.nxm_usd_premium, cs.usd_premium, cs.median_usd_premium diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_covers_v2.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_covers_v2.sql index 8d966c79d5e..448047f7964 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_covers_v2.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/covers/nexusmutual_ethereum_covers_v2.sql @@ -85,6 +85,7 @@ cover_premiums as ( when 0 then 'ETH' when 1 then 'DAI' when 6 then 'USDC' + when 7 then 'cbBTC' else 'NA' end as cover_asset, c.sum_assured / if(c.cover_asset = 6, 1e6, 1e18) as sum_assured, @@ -92,6 +93,7 @@ cover_premiums as ( when 0 then 'ETH' when 1 then 'DAI' when 6 then 'USDC' + when 7 then 'cbBTC' when 255 then 'NXM' else 'NA' end as premium_asset, diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/_schema.yml b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/_schema.yml index b75aa207bc6..323543c3cad 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ["ethereum", "nexusmutual", "staking"] description: "Staking pools base data (helper view)" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id @@ -17,6 +17,8 @@ models: columns: - &block_time_created name: block_time_created + data_tests: + - not_null - &block_time_product_updated name: block_time_product_updated - &block_time_manager_updated @@ -25,9 +27,13 @@ models: name: block_time_fee_updated - &block_time_updated name: block_time_updated + data_tests: + - not_null - &pool_id name: pool_id description: "pool id" + data_tests: + - not_null - &pool_address name: pool_address description: "pool contract deployment address" @@ -55,6 +61,8 @@ models: - &product_id name: product_id description: "product id" + data_tests: + - not_null - &product_name name: product_name - &product_type @@ -96,7 +104,7 @@ models: config: tags: ["ethereum", "nexusmutual", "staking"] description: "Staking pools base data (materialised)" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id @@ -133,7 +141,7 @@ models: config: tags: ["ethereum", "nexusmutual", "staking"] description: "Staking pools event history" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -193,7 +201,7 @@ models: config: tags: ["ethereum", "nexusmutual", "staking"] description: "Staking pools deposit ordered" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -229,7 +237,7 @@ models: config: tags: ["ethereum", "nexusmutual", "staking"] description: "Staking pools deposit extensions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_address @@ -266,7 +274,7 @@ models: config: tags: ["ethereum", "nexusmutual", "staking"] description: "Staking rewards minted at cover buy event - to be streamed over cover period" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id @@ -279,6 +287,7 @@ models: - name: cover_id - name: cover_start_date - name: cover_end_date + - name: cover_end_bucket_expiry_date - name: reward_amount_expected_total - name: reward_amount_per_second - name: reward_amount_per_day @@ -292,7 +301,7 @@ models: config: tags: ["ethereum", "nexusmutual", "staking"] description: "Staking rewards minted at cover buy event - to be streamed over cover period" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -313,7 +322,7 @@ models: config: tags: ["ethereum", "nexusmutual", "staking"] description: "Staking rewards minted at cover buy event - to be streamed over cover period" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_base_staking_pools.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_base_staking_pools.sql index dbdcffbada3..336002fa8cb 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_base_staking_pools.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_base_staking_pools.sql @@ -149,24 +149,7 @@ staking_pool_managers_history as ( call_tx_hash as tx_hash from {{ source('nexusmutual_ethereum', 'TokenController_call_assignStakingPoolManager') }} where call_success - union all - select - call_block_time as block_time, - poolId as pool_id, - manager, - call_trace_address, - call_tx_hash as tx_hash - from {{ source('nexusmutual_ethereum', 'TokenController2_call_assignStakingPoolManager') }} - where call_success - union all - select - call_block_time as block_time, - poolId as pool_id, - manager, - call_trace_address, - call_tx_hash as tx_hash - from {{ source('nexusmutual_ethereum', 'TokenController3_call_assignStakingPoolManager') }} - where call_success + and contract_address = 0x5407381b6c251cfd498ccd4a1d877739cb7960b8 -- proxy union all select distinct m.call_block_time as block_time, diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_staking_pools.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_staking_pools.sql index fe2ee144efb..ad21b3e3559 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_staking_pools.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_staking_pools.sql @@ -38,7 +38,6 @@ select tx_hash_created, tx_hash_updated from {{ ref('nexusmutual_ethereum_base_staking_pools') }} -where true {% if is_incremental() %} -and {{ incremental_predicate('block_time_updated') }} +where {{ incremental_predicate('block_time_updated') }} {% endif %} diff --git a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_staking_rewards.sql b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_staking_rewards.sql index 13a26d46de6..e75f068f810 100644 --- a/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_staking_rewards.sql +++ b/dbt_subprojects/daily_spellbook/models/nexusmutual/ethereum/staking/nexusmutual_ethereum_staking_rewards.sql @@ -41,24 +41,15 @@ select c.cover_id, c.cover_start_date, c.cover_end_date, + c.cover_end_bucket_expiry_date, mr.amount / 1e18 as reward_amount_expected_total, mr.amount / c.cover_period_seconds / 1e18 as reward_amount_per_second, mr.amount / c.cover_period_seconds * 86400.0 / 1e18 as reward_amount_per_day, mr.call_tx_hash as tx_hash -from ( - select call_block_time, call_block_number, poolId, amount, call_trace_address, call_tx_hash - from {{ source('nexusmutual_ethereum', 'TokenController_call_mintStakingPoolNXMRewards') }} - where call_success - union all - select call_block_time, call_block_number, poolId, amount, call_trace_address, call_tx_hash - from {{ source('nexusmutual_ethereum', 'TokenController2_call_mintStakingPoolNXMRewards') }} - where call_success - union all - select call_block_time, call_block_number, poolId, amount, call_trace_address, call_tx_hash - from {{ source('nexusmutual_ethereum', 'TokenController3_call_mintStakingPoolNXMRewards') }} - where call_success - ) mr +from {{ source('nexusmutual_ethereum', 'TokenController_call_mintStakingPoolNXMRewards') }} mr inner join covers c on mr.call_tx_hash = c.tx_hash and mr.call_block_number = c.block_number -where mr.poolId = c.staking_pool_id +where mr.call_success + and mr.contract_address = 0x5407381b6c251cfd498ccd4a1d877739cb7960b8 -- proxy + and mr.poolId = c.staking_pool_id and (c.trace_address is null or slice(mr.call_trace_address, 1, cardinality(c.trace_address)) = c.trace_address) diff --git a/dbt_subprojects/daily_spellbook/models/omen/gnosis/omen_gnosis_schema.yml b/dbt_subprojects/daily_spellbook/models/omen/gnosis/omen_gnosis_schema.yml index bd686ba352f..9f236e434f8 100644 --- a/dbt_subprojects/daily_spellbook/models/omen/gnosis/omen_gnosis_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/omen/gnosis/omen_gnosis_schema.yml @@ -11,7 +11,7 @@ models: tags: ['gnosis', 'trades', 'omen', 'dex'] description: > A table containing all trades of Omen on Gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_day @@ -75,7 +75,7 @@ models: tags: ['gnosis', 'liquidity', 'omen', 'dex'] description: > A table containing all Omen liquidity management on Gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time diff --git a/dbt_subprojects/daily_spellbook/models/op/governance/optimism/op_governance_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/op/governance/optimism/op_governance_optimism_schema.yml index 1e9052e3616..3b88fc00fcb 100644 --- a/dbt_subprojects/daily_spellbook/models/op/governance/optimism/op_governance_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/op/governance/optimism/op_governance_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'governance', 'delegates', 'votes', 'OP'] description: "Tracks OP delegates voting power and delegating addresses data over time" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -69,7 +69,7 @@ models: tags: ['optimism', 'governance', 'delegates', 'votes', 'OP'] description: "Incremental model related to delegators" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -97,7 +97,7 @@ models: tags: ['optimism', 'governance', 'delegates', 'votes', 'OP'] description: "Incremental model related to delegates' voting power" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -131,7 +131,7 @@ models: - &address name: address description: "Addresses of delegates" - tests: + data_tests: - unique - not_null - &name diff --git a/dbt_subprojects/daily_spellbook/models/op/op_chains/op_chains_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/op/op_chains/op_chains_optimism_schema.yml index e06fe3945e4..23dba674290 100644 --- a/dbt_subprojects/daily_spellbook/models/op/op_chains/op_chains_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/op/op_chains/op_chains_optimism_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['optimism', 'chains', 'superchain','op stack','op chains','op'] description: "Metadata about OP chains - Chains which build on the OP Stack and contirbute back to Optimism." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: - &is_superchain name: is_superchain description: "Binary flag if the chain is known to be Superchain aligned (does not exist yet - to be launched)." - tests: + data_tests: - accepted_values: values: [0, 1] quote: false \ No newline at end of file diff --git a/dbt_subprojects/daily_spellbook/models/op/optimism/op_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/op/optimism/op_optimism_schema.yml index 8ec552c9e14..83959a00627 100644 --- a/dbt_subprojects/daily_spellbook/models/op/optimism/op_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/op/optimism/op_optimism_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'airdrop', 'optimism', 'claim', 'op'] description: "List of claim transactions for the $OP airdrop" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/op/token_distributions/optimism/op_token_distributions_schema.yml b/dbt_subprojects/daily_spellbook/models/op/token_distributions/optimism/op_token_distributions_schema.yml index f2c313e15e8..36d77f4bc2c 100644 --- a/dbt_subprojects/daily_spellbook/models/op/token_distributions/optimism/op_token_distributions_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/op/token_distributions/optimism/op_token_distributions_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism','op','grants','distributions'] description: > A table containing best guess mappings of OP grants token distributions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -43,31 +43,31 @@ models: description: "Transaction from address" - &from_type name: from_type - tests: + data_tests: - not_null - &to_type name: to_type - tests: + data_tests: - not_null - &from_label name: from_label - tests: + data_tests: - not_null - &to_label name: to_label - tests: + data_tests: - not_null - &from_name name: from_name - tests: + data_tests: - not_null - &to_name name: to_name - tests: + data_tests: - not_null - &op_amount_decimal name: op_amount_decimal - tests: + data_tests: - not_null description: "OP Amount Transferred" - &tx_method @@ -113,7 +113,7 @@ models: tags: ['optimism','op','grants','distributions'] description: > A table containing best guess mappings of OP grants token distributions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -153,7 +153,7 @@ models: tags: ['optimism','op','grants','distributions'] description: > A table containing mappings of transfer approvals for OP grants token distributions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -185,14 +185,14 @@ models: tags: ['optimism','op','grants','project'] description: > A table containing mappings from governance proposal names to Dune project names. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - proposal_name columns: - &proposal_name name: proposal_name - tests: + data_tests: - not_null - *project_name @@ -205,7 +205,7 @@ models: tags: ['optimism','op','grants','project'] description: > A table containing mappings for project wallets that we want to track distributions for - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -214,14 +214,14 @@ models: columns: - &address name: address - tests: + data_tests: - unique - &label name: label - *proposal_name - &address_descriptor name: address_descriptor - tests: + data_tests: - not_null - *project_name @@ -234,7 +234,7 @@ models: tags: ['optimism','op','grants','addresses'] description: > A table containing unifying labels for tagged wallets that we want to track distributions for - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - label @@ -255,7 +255,7 @@ models: tags: ['optimism','op','grants','addresses'] description: > A table containing labels for other addresses that we don't want to track distributions for, but we know what they are. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - label @@ -265,6 +265,6 @@ models: - *address - &address_name name: address_name - tests: + data_tests: - not_null \ No newline at end of file diff --git a/dbt_subprojects/daily_spellbook/models/optimism/optimism_attestationstation_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/optimism/optimism_attestationstation_optimism_schema.yml index 908242442d2..7d230189f02 100644 --- a/dbt_subprojects/daily_spellbook/models/optimism/optimism_attestationstation_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/optimism/optimism_attestationstation_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism','attestation', 'attestationstation'] description: > A table containing creation events of AttestationStation on Optimism. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time diff --git a/dbt_subprojects/daily_spellbook/models/optimism_quests/optimism/optimism_quests_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/optimism_quests/optimism/optimism_quests_optimism_schema.yml index a30402a30fd..fdd73eb4329 100644 --- a/dbt_subprojects/daily_spellbook/models/optimism_quests/optimism/optimism_quests_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/optimism_quests/optimism/optimism_quests_optimism_schema.yml @@ -30,7 +30,7 @@ models: tags: ['optimism','quests'] description: > A table containing all quest completion NFT mints for Optimism Quests, tagged by quest. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time diff --git a/dbt_subprojects/daily_spellbook/models/ovm/optimism/ovm_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/ovm/optimism/ovm_optimism_schema.yml index b580a0a94cb..96cc5ac1612 100644 --- a/dbt_subprojects/daily_spellbook/models/ovm/optimism/ovm_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/ovm/optimism/ovm_optimism_schema.yml @@ -9,7 +9,7 @@ models: tags: ['cross-chain','optimism', 'messages'] description: > Table aggregating messages through Optimism's cross-domain messenger - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - msg_type diff --git a/dbt_subprojects/daily_spellbook/models/pooltogether/ethereum/pooltogether_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/pooltogether/ethereum/pooltogether_ethereum_schema.yml index a8a1baacc03..69c9871f536 100644 --- a/dbt_subprojects/daily_spellbook/models/pooltogether/ethereum/pooltogether_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/pooltogether/ethereum/pooltogether_ethereum_schema.yml @@ -11,7 +11,7 @@ models: tags: ['ethereum','pooltogether_v4','defi','services'] description: > Pooltogether V4 contract prize structures on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -20,7 +20,7 @@ models: - &tx_hash name: tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &block_time name: evt_block_time @@ -28,12 +28,12 @@ models: - &network name: network description: "Blockchain which the protocol is deployed" - tests: + data_tests: - not_null - &draw_id name: draw_id description: "Identifier of the drawID for which the prize structure is being pushed" - tests: + data_tests: - not_null - &bit_range name: bit_range @@ -92,5 +92,5 @@ models: - &prize name: prize description: "total prize of the prize structure" - tests: + data_tests: - not_null diff --git a/dbt_subprojects/daily_spellbook/models/quests/quests_completions_schema.yml b/dbt_subprojects/daily_spellbook/models/quests/quests_completions_schema.yml index d276b3f5ca0..f116dba8214 100644 --- a/dbt_subprojects/daily_spellbook/models/quests/quests_completions_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/quests/quests_completions_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism','quests'] description: > A table containing quest completions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/reaper/optimism/reaper_optimism_all_vaults_schema.yml b/dbt_subprojects/daily_spellbook/models/reaper/optimism/reaper_optimism_all_vaults_schema.yml index 96d858e9d5e..dcdc4712c3a 100644 --- a/dbt_subprojects/daily_spellbook/models/reaper/optimism/reaper_optimism_all_vaults_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/reaper/optimism/reaper_optimism_all_vaults_schema.yml @@ -13,7 +13,7 @@ models: - &contract_address name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - &symbol name: symbol diff --git a/dbt_subprojects/daily_spellbook/models/rocifi/polygon/_schema.yml b/dbt_subprojects/daily_spellbook/models/rocifi/polygon/_schema.yml index 6418516cc1f..f4b71d1051d 100644 --- a/dbt_subprojects/daily_spellbook/models/rocifi/polygon/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/rocifi/polygon/_schema.yml @@ -12,5 +12,5 @@ models: columns: - name: address description: "Test addresses used to test in Production" - tests: + data_tests: - unique diff --git a/dbt_subprojects/daily_spellbook/models/rubicon/arbitrum/rubicon_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/rubicon/arbitrum/rubicon_arbitrum_schema.yml index bd5776dd62a..4539daafb81 100644 --- a/dbt_subprojects/daily_spellbook/models/rubicon/arbitrum/rubicon_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/rubicon/arbitrum/rubicon_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum','rubicon','dex'] description: > A table containing all offers of rubicon on arbitrum - tests: + data_tests: - check_seed: seed_file: ref('rubicon_arbitrum_offers_seed') filter: diff --git a/dbt_subprojects/daily_spellbook/models/rubicon/base/rubicon_base_schema.yml b/dbt_subprojects/daily_spellbook/models/rubicon/base/rubicon_base_schema.yml index 85850f70458..3a867bae0da 100644 --- a/dbt_subprojects/daily_spellbook/models/rubicon/base/rubicon_base_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/rubicon/base/rubicon_base_schema.yml @@ -10,7 +10,7 @@ models: tags: ['base','rubicon','dex'] description: > A table containing all offers of rubicon on base - tests: + data_tests: - check_seed: seed_file: ref('dex_offers_seed') filter: diff --git a/dbt_subprojects/daily_spellbook/models/rubicon/optimism/rubicon_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/rubicon/optimism/rubicon_optimism_schema.yml index 66002f35fee..2d01dc39a45 100644 --- a/dbt_subprojects/daily_spellbook/models/rubicon/optimism/rubicon_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/rubicon/optimism/rubicon_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism','rubicon','dex'] description: > A table containing all offers of rubicon on optimism - tests: + data_tests: - check_seed: seed_file: ref('dex_offers_seed') filter: diff --git a/dbt_subprojects/daily_spellbook/models/sharky/solana/sharky_solana_schema.yml b/dbt_subprojects/daily_spellbook/models/sharky/solana/sharky_solana_schema.yml index 84d25e95789..e27a4bc7153 100644 --- a/dbt_subprojects/daily_spellbook/models/sharky/solana/sharky_solana_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/sharky/solana/sharky_solana_schema.yml @@ -10,7 +10,7 @@ models: tags: ['sharky','solana','events'] description: > SharkyFi events on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/daily_spellbook/models/spaceid/bnb/spaceid_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/spaceid/bnb/spaceid_bnb_schema.yml index 533b69f3653..6e0f1c81cb1 100644 --- a/dbt_subprojects/daily_spellbook/models/spaceid/bnb/spaceid_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/spaceid/bnb/spaceid_bnb_schema.yml @@ -20,7 +20,7 @@ models: - &name name: name description: "Name of the space ID" - tests: + data_tests: - unique - &label name: label diff --git a/dbt_subprojects/daily_spellbook/models/sudoswap/ethereum/sudoswap_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/sudoswap/ethereum/sudoswap_ethereum_schema.yml index 9d724709d5b..f8d2621df95 100644 --- a/dbt_subprojects/daily_spellbook/models/sudoswap/ethereum/sudoswap_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/sudoswap/ethereum/sudoswap_ethereum_schema.yml @@ -14,7 +14,7 @@ models: columns: - name: pool_address description: "Address of the pool" - tests: + data_tests: - unique - &nft_contract_address name: nft_contract_address @@ -101,7 +101,7 @@ models: columns: - name: pool_address # unique description: 'Address of the pool' - tests: + data_tests: - unique - *nft_contract_address - *creator_address @@ -125,7 +125,7 @@ models: tags: ['ethereum','sudoswap','pool_trades_agg_day'] description: > sudoswap pool trades on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -156,7 +156,7 @@ models: tags: ['ethereum','sudoswap','pool_balance_agg_day'] description: > sudoswap pool balance changes on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -181,7 +181,7 @@ models: columns: - name: pool_address # unique description: 'Address of the pool' - tests: + data_tests: - unique - *bonding_curve - *spot_price diff --git a/dbt_subprojects/daily_spellbook/models/sushiswap/optimism/sushiswap_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/sushiswap/optimism/sushiswap_optimism_schema.yml index 51aa1c1ea1d..d3ef9386eaa 100644 --- a/dbt_subprojects/daily_spellbook/models/sushiswap/optimism/sushiswap_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/sushiswap/optimism/sushiswap_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism','sushiswap','sushi','trades','dex', 'incentives', 'masterchef'] description: > Sushiswap contract deployment constuctor configurations for rewarder contracts - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -43,7 +43,7 @@ models: tags: ['optimism','sushiswap','sushi','trades','dex', 'incentives', 'masterchef'] description: > Sushiswap masterchef mapping of pool ids to lp token addresses - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -69,7 +69,7 @@ models: tags: ['optimism','sushiswap','sushi','trades','dex', 'incentives', 'masterchef'] description: > Sushiswap mapping of allocation points and token emissions per second by pool and rewarder - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/synapse/arbitrum/synapse_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/synapse/arbitrum/synapse_arbitrum_schema.yml index 84f39ac3d04..861dfcd0f80 100644 --- a/dbt_subprojects/daily_spellbook/models/synapse/arbitrum/synapse_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/synapse/arbitrum/synapse_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'flashloans'] description: > All Synapse flashloans on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/synapse/avalanche_c/synapse_avalanche_c_schema.yml b/dbt_subprojects/daily_spellbook/models/synapse/avalanche_c/synapse_avalanche_c_schema.yml index 7c264877d8b..09e26f2dde6 100644 --- a/dbt_subprojects/daily_spellbook/models/synapse/avalanche_c/synapse_avalanche_c_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/synapse/avalanche_c/synapse_avalanche_c_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c', 'flashloans'] description: > All Synapse flashloans on Avalanche - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/synapse/bnb/synapse_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/synapse/bnb/synapse_bnb_schema.yml index 8eb37f719e9..3ee7db96793 100644 --- a/dbt_subprojects/daily_spellbook/models/synapse/bnb/synapse_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/synapse/bnb/synapse_bnb_schema.yml @@ -10,7 +10,7 @@ models: tags: ['bnb', 'flashloans'] description: > All Synapse flashloans on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/synapse/ethereum/synapse_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/synapse/ethereum/synapse_ethereum_schema.yml index ab04baf1cb9..e1d041b0c4d 100644 --- a/dbt_subprojects/daily_spellbook/models/synapse/ethereum/synapse_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/synapse/ethereum/synapse_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'flashloans'] description: > All Synapse flashloans on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/synapse/fantom/synapse_fantom_schema.yml b/dbt_subprojects/daily_spellbook/models/synapse/fantom/synapse_fantom_schema.yml index 0b33e74e684..f087a976b04 100644 --- a/dbt_subprojects/daily_spellbook/models/synapse/fantom/synapse_fantom_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/synapse/fantom/synapse_fantom_schema.yml @@ -10,7 +10,7 @@ models: tags: ['fantom', 'flashloans'] description: > All Synapse flashloans on Fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/synapse/optimism/synapse_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/synapse/optimism/synapse_optimism_schema.yml index 04210c89008..f8d4aa5e17f 100644 --- a/dbt_subprojects/daily_spellbook/models/synapse/optimism/synapse_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/synapse/optimism/synapse_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism', 'flashloans'] description: > All Synapse flashloans on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/synapse/polygon/synapse_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/synapse/polygon/synapse_polygon_schema.yml index 16ccbe100cc..3460f627dc0 100644 --- a/dbt_subprojects/daily_spellbook/models/synapse/polygon/synapse_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/synapse/polygon/synapse_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon', 'flashloans'] description: > All Synapse flashloans on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/synapse/synapse_schema.yml b/dbt_subprojects/daily_spellbook/models/synapse/synapse_schema.yml index b1eeb7bfe8b..c7ac71ce166 100644 --- a/dbt_subprojects/daily_spellbook/models/synapse/synapse_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/synapse/synapse_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'optimism', 'avalanche_c', 'bnb', 'arbitrum', 'polygon', 'fantom', 'flashloans'] description: > All Synapse flashloans across chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/daily_spellbook/models/syndicate/ethereum/syndicate_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/syndicate/ethereum/syndicate_ethereum_schema.yml index 8374882ce4f..61e72ecd8d0 100644 --- a/dbt_subprojects/daily_spellbook/models/syndicate/ethereum/syndicate_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/syndicate/ethereum/syndicate_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'ethereum', 'dao', 'syndicate', 'dao creator tools', 'Henrystats' ] description: > wallet addresses of daos created on syndicate - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -25,7 +25,7 @@ models: description: "blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao diff --git a/dbt_subprojects/daily_spellbook/models/syndicate/polygon/syndicate_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/syndicate/polygon/syndicate_polygon_schema.yml index c7d1a776cb2..5c6b5263698 100644 --- a/dbt_subprojects/daily_spellbook/models/syndicate/polygon/syndicate_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/syndicate/polygon/syndicate_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'polygon', 'dao', 'syndicate', 'dao creator tools', 'Henrystats' ] description: > wallet addresses of daos created on syndicate - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -25,7 +25,7 @@ models: description: "blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao diff --git a/dbt_subprojects/daily_spellbook/models/tessera/ethereum/tessera_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/tessera/ethereum/tessera_ethereum_schema.yml index 9fbf5b381e4..ea25ace1ecb 100644 --- a/dbt_subprojects/daily_spellbook/models/tessera/ethereum/tessera_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/tessera/ethereum/tessera_ethereum_schema.yml @@ -8,7 +8,7 @@ models: contributors: [amadarrrr] config: tags: ["ethereum", "tessera", "vault"] - tests: + data_tests: - check_seed: seed_file: ref('tessera_ethereum_vault_deploy_test_data') match_columns: diff --git a/dbt_subprojects/daily_spellbook/models/timeswap/arbitrum/timeswap_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/timeswap/arbitrum/timeswap_arbitrum_schema.yml index 3c566ca4db0..7dfbc0f02d1 100644 --- a/dbt_subprojects/daily_spellbook/models/timeswap/arbitrum/timeswap_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/timeswap/arbitrum/timeswap_arbitrum_schema.yml @@ -12,7 +12,7 @@ models: tags: ['arbitrum','timeswap','pools', 'view'] description: > Timeswap pools on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_pair @@ -58,7 +58,7 @@ models: Timeswap lend transactions on arbitrum config: tags: ['arbitrum','timeswap','lend', 'view'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_hash @@ -100,7 +100,7 @@ models: Timeswap borrow transactions on arbitrum config: tags: ['arbitrum','timeswap','borrow', 'view'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_hash diff --git a/dbt_subprojects/daily_spellbook/models/timeswap/ethereum/timeswap_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/timeswap/ethereum/timeswap_ethereum_schema.yml index 8bdcaa8591a..962a89967ad 100644 --- a/dbt_subprojects/daily_spellbook/models/timeswap/ethereum/timeswap_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/timeswap/ethereum/timeswap_ethereum_schema.yml @@ -12,7 +12,7 @@ models: tags: ['ethereum','timeswap','pools', 'view'] description: > Timeswap pools on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_pair @@ -59,7 +59,7 @@ models: Timeswap lend transactions on Ethereum config: tags: ['ethereum','timeswap','lend', 'view'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_hash @@ -101,7 +101,7 @@ models: Timeswap borrow transactions on Ethereum config: tags: ['ethereum','timeswap','borrow', 'view'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_hash diff --git a/dbt_subprojects/daily_spellbook/models/timeswap/polygon/timeswap_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/timeswap/polygon/timeswap_polygon_schema.yml index 67ed409d0ec..98afcfbf68a 100644 --- a/dbt_subprojects/daily_spellbook/models/timeswap/polygon/timeswap_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/timeswap/polygon/timeswap_polygon_schema.yml @@ -12,7 +12,7 @@ models: tags: ['polygon','timeswap','pools', 'view'] description: > Timeswap pools on polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_pair @@ -59,7 +59,7 @@ models: Timeswap lend transactions on polygon config: tags: ['polygon','timeswap','lend', 'view'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_hash @@ -101,7 +101,7 @@ models: Timeswap borrow transactions on polygon config: tags: ['polygon','timeswap','borrow', 'view'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_hash diff --git a/dbt_subprojects/daily_spellbook/models/tokemak/ethereum/tokemak_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/tokemak/ethereum/tokemak_ethereum_schema.yml index 08aef892fbb..31def0ae90b 100644 --- a/dbt_subprojects/daily_spellbook/models/tokemak/ethereum/tokemak_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/tokemak/ethereum/tokemak_ethereum_schema.yml @@ -13,17 +13,17 @@ models: - &symbol name: symbol description: "Token symbol" - tests: + data_tests: - not_null - &display_name name: display_name description: "Pool/token display name" - tests: + data_tests: - not_null - &address name: address description: "Tokemak pool address" - tests: + data_tests: - not_null - unique - &pricing_contract @@ -32,27 +32,27 @@ models: - &decimals name: decimals description: "Decimal count" - tests: + data_tests: - not_null - &is_pool name: is_pool description: "This is an active liquidity pool" - tests: + data_tests: - not_null - &is_active name: is_active description: "This token/pool is active within Tokemak" - tests: + data_tests: - not_null - &is_liability name: is_liability description: "This token/pool is a liability to Tokemak" - tests: + data_tests: - not_null - &is_dollar_stable name: is_dollar_stable description: "This token/pool is a stablecoin" - tests: + data_tests: - not_null - name: tokemak_ethereum_tokemak_addresses meta: @@ -66,7 +66,7 @@ models: - &tokemak_address name: tokemak_address description: "Tokemak owned address" - tests: + data_tests: - not_null - unique - name: tokemak_ethereum_tokemak_lookup_reactors @@ -81,21 +81,21 @@ models: - &reactor_address name: reactor_address description: "Tokemak reactor address" - tests: + data_tests: - not_null - unique - &underlyer_address name: underlyer_address description: "Underlying token address" - tests: + data_tests: - not_null - &reactor_name name: reactor_name description: "Name of the reactor" - tests: + data_tests: - not_null - &is_deployable name: is_deployable description: "Is the reactor deployable by Tokemak" - tests: + data_tests: - not_null diff --git a/dbt_subprojects/daily_spellbook/models/tornado_cash/arbitrum/tornado_cash_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/tornado_cash/arbitrum/tornado_cash_arbitrum_schema.yml index 119894e7193..e1f7722a8da 100644 --- a/dbt_subprojects/daily_spellbook/models/tornado_cash/arbitrum/tornado_cash_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/tornado_cash/arbitrum/tornado_cash_arbitrum_schema.yml @@ -11,7 +11,7 @@ models: config: tags: ['tornado_cash', 'deposits', 'arbitrum'] description: "Tornado Cash Deposits on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -29,13 +29,13 @@ models: description: "Symbol of currency deposited/withdrawn from Tornado Cash" - &blockchain name: blockchain - tests: + data_tests: - accepted_values: values: ['arbitrum'] description: "Blockchain" - &tornado_version name: tornado_version - tests: + data_tests: - accepted_values: values: ['classic', 'nova'] description: "Version of Tornado Cash used for this transaction" @@ -59,7 +59,7 @@ models: config: tags: ['tornado_cash', 'withdrawals', 'arbitrum'] description: "Tornado Cash Withdrawals on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/tornado_cash/avalanche_c/tornado_cash_avalanche_c_schema.yml b/dbt_subprojects/daily_spellbook/models/tornado_cash/avalanche_c/tornado_cash_avalanche_c_schema.yml index 564010aaa34..817e7e0943a 100644 --- a/dbt_subprojects/daily_spellbook/models/tornado_cash/avalanche_c/tornado_cash_avalanche_c_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/tornado_cash/avalanche_c/tornado_cash_avalanche_c_schema.yml @@ -11,7 +11,7 @@ models: config: tags: ['tornado_cash', 'deposits', 'avalanche_c'] description: "Tornado Cash Deposits on Avalanche" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -29,13 +29,13 @@ models: description: "Symbol of currency deposited/withdrawn from Tornado Cash" - &blockchain name: blockchain - tests: + data_tests: - accepted_values: values: ['avalanche_c'] description: "Blockchain" - &tornado_version name: tornado_version - tests: + data_tests: - accepted_values: values: ['classic', 'nova'] description: "Version of Tornado Cash used for this transaction" @@ -59,7 +59,7 @@ models: config: tags: ['tornado_cash', 'withdrawals', 'avalanche_c'] description: "Tornado Cash Withdrawals on Avalanche" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/tornado_cash/bnb/tornado_cash_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/tornado_cash/bnb/tornado_cash_bnb_schema.yml index bb3062f50a2..9331431b243 100644 --- a/dbt_subprojects/daily_spellbook/models/tornado_cash/bnb/tornado_cash_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/tornado_cash/bnb/tornado_cash_bnb_schema.yml @@ -11,7 +11,7 @@ models: config: tags: ['tornado_cash', 'deposits', 'bnb'] description: "Tornado Cash Deposits on BNB" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -29,13 +29,13 @@ models: description: "Symbol of currency deposited/withdrawn from Tornado Cash" - &blockchain name: blockchain - tests: + data_tests: - accepted_values: values: ['bnb'] description: "Blockchain" - &tornado_version name: tornado_version - tests: + data_tests: - accepted_values: values: ['classic', 'nova'] description: "Version of Tornado Cash used for this transaction" @@ -59,7 +59,7 @@ models: config: tags: ['tornado_cash', 'withdrawals', 'bnb'] description: "Tornado Cash Withdrawals on BNB" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/tornado_cash/ethereum/tornado_cash_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/tornado_cash/ethereum/tornado_cash_ethereum_schema.yml index 4b2a4a190ab..ba632089db7 100644 --- a/dbt_subprojects/daily_spellbook/models/tornado_cash/ethereum/tornado_cash_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/tornado_cash/ethereum/tornado_cash_ethereum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['tornado_cash', 'deposits', 'ethereum'] description: "Tornado Cash Deposits on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -29,7 +29,7 @@ models: description: "Symbol of currency deposited/withdrawn from Tornado Cash" - &tornado_version name: tornado_version - tests: + data_tests: - accepted_values: values: ['classic', 'nova'] description: "Version of Tornado Cash used for this transaction" @@ -53,7 +53,7 @@ models: config: tags: ['tornado_cash', 'withdrawals', 'ethereum'] description: "Tornado Cash Withdrawals on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/tornado_cash/gnosis/tornado_cash_gnosis_schema.yml b/dbt_subprojects/daily_spellbook/models/tornado_cash/gnosis/tornado_cash_gnosis_schema.yml index 3333b718c46..128bc2779b3 100644 --- a/dbt_subprojects/daily_spellbook/models/tornado_cash/gnosis/tornado_cash_gnosis_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/tornado_cash/gnosis/tornado_cash_gnosis_schema.yml @@ -11,7 +11,7 @@ models: config: tags: ['tornado_cash', 'deposits', 'gnosis'] description: "Tornado Cash Deposits on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -29,13 +29,13 @@ models: description: "Symbol of currency deposited/withdrawn from Tornado Cash" - &blockchain name: blockchain - tests: + data_tests: - accepted_values: values: ['gnosis'] description: "Blockchain" - &tornado_version name: tornado_version - tests: + data_tests: - accepted_values: values: ['classic', 'nova'] description: "Version of Tornado Cash used for this transaction" @@ -59,7 +59,7 @@ models: config: tags: ['tornado_cash', 'withdrawals', 'gnosis'] description: "Tornado Cash Withdrawals on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/tornado_cash/optimism/tornado_cash_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/tornado_cash/optimism/tornado_cash_optimism_schema.yml index 02e54bd0ba8..bd87e0a3921 100644 --- a/dbt_subprojects/daily_spellbook/models/tornado_cash/optimism/tornado_cash_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/tornado_cash/optimism/tornado_cash_optimism_schema.yml @@ -11,7 +11,7 @@ models: config: tags: ['tornado_cash', 'deposits', 'optimism'] description: "Tornado Cash Deposits on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -29,13 +29,13 @@ models: description: "Symbol of currency deposited/withdrawn from Tornado Cash" - &blockchain name: blockchain - tests: + data_tests: - accepted_values: values: ['optimism'] description: "Blockchain" - &tornado_version name: tornado_version - tests: + data_tests: - accepted_values: values: ['classic', 'nova'] description: "Version of Tornado Cash used for this transaction" @@ -59,7 +59,7 @@ models: config: tags: ['tornado_cash', 'withdrawals', 'optimism'] description: "Tornado Cash Withdrawals on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/tornado_cash/polygon/tornado_cash_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/tornado_cash/polygon/tornado_cash_polygon_schema.yml index ff709196042..2ef913ade4c 100644 --- a/dbt_subprojects/daily_spellbook/models/tornado_cash/polygon/tornado_cash_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/tornado_cash/polygon/tornado_cash_polygon_schema.yml @@ -11,7 +11,7 @@ models: config: tags: ['tornado_cash', 'deposits', 'polygon'] description: "Tornado Cash Deposits on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -29,13 +29,13 @@ models: description: "Symbol of currency deposited/withdrawn from Tornado Cash" - &blockchain name: blockchain - tests: + data_tests: - accepted_values: values: ['polygon'] description: "Blockchain" - &tornado_version name: tornado_version - tests: + data_tests: - accepted_values: values: ['classic', 'nova'] description: "Version of Tornado Cash used for this transaction" @@ -59,7 +59,7 @@ models: config: tags: ['tornado_cash', 'withdrawals', 'polygon'] description: "Tornado Cash Withdrawals on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/tornado_cash/tornado_cash_schema.yml b/dbt_subprojects/daily_spellbook/models/tornado_cash/tornado_cash_schema.yml index b3933145fbc..785b8c515cc 100644 --- a/dbt_subprojects/daily_spellbook/models/tornado_cash/tornado_cash_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/tornado_cash/tornado_cash_schema.yml @@ -11,7 +11,7 @@ models: config: tags: ['tornado_cash', 'deposits', 'ethereum', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'polygon'] description: "Tornado Cash Deposits" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -30,13 +30,13 @@ models: description: "Symbol of currency deposited/withdrawn from Tornado Cash" - &blockchain name: blockchain - tests: + data_tests: - accepted_values: values: ['ethereum', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'polygon'] description: "Blockchain" - &tornado_version name: tornado_version - tests: + data_tests: - accepted_values: values: ['classic', 'nova'] description: "Version of Tornado Cash used for this transaction" @@ -60,7 +60,7 @@ models: config: tags: ['tornado_cash', 'withdrawals', 'ethereum', 'bnb', 'avalanche', 'gnosis', 'optimism', 'arbitrum', 'polygon'] description: "Tornado Cash Withdrawals" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/daily_spellbook/models/transfers/arbitrum/erc20/transfers_arbitrum_erc20_schema.yml b/dbt_subprojects/daily_spellbook/models/transfers/arbitrum/erc20/transfers_arbitrum_erc20_schema.yml index bf24f303841..485b8799cce 100644 --- a/dbt_subprojects/daily_spellbook/models/transfers/arbitrum/erc20/transfers_arbitrum_erc20_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/transfers/arbitrum/erc20/transfers_arbitrum_erc20_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['transfers', 'arbitrum', 'erc20'] description: "ERC20 Token Transfers on arbitrum. This table is updated every 30 minutes." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transfer_type @@ -54,7 +54,7 @@ models: contributors: Henrystats config: tags: ['transfers', 'arbitrum', 'erc20', 'agg_hour', 'Henrystats'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_hour @@ -84,7 +84,7 @@ models: contributors: Henrystats config: tags: ['transfers', 'arbitrum', 'erc20', 'agg_day', 'Henrystats'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_day diff --git a/dbt_subprojects/daily_spellbook/models/transfers/base/transfers_base_schema.yml b/dbt_subprojects/daily_spellbook/models/transfers/base/transfers_base_schema.yml index c567196f59b..df411dea6ca 100644 --- a/dbt_subprojects/daily_spellbook/models/transfers/base/transfers_base_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/transfers/base/transfers_base_schema.yml @@ -28,7 +28,7 @@ models: - &tx_hash name: tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - name: trace_address description: "All returned traces, gives the exact location in the call trace" @@ -43,7 +43,7 @@ models: description: "Function calls specified by the first four bytes of data sent with a transaction" - name: unique_transfer_id description: "Unique transfer ID (used for testing for duplicates), made up with tx_hash and trace_address" - tests: + data_tests: - not_null - unique - &tx_to @@ -64,7 +64,7 @@ models: description: "ERC20 Token Transfers on base. This table is updated every 30 minutes." columns: - name: unique_transfer_id - tests: + data_tests: - unique - not_null description: "Unique transfer ID (used for testing for duplicates)" diff --git a/dbt_subprojects/daily_spellbook/models/transfers/bnb/bep20/transfers_bnb_bep20_schema.yml b/dbt_subprojects/daily_spellbook/models/transfers/bnb/bep20/transfers_bnb_bep20_schema.yml index f4d9b966cd8..60ed41298ff 100644 --- a/dbt_subprojects/daily_spellbook/models/transfers/bnb/bep20/transfers_bnb_bep20_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/transfers/bnb/bep20/transfers_bnb_bep20_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['transfers', 'bnb', 'bep20'] description: "bep20 Token Transfers on bnb. This table is updated every 30 minutes." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transfer_type @@ -54,7 +54,7 @@ models: contributors: hosuke config: tags: ['transfers', 'bnb', 'bep20', 'agg_hour', 'hosuke'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - hour @@ -84,7 +84,7 @@ models: contributors: hosuke config: tags: ['transfers', 'bnb', 'bep20', 'agg_day', 'hosuke'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/daily_spellbook/models/transfers/bnb/bnb/transfers_bnb_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/transfers/bnb/bnb/transfers_bnb_bnb_schema.yml index 71a6510b96c..00d95724186 100644 --- a/dbt_subprojects/daily_spellbook/models/transfers/bnb/bnb/transfers_bnb_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/transfers/bnb/bnb/transfers_bnb_bnb_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['transfers', 'bnb', 'bnb'] description: "bnb Transfers on bnb. This table is updated every 30 minutes." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transfer_type @@ -55,7 +55,7 @@ models: contributors: Henrystats config: tags: ['transfers', 'bnb', 'bnb', 'agg_hour', 'Henrystats'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - hour @@ -85,7 +85,7 @@ models: contributors: Henrystats config: tags: ['transfers', 'bnb', 'bnb', 'agg_day', 'Henrystats'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/daily_spellbook/models/transfers/celo/erc1155/transfers_celo_erc1155_schema.yml b/dbt_subprojects/daily_spellbook/models/transfers/celo/erc1155/transfers_celo_erc1155_schema.yml index dacfdefd54e..27a8a049a2d 100644 --- a/dbt_subprojects/daily_spellbook/models/transfers/celo/erc1155/transfers_celo_erc1155_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/transfers/celo/erc1155/transfers_celo_erc1155_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['transfers', 'celo', 'erc1155'] description: "ERC1155 Token Transfers on Celo. This table is updated every 30 minutes." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -35,12 +35,12 @@ models: - &block_month name: block_month description: "Block Month column used to partition data in this table" - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &token_id name: token_id @@ -51,7 +51,7 @@ models: - &tx_hash name: tx_hash description: "Transaction hash" - tests: + data_tests: - not_null - name: transfers_celo_erc1155_agg_hour @@ -63,7 +63,7 @@ models: config: tags: ['transfers', 'celo', 'erc1155', 'agg_hour', 'soispoke', 'dot2dotseurat', 'tomfutago'] description: "A helper table to construct erc1155 balances" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - wallet_address @@ -114,7 +114,7 @@ models: config: tags: ['transfers', 'celo', 'erc1155', 'agg_day', 'soispoke', 'dot2dotseurat', 'tomfutago'] description: "A helper table to construct erc1155 balances" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - wallet_address diff --git a/dbt_subprojects/daily_spellbook/models/transfers/celo/erc721/transfers_celo_erc721_schema.yml b/dbt_subprojects/daily_spellbook/models/transfers/celo/erc721/transfers_celo_erc721_schema.yml index 44e4d74d0f5..71f4abdbaec 100644 --- a/dbt_subprojects/daily_spellbook/models/transfers/celo/erc721/transfers_celo_erc721_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/transfers/celo/erc721/transfers_celo_erc721_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['transfers', 'celo', 'erc721'] description: "ERC721 Token Transfers on Celo. This table is updated every 30 minutes." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -34,12 +34,12 @@ models: - &block_month name: block_month description: "Block Month column used to partition data in this table" - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &token_id name: token_id @@ -50,7 +50,7 @@ models: - &tx_hash name: tx_hash description: "Transaction hash" - tests: + data_tests: - not_null - name: transfers_celo_erc721_agg_hour @@ -62,7 +62,7 @@ models: config: tags: ['transfers', 'celo', 'erc721', 'agg_hour', 'soispoke', 'dot2dotseurat', 'tomfutago'] description: "A helper table to construct erc721 balances" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - wallet_address @@ -113,7 +113,7 @@ models: config: tags: ['transfers', 'celo', 'erc721', 'agg_day', 'soispoke', 'dot2dotseurat', 'tomfutago'] description: "A helper table to construct erc721 balances" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - wallet_address diff --git a/dbt_subprojects/daily_spellbook/models/transfers/celo/transfers_celo_schema.yml b/dbt_subprojects/daily_spellbook/models/transfers/celo/transfers_celo_schema.yml index e2fc18ae3e2..1d4540f366e 100644 --- a/dbt_subprojects/daily_spellbook/models/transfers/celo/transfers_celo_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/transfers/celo/transfers_celo_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ["transfers", "celo"] description: "Events of native CELO transfers on Celo." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -33,14 +33,14 @@ models: - &tx_hash name: tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - name: trace_address description: "All returned traces, gives the exact location in the call trace" - &block_month name: block_month description: "Block Month column used to partition data in this table" - tests: + data_tests: - not_null - &tx_block_time name: tx_block_time @@ -67,7 +67,7 @@ models: config: tags: ['transfers', 'celo', 'erc20'] description: "ERC20 Token Transfers on Celo. This table is updated every 30 minutes." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -107,7 +107,7 @@ models: contributors: soispoke, dot2dotseurat, tomfutago config: tags: ['transfers', 'celo', 'erc20', 'agg_hour', 'soispoke', 'dot2dotseurat', 'tomfutago'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - wallet_address @@ -138,7 +138,7 @@ models: description: "ERC20 Token Transfers on Celo per hour." config: tags: ['transfers', 'celo', 'erc20', 'rolling_hour', 'soispoke', 'dot2dotseurat', 'tomfutago'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - wallet_address @@ -170,7 +170,7 @@ models: contributors: soispoke, dot2dotseurat, tomfutago config: tags: ['transfers', 'celo', 'erc20', 'agg_day', 'soispoke', 'dot2dotseurat', 'tomfutago'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - wallet_address @@ -197,7 +197,7 @@ models: description: "ERC20 Token Transfers on Celo per day." config: tags: ['transfers', 'celo', 'erc20', 'rolling_day', 'soispoke', 'dot2dotseurat', 'tomfutago'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - wallet_address diff --git a/dbt_subprojects/daily_spellbook/models/transfers/ethereum/transfers_ethereum_schema.yml b/dbt_subprojects/daily_spellbook/models/transfers/ethereum/transfers_ethereum_schema.yml index 48829195767..f8365b1d8a2 100644 --- a/dbt_subprojects/daily_spellbook/models/transfers/ethereum/transfers_ethereum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/transfers/ethereum/transfers_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ["transfers", "ethereum", "eth"] description: "Events of native ETH transfers on Ethereum." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -33,7 +33,7 @@ models: - &tx_hash name: tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - name: trace_address description: "All returned traces, gives the exact location in the call trace" diff --git a/dbt_subprojects/daily_spellbook/models/transfers/optimism/transfers_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/transfers/optimism/transfers_optimism_schema.yml index c0cb4c47042..dc09d24d686 100644 --- a/dbt_subprojects/daily_spellbook/models/transfers/optimism/transfers_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/transfers/optimism/transfers_optimism_schema.yml @@ -28,7 +28,7 @@ models: - &tx_hash name: tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - name: trace_address description: "All returned traces, gives the exact location in the call trace" @@ -43,7 +43,7 @@ models: description: "Function calls specified by the first four bytes of data sent with a transaction" - name: unique_transfer_id description: "Unique transfer ID (used for testing for duplicates), made up with tx_hash and trace_address" - tests: + data_tests: - not_null - unique - &tx_to diff --git a/dbt_subprojects/daily_spellbook/models/transfers/polygon/erc20/transfers_polygon_erc20_schema.yml b/dbt_subprojects/daily_spellbook/models/transfers/polygon/erc20/transfers_polygon_erc20_schema.yml index e3a67ecece2..284b5cebedb 100644 --- a/dbt_subprojects/daily_spellbook/models/transfers/polygon/erc20/transfers_polygon_erc20_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/transfers/polygon/erc20/transfers_polygon_erc20_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['transfers', 'polygon', 'erc20'] description: "ERC20 Token Transfers on polygon. This table is updated every 30 minutes." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transfer_type @@ -54,7 +54,7 @@ models: contributors: Henrystats config: tags: ['transfers', 'polygon', 'erc20', 'agg_hour', 'Henrystats'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_hour @@ -84,7 +84,7 @@ models: contributors: Henrystats config: tags: ['transfers', 'polygon', 'erc20', 'agg_day', 'Henrystats'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_day diff --git a/dbt_subprojects/daily_spellbook/models/transfers/polygon/matic/transfers_polygon_matic_schema.yml b/dbt_subprojects/daily_spellbook/models/transfers/polygon/matic/transfers_polygon_matic_schema.yml index cd0867e9b21..66b5dc614af 100644 --- a/dbt_subprojects/daily_spellbook/models/transfers/polygon/matic/transfers_polygon_matic_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/transfers/polygon/matic/transfers_polygon_matic_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['transfers', 'polygon', 'matic'] description: "matic Transfers on polygon. This table is updated every 30 minutes." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transfer_type @@ -55,7 +55,7 @@ models: contributors: Henrystats config: tags: ['transfers', 'polygon', 'matic', 'agg_hour', 'Henrystats'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - hour @@ -85,7 +85,7 @@ models: contributors: Henrystats config: tags: ['transfers', 'polygon', 'matic', 'agg_day', 'Henrystats'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/daily_spellbook/models/velodrome/optimism/velodrome_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/velodrome/optimism/velodrome_optimism_schema.yml index 70e440f0268..97648d9eb58 100644 --- a/dbt_subprojects/daily_spellbook/models/velodrome/optimism/velodrome_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/velodrome/optimism/velodrome_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism','velodrome','velo','dex', 'incentives'] description: > Bribe to Pool mappings for velodrome on all chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_contract diff --git a/dbt_subprojects/daily_spellbook/models/worldcoin/optimism/worldcoin_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/worldcoin/optimism/worldcoin_optimism_schema.yml index dee7d40389e..b2e2d2f271e 100644 --- a/dbt_subprojects/daily_spellbook/models/worldcoin/optimism/worldcoin_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/worldcoin/optimism/worldcoin_optimism_schema.yml @@ -17,7 +17,7 @@ models: - &account_address name: account_address description: "Worldcoin user account (Safe) address" - tests: + data_tests: - unique - &created_time name: created_time diff --git a/dbt_subprojects/daily_spellbook/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml index c4d8535b097..ae4d2a7e198 100644 --- a/dbt_subprojects/daily_spellbook/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/yield_yak/arbitrum/yield_yak_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'deposits'] description: > yield yak deposits on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -57,7 +57,7 @@ models: tags: ['arbitrum', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'withdraws'] description: > yield yak withdraws on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -86,7 +86,7 @@ models: tags: ['arbitrum', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'reinvests'] description: > yield yak reinvests on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -129,7 +129,7 @@ models: tags: ['arbitrum', 'yield', 'aggregator', 'yield_yak', 'auto-compound'] description: > yield yak vault/farm/pool balances on arbitrum as a temporal table - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -156,7 +156,7 @@ models: tags: ['arbitrum', 'yield', 'aggregator', 'yield_yak', 'auto-compound'] description: > yield yak user-level YRT balances on arbitrum as a temporal table - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - user_address @@ -184,7 +184,7 @@ models: tags: ['arbitrum', 'yakswap', 'swaps', 'aggregator', 'yield_yak', 'dex'] description: > yield yak aggregator yak swaps on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -244,7 +244,7 @@ models: tags: ['arbitrum', 'yakswap', 'swaps', 'aggregator', 'yield_yak', 'dex', 'yakadapter'] description: > yield yak aggregator yak adapter swaps on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -298,7 +298,7 @@ models: tags: ['arbitrum', 'yield_yak', 'strategies', 'yield'] description: > yield yak strategies on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address diff --git a/dbt_subprojects/daily_spellbook/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml b/dbt_subprojects/daily_spellbook/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml index 40b7de500f5..b2a63389d83 100644 --- a/dbt_subprojects/daily_spellbook/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/yield_yak/avalanche_c/yield_yak_avalanche_c_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'deposits'] description: > yield yak deposits on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -57,7 +57,7 @@ models: tags: ['avalanche_c', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'withdraws'] description: > yield yak withdraws on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -86,7 +86,7 @@ models: tags: ['avalanche_c', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'reinvests'] description: > yield yak reinvests on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -129,7 +129,7 @@ models: tags: ['avalanche_c', 'yield', 'aggregator', 'yield_yak', 'auto-compound'] description: > yield yak vault/farm/pool balances on avalanche_c as a temporal table - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -156,7 +156,7 @@ models: tags: ['avalanche_c', 'yield', 'aggregator', 'yield_yak', 'auto-compound'] description: > yield yak user-level YRT balances on avalanche_c as a temporal table - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - user_address @@ -184,7 +184,7 @@ models: tags: ['avalanche_c', 'yakswap', 'swaps', 'aggregator', 'yield_yak', 'dex'] description: > yield yak aggregator yak swaps on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -244,7 +244,7 @@ models: tags: ['avalanche_c', 'yakswap', 'swaps', 'aggregator', 'yield_yak', 'dex', 'yakadapter'] description: > yield yak aggregator yak adapter swaps on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -298,7 +298,7 @@ models: tags: ['avalanche_c', 'yield_yak', 'strategies', 'yield'] description: > yield yak strategies on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address diff --git a/dbt_subprojects/daily_spellbook/models/yield_yak/mantle/yield_yak_mantle_schema.yml b/dbt_subprojects/daily_spellbook/models/yield_yak/mantle/yield_yak_mantle_schema.yml index b8677c67091..c59da253f6b 100644 --- a/dbt_subprojects/daily_spellbook/models/yield_yak/mantle/yield_yak_mantle_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/yield_yak/mantle/yield_yak_mantle_schema.yml @@ -10,7 +10,7 @@ models: tags: ['mantle', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'deposits'] description: > yield yak deposits on mantle - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -57,7 +57,7 @@ models: tags: ['mantle', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'withdraws'] description: > yield yak withdraws on mantle - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -86,7 +86,7 @@ models: tags: ['mantle', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'reinvests'] description: > yield yak reinvests on mantle - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -129,7 +129,7 @@ models: tags: ['mantle', 'yield', 'aggregator', 'yield_yak', 'auto-compound'] description: > yield yak vault/farm/pool balances on mantle as a temporal table - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -156,7 +156,7 @@ models: tags: ['mantle', 'yield', 'aggregator', 'yield_yak', 'auto-compound'] description: > yield yak user-level YRT balances on mantle as a temporal table - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - user_address @@ -184,7 +184,7 @@ models: tags: ['mantle', 'yakswap', 'swaps', 'aggregator', 'yield_yak', 'dex'] description: > yield yak aggregator yak swaps on mantle - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -244,7 +244,7 @@ models: tags: ['mantle', 'yakswap', 'swaps', 'aggregator', 'yield_yak', 'dex', 'yakadapter'] description: > yield yak aggregator yak adapter swaps on mantle - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -298,7 +298,7 @@ models: tags: ['mantle', 'yield_yak', 'strategies', 'yield'] description: > yield yak strategies on mantle - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address diff --git a/dbt_subprojects/daily_spellbook/models/yield_yak/yield_yak_schema.yml b/dbt_subprojects/daily_spellbook/models/yield_yak/yield_yak_schema.yml index e19f7104dd7..01d1aee227b 100644 --- a/dbt_subprojects/daily_spellbook/models/yield_yak/yield_yak_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/yield_yak/yield_yak_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c', 'arbitrum', 'mantle', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'deposits'] description: > yield yak deposits - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -58,7 +58,7 @@ models: tags: ['avalanche_c', 'arbitrum', 'mantle', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'withdraws'] description: > yield yak withdraws - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -88,7 +88,7 @@ models: tags: ['avalanche_c', 'arbitrum', 'mantle', 'yield', 'aggregator', 'yield_yak', 'auto-compound', 'reinvests'] description: > yield yak reinvests - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -132,7 +132,7 @@ models: tags: ['avalanche_c', 'arbitrum', 'mantle', 'yield', 'aggregator', 'yield_yak', 'auto-compound'] description: > yield yak vault/farm/pool balances as a temporal table - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -160,7 +160,7 @@ models: tags: ['avalanche_c', 'arbitrum', 'mantle', 'yield', 'aggregator', 'yield_yak', 'auto-compound'] description: > yield yak user-level YRT balances as a temporal table - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -189,7 +189,7 @@ models: tags: ['avalanche_c', 'arbitrum', 'mantle', 'yakswap', 'swaps', 'aggregator', 'yield_yak', 'dex'] description: > yield yak aggregator yak swaps - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -250,7 +250,7 @@ models: tags: ['avalanche_c', 'arbitrum', 'mantle', 'yakswap', 'swaps', 'aggregator', 'yield_yak', 'dex', 'yakadapter'] description: > yield yak aggregator yak adapter swaps - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -305,7 +305,7 @@ models: tags: ['avalanche_c', 'arbitrum', 'mantle', 'yield_yak', 'strategies', 'yield'] description: > yield yak strategies on all chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/zerion/arbitrum/zerion_arbitrum_schema.yml b/dbt_subprojects/daily_spellbook/models/zerion/arbitrum/zerion_arbitrum_schema.yml index 24a5a2a0fbe..9f8d96be637 100644 --- a/dbt_subprojects/daily_spellbook/models/zerion/arbitrum/zerion_arbitrum_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/zerion/arbitrum/zerion_arbitrum_schema.yml @@ -11,7 +11,7 @@ models: tags: ['arbitrum', 'zerion', 'zerion', 'trades', 'dex'] description: > Zerion DEX trades on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/zerion/avalanche_c/zerion_avalanche_c_schema.yml b/dbt_subprojects/daily_spellbook/models/zerion/avalanche_c/zerion_avalanche_c_schema.yml index ba00fcf6523..34acb64ed54 100644 --- a/dbt_subprojects/daily_spellbook/models/zerion/avalanche_c/zerion_avalanche_c_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/zerion/avalanche_c/zerion_avalanche_c_schema.yml @@ -11,7 +11,7 @@ models: tags: ['avalanche_c', 'zerion', 'zerion', 'trades', 'dex'] description: > Zerion DEX trades on Avalanche - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/zerion/bnb/zerion_bnb_schema.yml b/dbt_subprojects/daily_spellbook/models/zerion/bnb/zerion_bnb_schema.yml index 4c4b0e2ccac..f2fbaea75c7 100644 --- a/dbt_subprojects/daily_spellbook/models/zerion/bnb/zerion_bnb_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/zerion/bnb/zerion_bnb_schema.yml @@ -11,7 +11,7 @@ models: tags: ['bnb', 'zerion', 'zerion', 'trades', 'dex'] description: > Zerion DEX trades on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/zerion/fantom/zerion_fantom_schema.yml b/dbt_subprojects/daily_spellbook/models/zerion/fantom/zerion_fantom_schema.yml index 31a538b1f0d..ee9d8b0b1ef 100644 --- a/dbt_subprojects/daily_spellbook/models/zerion/fantom/zerion_fantom_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/zerion/fantom/zerion_fantom_schema.yml @@ -11,7 +11,7 @@ models: tags: ['fantom', 'zerion', 'zerion', 'trades', 'dex'] description: > Zerion DEX trades on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/zerion/gnosis/zerion_gnosis_schema.yml b/dbt_subprojects/daily_spellbook/models/zerion/gnosis/zerion_gnosis_schema.yml index 2fd3e8b1271..50337e4759b 100644 --- a/dbt_subprojects/daily_spellbook/models/zerion/gnosis/zerion_gnosis_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/zerion/gnosis/zerion_gnosis_schema.yml @@ -11,7 +11,7 @@ models: tags: ['gnosis', 'zerion', 'zerion', 'trades', 'dex'] description: > Zerion DEX trades on Gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/zerion/optimism/zerion_optimism_schema.yml b/dbt_subprojects/daily_spellbook/models/zerion/optimism/zerion_optimism_schema.yml index 74e562bf3bb..1ed57e2d822 100644 --- a/dbt_subprojects/daily_spellbook/models/zerion/optimism/zerion_optimism_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/zerion/optimism/zerion_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'zerion', 'zerion', 'trades', 'dex'] description: > Zerion DEX trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/zerion/polygon/zerion_polygon_schema.yml b/dbt_subprojects/daily_spellbook/models/zerion/polygon/zerion_polygon_schema.yml index 4ca9c27d6f1..7ba47dd6cdf 100644 --- a/dbt_subprojects/daily_spellbook/models/zerion/polygon/zerion_polygon_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/zerion/polygon/zerion_polygon_schema.yml @@ -11,7 +11,7 @@ models: tags: ['polygon', 'zerion', 'zerion', 'trades', 'dex'] description: > Zerion DEX trades on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/zerion/zerion_trades_schema.yml b/dbt_subprojects/daily_spellbook/models/zerion/zerion_trades_schema.yml index 89a09853b9e..1ba47dbee2c 100644 --- a/dbt_subprojects/daily_spellbook/models/zerion/zerion_trades_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/zerion/zerion_trades_schema.yml @@ -11,7 +11,7 @@ models: tags: ['zerion', 'trades', 'dex', 'polygon', 'optimism', 'bnb', 'avalanche_c', 'arbitrum', 'gnosis'] description: > Zerion DEX trades on all chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/daily_spellbook/models/zodiac/ethereum/zodiac_ethereum_dao_addresses_schema.yml b/dbt_subprojects/daily_spellbook/models/zodiac/ethereum/zodiac_ethereum_dao_addresses_schema.yml index 516f0dee902..504ff66acf0 100644 --- a/dbt_subprojects/daily_spellbook/models/zodiac/ethereum/zodiac_ethereum_dao_addresses_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/zodiac/ethereum/zodiac_ethereum_dao_addresses_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'ethereum', 'dao', 'zodiac', 'dao creator tools', 'Henrystats' ] description: > wallet addresses of daos created on zodiac - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - created_date @@ -25,7 +25,7 @@ models: description: "Blockchain which the DAO is deployed" - name: dao_creator_tool description: "Name of creator tool used to create DAO" - tests: + data_tests: - dao_addresses_creator_tool: dao_addresses_seed: ref('dao_addresses_seed') - &dao diff --git a/dbt_subprojects/daily_spellbook/package-lock.yml b/dbt_subprojects/daily_spellbook/package-lock.yml index 9159e5ec7e2..17c0350a1cf 100644 --- a/dbt_subprojects/daily_spellbook/package-lock.yml +++ b/dbt_subprojects/daily_spellbook/package-lock.yml @@ -1,4 +1,4 @@ packages: -- package: dbt-labs/dbt_utils - version: 1.3.0 -sha1_hash: e60f3271d7a9f853b7ff6316d14feb1341ef78ea + - package: dbt-labs/dbt_utils + version: 1.3.0 +sha1_hash: 226ae69cdfbc9367e2aa2c472b01f99dbce11de0 diff --git a/dbt_subprojects/dex/dbt_project.yml b/dbt_subprojects/dex/dbt_project.yml index bb65226ad1a..e7ae73c9424 100644 --- a/dbt_subprojects/dex/dbt_project.yml +++ b/dbt_subprojects/dex/dbt_project.yml @@ -3,6 +3,7 @@ name: "dex" version: "1.0.0" config-version: 2 +require-dbt-version: ">=1.8.0" quoting: database: false @@ -31,7 +32,7 @@ clean-targets: # directories to be removed by `dbt clean` # Configuring tests # Full documentation: https://docs.getdbt.com/reference/test-configs -tests: +data_tests: dex: +store_failures: true # store failures for all tests diff --git a/dbt_subprojects/dex/models/_projects/arrakis/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/arrakis/optimism/_schema.yml index a2b79a99f14..766076701c5 100644 --- a/dbt_subprojects/dex/models/_projects/arrakis/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/arrakis/optimism/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism','uniswap','arrakis','pools'] description: > A canonical table containing Uniswap mappings for known Arrakis pools created on Optimism. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address diff --git a/dbt_subprojects/dex/models/_projects/balancer/labels/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer/labels/_schema.yml index 5307014bab0..9e2d6f55d00 100644 --- a/dbt_subprojects/dex/models/_projects/balancer/labels/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer/labels/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['labels', 'ethereum', 'balancer', 'pools'] description: "Balancer V1 liquidity pools created on Ethereum. " - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -76,7 +76,7 @@ models: config: tags: ['labels', 'ethereum', 'balancer', 'pools'] description: 'Balancer V2 liquidity pools created on Ethereum. ' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -105,7 +105,7 @@ models: config: tags: ['labels', 'polygon', 'balancer', 'pools'] description: 'Balancer V2 liquidity pools created on Polygon.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -130,7 +130,7 @@ models: config: tags: ['labels', 'gnosis', 'balancer', 'pools'] description: 'Balancer V2 liquidity pools created on Gnosis.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -155,7 +155,7 @@ models: config: tags: ['labels', 'avalanche_c', 'balancer', 'pools'] description: 'Balancer V2 liquidity pools created on Avalanche Chain.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -180,7 +180,7 @@ models: config: tags: ['labels', 'base', 'balancer', 'pools'] description: 'Balancer V2 liquidity pools created on Base Chain.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -205,7 +205,7 @@ models: config: tags: ['labels', 'arbitrum', 'balancer', 'pools'] description: 'Balancer V2 liquidity pools created on Arbitrum.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -230,7 +230,7 @@ models: config: tags: ['labels', 'optimism', 'balancer', 'pools'] description: 'Balancer V2 liquidity pools created on Optimism.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -255,7 +255,7 @@ models: config: tags: ['labels', 'zkevm', 'balancer', 'pools'] description: 'Balancer V2 liquidity pools created on Polygon zkevm.' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/dex/models/_projects/balancer/pools/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer/pools/_schema.yml index 4c8d413147c..79a17fe7cdf 100644 --- a/dbt_subprojects/dex/models/_projects/balancer/pools/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer/pools/_schema.yml @@ -9,7 +9,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'pools', 'fees'] description: > Balancer v2 swap fees stored at the pool level. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -26,37 +26,37 @@ models: - &contract_address name: contract_address description: 'zkevm address for the liquidity pool used in transaction' - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: 'Transaction hash' - tests: + data_tests: - not_null - &index name: index description: 'Event Index' - tests: + data_tests: - not_null - &tx_index name: tx_index description: 'Transaction Index' - tests: + data_tests: - not_null - &block_time name: block_time description: 'Block time in UTC' - tests: + data_tests: - not_null - &block_number name: block_number description: 'Event Block Number' - tests: + data_tests: - not_null - &swap_fee_percentage name: swap_fee_percentage description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: + data_tests: - not_null - name: balancer_v2_arbitrum_pools_fees @@ -68,7 +68,7 @@ models: tags: ['arbitrum', 'balancer', 'pools_fees'] description: > Balancer v2 swap fees stored at the pool level. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -94,7 +94,7 @@ models: tags: ['avalanche_c', 'balancer', 'pools_fees'] description: > Balancer v2 swap fees stored at the pool level. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -120,7 +120,7 @@ models: tags: ['base', 'balancer', 'pools_fees'] description: > Balancer v2 swap fees stored at the pool level. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -146,7 +146,7 @@ models: tags: ['ethereum', 'balancer', 'pools', 'fees'] description: > Balancer v2 swap fees stored at the pool level. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -172,7 +172,7 @@ models: tags: ['gnosis', 'balancer', 'pools_fees'] description: > Balancer v2 swap fees stored at the pool level. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -198,7 +198,7 @@ models: tags: ['optimism', 'balancer', 'pools_fees'] description: > Balancer v2 swap fees stored at the pool level. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -224,7 +224,7 @@ models: tags: ['polygon', 'balancer', 'pools', 'fees'] description: > Balancer v2 swap fees stored at the pool level. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -250,7 +250,7 @@ models: tags: ['zkevm', 'balancer', 'pools_fees'] description: > Balancer v2 swap fees stored at the pool level. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number diff --git a/dbt_subprojects/dex/models/_projects/balancer/trades/arbitrum/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer/trades/arbitrum/_schema.yml index 1f6eb04efb1..b5fbb624d54 100644 --- a/dbt_subprojects/dex/models/_projects/balancer/trades/arbitrum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer/trades/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['balancer', 'arbitrum', 'amm', 'trades', 'dex'] description: > DEX trades on balancer on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/balancer/trades/avalanche_c/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer/trades/avalanche_c/_schema.yml index 6036c557ff2..40ea0f68e9d 100644 --- a/dbt_subprojects/dex/models/_projects/balancer/trades/avalanche_c/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer/trades/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['balancer', 'avalanche_c', 'amm', 'trades', 'dex'] description: > DEX trades on balancer on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/balancer/trades/base/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer/trades/base/_schema.yml index ccd587803b5..3884166c920 100644 --- a/dbt_subprojects/dex/models/_projects/balancer/trades/base/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer/trades/base/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['balancer', 'base', 'amm', 'trades', 'dex'] description: > DEX trades on balancer on base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/balancer/trades/ethereum/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer/trades/ethereum/_schema.yml index 48f04166bfe..14737f94d4a 100644 --- a/dbt_subprojects/dex/models/_projects/balancer/trades/ethereum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer/trades/ethereum/_schema.yml @@ -105,7 +105,7 @@ models: tags: [ 'balancer', 'ethereum', 'amm', 'trades', 'dex' ] description: > DEX trades on balancer v1 on ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time diff --git a/dbt_subprojects/dex/models/_projects/balancer/trades/gnosis/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer/trades/gnosis/_schema.yml index 9c61182b8cd..7da8f746429 100644 --- a/dbt_subprojects/dex/models/_projects/balancer/trades/gnosis/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer/trades/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['balancer', 'gnosis', 'amm', 'trades', 'dex'] description: > DEX trades on balancer on gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/balancer/trades/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer/trades/optimism/_schema.yml index 326de06e009..0073007d63c 100644 --- a/dbt_subprojects/dex/models/_projects/balancer/trades/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer/trades/optimism/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['balancer', 'optimism', 'amm', 'trades', 'dex'] description: > DEX trades on balancer on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/balancer/trades/polygon/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer/trades/polygon/_schema.yml index 7691a4f0cc4..8d5cc1ca8c3 100644 --- a/dbt_subprojects/dex/models/_projects/balancer/trades/polygon/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer/trades/polygon/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['balancer', 'polygon', 'amm', 'trades', 'dex'] description: > DEX trades on balancer on polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/balancer/trades/zkevm/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer/trades/zkevm/_schema.yml index a4c86cbc3a6..4e643b3a7c1 100644 --- a/dbt_subprojects/dex/models/_projects/balancer/trades/zkevm/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer/trades/zkevm/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['balancer', 'zkevm', 'amm', 'trades', 'dex'] description: > DEX trades on balancer on zkevm - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/arbitrum/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/arbitrum/_schema.yml index 7fb5cb2ef08..1514d9368ee 100644 --- a/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/arbitrum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['balancer', 'cowswap', 'arbitrum', 'amm', 'trades'] description: "Trades on Balancer CoWSwap AMM pools" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -101,7 +101,7 @@ models: config: tags: ['labels', 'arbitrum', 'balancer', 'pools'] description: "Balancer CoWSwap AMM liquidity pools created on arbitrum." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/ethereum/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/ethereum/_schema.yml index 61538ab2b41..d88a53d0d85 100644 --- a/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/ethereum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['balancer', 'cowswap', 'ethereum', 'amm', 'trades'] description: "Trades on Balancer CoWSwap AMM pools" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -101,7 +101,7 @@ models: config: tags: ['labels', 'ethereum', 'balancer', 'pools'] description: "Balancer CoWSwap AMM liquidity pools created on Ethereum." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/gnosis/_schema.yml b/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/gnosis/_schema.yml index 6eb13143915..40152da05ff 100644 --- a/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/gnosis/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/balancer_cowswap_amm/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['balancer', 'cowswap', 'gnosis', 'amm', 'trades'] description: "Trades on Balancer CoWSwap AMM pools" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -101,7 +101,7 @@ models: config: tags: ['labels', 'gnosis', 'balancer', 'pools'] description: "Balancer CoWSwap AMM liquidity pools created on gnosis." - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/dex/models/_projects/bebop/arbitrum/_schema.yml b/dbt_subprojects/dex/models/_projects/bebop/arbitrum/_schema.yml index dc11a552272..a66c314bfe3 100644 --- a/dbt_subprojects/dex/models/_projects/bebop/arbitrum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/bebop/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'arbitrum','bebop','rfq','trades','dex' ] description: Bebop-RFQ contract trades on arbitrum - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -110,7 +110,7 @@ models: config: tags: [ 'arbitrum','bebop','jam','trades','dex' ] description: Bebop-JAM contract trades on arbitrum - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: config: tags: [ 'arbitrum','bebop','pmm','trades','dex', 'blend' ] description: Bebop-BLEND contract trades on arbitrum - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/bebop/base/_schema.yml b/dbt_subprojects/dex/models/_projects/bebop/base/_schema.yml index 5535d241fc9..bae79ab3033 100644 --- a/dbt_subprojects/dex/models/_projects/bebop/base/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/bebop/base/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'base','bebop','jam','trades','dex' ] description: Bebop-JAM contract trades on base - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -110,7 +110,7 @@ models: config: tags: [ 'base','bebop','pmm','trades','dex', 'blend' ] description: Bebop-BLEND contract trades on base - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/bebop/bnb/_schema.yml b/dbt_subprojects/dex/models/_projects/bebop/bnb/_schema.yml index 3d0ab6efb60..b616be789ab 100644 --- a/dbt_subprojects/dex/models/_projects/bebop/bnb/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/bebop/bnb/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'bnb','bebop','jam','trades','dex' ] description: Bebop-JAM contract trades on bnb - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/bebop/ethereum/_schema.yml b/dbt_subprojects/dex/models/_projects/bebop/ethereum/_schema.yml index 7a1b88751cb..325a79d7d85 100644 --- a/dbt_subprojects/dex/models/_projects/bebop/ethereum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/bebop/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'ethereum','bebop','rfq','trades','dex' ] description: Bebop-RFQ contract trades on ethereum - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -110,7 +110,7 @@ models: config: tags: [ 'ethereum','bebop','jam','trades','dex' ] description: Bebop-JAM contract trades on ethereum - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: config: tags: [ 'ethereum','bebop','pmm','trades','dex', 'blend' ] description: Bebop-BLEND contract trades on ethereum - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/bebop/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/bebop/optimism/_schema.yml index 653b4ada9a2..4889fe57cdf 100644 --- a/dbt_subprojects/dex/models/_projects/bebop/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/bebop/optimism/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'optimism','bebop','rfq','trades','dex' ] description: Bebop-RFQ contract trades on optimism - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -110,7 +110,7 @@ models: config: tags: [ 'optimism','bebop','jam','trades','dex' ] description: Bebop-JAM contract trades on optimism - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/bebop/polygon/_schema.yml b/dbt_subprojects/dex/models/_projects/bebop/polygon/_schema.yml index 87303c28b02..9c515504d84 100644 --- a/dbt_subprojects/dex/models/_projects/bebop/polygon/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/bebop/polygon/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'polygon','bebop','rfq','trades','dex' ] description: Bebop-RFQ contract trades on Polygon - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -110,7 +110,7 @@ models: config: tags: [ 'polygon','bebop','jam','trades','dex' ] description: Bebop-JAM contract trades on Polygon - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: config: tags: [ 'polygon','bebop','pmm','trades','dex', 'blend' ] description: Bebop-BLEND contract trades on polygon - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/bebop/scroll/_schema.yml b/dbt_subprojects/dex/models/_projects/bebop/scroll/_schema.yml index ecd92e26bbf..7f7524392eb 100644 --- a/dbt_subprojects/dex/models/_projects/bebop/scroll/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/bebop/scroll/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'scroll','bebop','jam','trades','dex' ] description: Bebop-JAM contract trades on scroll - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/bebop/zksync/_schema.yml b/dbt_subprojects/dex/models/_projects/bebop/zksync/_schema.yml index 97571db4f14..5c1df984077 100644 --- a/dbt_subprojects/dex/models/_projects/bebop/zksync/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/bebop/zksync/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'zksync','bebop','jam','trades','dex' ] description: Bebop-JAM contract trades on zksync - formatted for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/beethoven_x/_schema.yml b/dbt_subprojects/dex/models/_projects/beethoven_x/_schema.yml index bfc9021bb99..a876f1d51bc 100644 --- a/dbt_subprojects/dex/models/_projects/beethoven_x/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/beethoven_x/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['fantom', 'balancer', 'pools_fees'] description: > Beethoven X swap fees stored at the pool level. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -23,7 +23,7 @@ models: - &contract_address name: contract_address description: 'fantom address for the liquidity pool used in transaction' - tests: + data_tests: - not_null - &tx_hash name: tx_hash @@ -31,12 +31,12 @@ models: - &index name: index description: '' - tests: + data_tests: - not_null - &tx_index name: tx_index description: '' - tests: + data_tests: - not_null - &block_time name: block_time @@ -44,10 +44,10 @@ models: - &block_number name: block_number description: 'Block number' - tests: + data_tests: - not_null - &swap_fee_percentage name: swap_fee_percentage description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: + data_tests: - not_null \ No newline at end of file diff --git a/dbt_subprojects/dex/models/_projects/cow_protocol/_schema.yml b/dbt_subprojects/dex/models/_projects/cow_protocol/_schema.yml index 3fe644f02d4..958a9d028d5 100644 --- a/dbt_subprojects/dex/models/_projects/cow_protocol/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/cow_protocol/_schema.yml @@ -95,7 +95,7 @@ models: tags: ['arbitrum','cow_protocol','trades', 'dex', 'aggregator'] description: > CoW Protocol enriched trades list on Arbitrum Chain - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -172,7 +172,7 @@ models: tags: ['ethereum','cow_protocol','trades', 'dex', 'aggregator'] description: > CoW Protocol enriched trades list on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -256,7 +256,7 @@ models: tags: ['gnosis','cow_protocol','trades', 'dex', 'aggregator'] description: > CoW Protocol enriched trades list on Gnosis Chain - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/_projects/curvefi/celo/_schema.yml b/dbt_subprojects/dex/models/_projects/curvefi/celo/_schema.yml index 49e9fc27001..209f4fdfba0 100644 --- a/dbt_subprojects/dex/models/_projects/curvefi/celo/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/curvefi/celo/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['celo','curvefi','curve','dex'] description: > A table containing all known pools of curvefi on Celo. Additional types should be monitored to ensure they're accurately shown. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - version @@ -21,20 +21,20 @@ models: - &version name: version description: "Versions of the pool: Basic Pool, Meta Pool, etc" - tests: + data_tests: - not_null - &tokenid name: tokenid description: "ID of the token in the pool" - tests: + data_tests: - not_null - &token name: token description: "Token Address" - tests: + data_tests: - not_null - &pool name: pool description: "Pool contract address" - tests: + data_tests: - not_null diff --git a/dbt_subprojects/dex/models/_projects/curvefi/ethereum/_schema.yml b/dbt_subprojects/dex/models/_projects/curvefi/ethereum/_schema.yml index df369f8b544..effdb54fd93 100644 --- a/dbt_subprojects/dex/models/_projects/curvefi/ethereum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/curvefi/ethereum/_schema.yml @@ -14,22 +14,22 @@ models: - &version_pool name: version description: "Versions of the pool: Regular, Factory V1 Plain, Factory V1 Meta, Factory V2" - tests: + data_tests: - not_null - &name name: name description: "Pool name" - tests: + data_tests: - not_null - &symbol name: symbol description: "Pool symbol" - tests: + data_tests: - not_null - &pool_address name: pool_address description: "Address for the pool" - tests: + data_tests: - unique - not_null - &token_address diff --git a/dbt_subprojects/dex/models/_projects/curvefi/fantom/_schema.yml b/dbt_subprojects/dex/models/_projects/curvefi/fantom/_schema.yml index 2a37c9ae745..d488b6677b0 100644 --- a/dbt_subprojects/dex/models/_projects/curvefi/fantom/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/curvefi/fantom/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['fantom','pool_tokens', 'curvefi','dex'] description: > Curvefi underlying tokens for token_exchange_underlying event - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/dex/models/_projects/curvefi/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/curvefi/optimism/_schema.yml index 3eaf8b43999..a6a30cd43e2 100644 --- a/dbt_subprojects/dex/models/_projects/curvefi/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/curvefi/optimism/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism','curve','dex'] description: > A table containing all known pools of curve on optimism (i.e. metapool, basicpool). Additional types should be monitored to ensure they're accurately shown. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - version @@ -21,20 +21,20 @@ models: - &version name: version description: "Versions of the pool: Basic Pool, Meta Pool, etc" - tests: + data_tests: - not_null - &tokenid name: tokenid description: "ID of the token in the pool" - tests: + data_tests: - not_null - &token name: token description: "Token Address" - tests: + data_tests: - not_null - &pool name: pool description: "Pool contract address" - tests: + data_tests: - not_null \ No newline at end of file diff --git a/dbt_subprojects/dex/models/_projects/dodo/_schema.yml b/dbt_subprojects/dex/models/_projects/dodo/_schema.yml index 9cd933b6ea7..9d024132056 100644 --- a/dbt_subprojects/dex/models/_projects/dodo/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/dodo/_schema.yml @@ -19,7 +19,7 @@ models: description: "Project name of the DEX (specify: DODO)" - name: version description: "Version of dodo contracts (0 - dodo_aggregator, 1 - DODOV1, 2_dvm - DODOV2 public pool, 2_dsp - DODOV2 stable pool, 2_dpp - DODOV2 private pool)" - tests: + data_tests: - dbt_utils.expression_is_true: expression: "= '0'" - &block_date diff --git a/dbt_subprojects/dex/models/_projects/dodo/arbitrum/_schema.yml b/dbt_subprojects/dex/models/_projects/dodo/arbitrum/_schema.yml index 1a727f6edc0..07a3466f368 100644 --- a/dbt_subprojects/dex/models/_projects/dodo/arbitrum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/dodo/arbitrum/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['arbitrum', 'dodo', 'aggregator', 'trades', 'dex'] description: > DODO Aggregation on Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/dodo/base/_schema.yml b/dbt_subprojects/dex/models/_projects/dodo/base/_schema.yml index 233366a79f6..4e60418afa4 100644 --- a/dbt_subprojects/dex/models/_projects/dodo/base/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/dodo/base/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base', 'dodo', 'aggregator', 'trades', 'dex'] description: > DODO Aggregation on BASE. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/dodo/bnb/_schema.yml b/dbt_subprojects/dex/models/_projects/dodo/bnb/_schema.yml index ec305f9873e..bf7b15a9583 100644 --- a/dbt_subprojects/dex/models/_projects/dodo/bnb/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/dodo/bnb/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['bnb', 'dodo', 'aggregator', 'trades', 'dex'] description: > DODO Aggregation on BNBChain. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/dodo/ethereum/_schema.yml b/dbt_subprojects/dex/models/_projects/dodo/ethereum/_schema.yml index ee2a46a6613..75101293d02 100644 --- a/dbt_subprojects/dex/models/_projects/dodo/ethereum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/dodo/ethereum/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['ethereum','dodo',"aggregator", 'trades', 'dex'] description: > DODO Aggregation on Ethereum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/dodo/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/dodo/optimism/_schema.yml index 7886297fd57..be5084dbce3 100644 --- a/dbt_subprojects/dex/models/_projects/dodo/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/dodo/optimism/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'dodo', 'aggregator', 'trades', 'dex'] description: > DODO Aggregation on Optimism. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/dodo/polygon/_schema.yml b/dbt_subprojects/dex/models/_projects/dodo/polygon/_schema.yml index c87238889f2..e46ddbe1408 100644 --- a/dbt_subprojects/dex/models/_projects/dodo/polygon/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/dodo/polygon/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['polygon', 'dodo', 'aggregator', 'trades', 'dex'] description: > DODO Aggregation on Polygon. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/ellipsis_finance/_schema.yml b/dbt_subprojects/dex/models/_projects/ellipsis_finance/_schema.yml index fa2d567f110..4c2bb1a62ad 100644 --- a/dbt_subprojects/dex/models/_projects/ellipsis_finance/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/ellipsis_finance/_schema.yml @@ -11,7 +11,7 @@ models: tags: ["bnb", "pool_tokens", "ellipsis", "dex"] description: > Ellipsis underlying tokens for token_exchange_underlying event - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/dex/models/_projects/equalizer/fantom/_schema.yml b/dbt_subprojects/dex/models/_projects/equalizer/fantom/_schema.yml index c8a586c89fc..52f80986732 100644 --- a/dbt_subprojects/dex/models/_projects/equalizer/fantom/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/equalizer/fantom/_schema.yml @@ -22,7 +22,7 @@ models: description: "Version of the contract built and deployed by the DEX project" - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" diff --git a/dbt_subprojects/dex/models/_projects/firebird_finance/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/firebird_finance/optimism/_schema.yml index 94b10960ae3..519e40c1653 100644 --- a/dbt_subprojects/dex/models/_projects/firebird_finance/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/firebird_finance/optimism/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism','trades', 'firebird_finance','dex'] description: > firebird_finance dex trades on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -108,7 +108,7 @@ models: tags: [ 'optimism','trades', 'firebird_finance','dex' ] description: > firebird_finance dex base trades on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/gamma/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/gamma/optimism/_schema.yml index 5c46f20b3c2..5c51ba4fe45 100644 --- a/dbt_subprojects/dex/models/_projects/gamma/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/gamma/optimism/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism','uniswap','gamma','pools'] description: > A canonical table containing Uniswap mappings for known Gamma pools created on Optimism. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address diff --git a/dbt_subprojects/dex/models/_projects/jelly_swap/_schema.yml b/dbt_subprojects/dex/models/_projects/jelly_swap/_schema.yml index 386af386923..99ac41ea512 100644 --- a/dbt_subprojects/dex/models/_projects/jelly_swap/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/jelly_swap/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['sei', 'jelly_swap', 'pools_fees'] description: > JellySwap swap fees stored at the pool level. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -23,7 +23,7 @@ models: - &contract_address name: contract_address description: 'sei address for the liquidity pool used in transaction' - tests: + data_tests: - not_null - &tx_hash name: tx_hash @@ -31,12 +31,12 @@ models: - &index name: index description: '' - tests: + data_tests: - not_null - &tx_index name: tx_index description: '' - tests: + data_tests: - not_null - &block_time name: block_time @@ -44,10 +44,10 @@ models: - &block_number name: block_number description: 'Block number' - tests: + data_tests: - not_null - &swap_fee_percentage name: swap_fee_percentage description: 'Swap fees for the pool, values are returned with 18 decimals (1e18 meaning 100%)' - tests: + data_tests: - not_null \ No newline at end of file diff --git a/dbt_subprojects/dex/models/_projects/kyberswap/arbitrum/_schema.yml b/dbt_subprojects/dex/models/_projects/kyberswap/arbitrum/_schema.yml index 5bbb3414af4..04a02b78857 100644 --- a/dbt_subprojects/dex/models/_projects/kyberswap/arbitrum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/kyberswap/arbitrum/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['arbitrum', 'kyberswap', 'aggregator', 'trades', 'dex'] description: > Kyberswap Aggregator on Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/kyberswap/avalanche_c/_schema.yml b/dbt_subprojects/dex/models/_projects/kyberswap/avalanche_c/_schema.yml index e694503a3ae..5be66259867 100644 --- a/dbt_subprojects/dex/models/_projects/kyberswap/avalanche_c/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/kyberswap/avalanche_c/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['avalanche_c', 'kyberswap', 'aggregator', 'trades', 'dex'] description: > Kyberswap Aggregator on Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/kyberswap/base/_schema.yml b/dbt_subprojects/dex/models/_projects/kyberswap/base/_schema.yml index 1054dd1feae..cda90d2c2d8 100644 --- a/dbt_subprojects/dex/models/_projects/kyberswap/base/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/kyberswap/base/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base', 'kyberswap', 'aggregator', 'trades', 'dex'] description: > Kyberswap Aggregator on base. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/kyberswap/bnb/_schema.yml b/dbt_subprojects/dex/models/_projects/kyberswap/bnb/_schema.yml index 79d4c23c0f6..cf96900005d 100644 --- a/dbt_subprojects/dex/models/_projects/kyberswap/bnb/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/kyberswap/bnb/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['bnb', 'kyberswap', 'aggregator', 'trades', 'dex'] description: > Kyberswap Aggregator on bnb. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/kyberswap/ethereum/_schema.yml b/dbt_subprojects/dex/models/_projects/kyberswap/ethereum/_schema.yml index a258d950816..c6d0001f466 100644 --- a/dbt_subprojects/dex/models/_projects/kyberswap/ethereum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/kyberswap/ethereum/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['ethereum', 'kyberswap', 'aggregator', 'trades', 'dex'] description: > Kyberswap Aggregator on Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/kyberswap/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/kyberswap/optimism/_schema.yml index 7c70a7f7035..f26687997ab 100644 --- a/dbt_subprojects/dex/models/_projects/kyberswap/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/kyberswap/optimism/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'kyberswap', 'aggregator', 'trades', 'dex'] description: > Kyberswap Aggregator on optimism. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/kyberswap/polygon/_schema.yml b/dbt_subprojects/dex/models/_projects/kyberswap/polygon/_schema.yml index 40fe6b858f1..c2f4f483cff 100644 --- a/dbt_subprojects/dex/models/_projects/kyberswap/polygon/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/kyberswap/polygon/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['polygon', 'kyberswap', 'aggregator', 'trades', 'dex'] description: > Kyberswap Aggregator on polygon. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/lifi/fantom/_schema.yml b/dbt_subprojects/dex/models/_projects/lifi/fantom/_schema.yml index dca0d119c25..b50cc9d95d9 100644 --- a/dbt_subprojects/dex/models/_projects/lifi/fantom/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/lifi/fantom/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['fantom','lifi_v2','trades', 'lifi','dex'] description: > lifi v2 contract aggregator trades on fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/lifi/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/lifi/optimism/_schema.yml index 7fd22619823..b7ef9f7e324 100644 --- a/dbt_subprojects/dex/models/_projects/lifi/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/lifi/optimism/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism','lifi_v2','trades', 'lifi','dex'] description: > lifi v2 contract aggregator trades on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/mento/celo/_schema.yml b/dbt_subprojects/dex/models/_projects/mento/celo/_schema.yml index 57c36591177..f6f4140b950 100644 --- a/dbt_subprojects/dex/models/_projects/mento/celo/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/mento/celo/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['celo', 'mento', 'dex', 'pools'] description: > Mento DEX pools - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address diff --git a/dbt_subprojects/dex/models/_projects/odos/arbitrum/_schema.yml b/dbt_subprojects/dex/models/_projects/odos/arbitrum/_schema.yml index 2f32263178e..fd2f316f7c7 100644 --- a/dbt_subprojects/dex/models/_projects/odos/arbitrum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/odos/arbitrum/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['arbitrum','trades', 'odos','dex'] description: > A table containing all trades of odos v1 on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -109,7 +109,7 @@ models: tags: ['arbitrum','trades', 'odos','dex'] description: > A table containing all trades of odos v2 on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/odos/avalanche_c/_schema.yml b/dbt_subprojects/dex/models/_projects/odos/avalanche_c/_schema.yml index 6866ac08d6a..af888ca6a46 100644 --- a/dbt_subprojects/dex/models/_projects/odos/avalanche_c/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/odos/avalanche_c/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['avalanche_c','trades', 'dfx','dex'] description: > odos aggregator trades on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/odos/base/_schema.yml b/dbt_subprojects/dex/models/_projects/odos/base/_schema.yml index 097bcef3bd4..f93020b2bd0 100644 --- a/dbt_subprojects/dex/models/_projects/odos/base/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/odos/base/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base','trades', 'odos','dex'] description: > A table containing all trades of odos v2 on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/odos/ethereum/_schema.yml b/dbt_subprojects/dex/models/_projects/odos/ethereum/_schema.yml index 4bda9bdad59..905e6c7ecb5 100644 --- a/dbt_subprojects/dex/models/_projects/odos/ethereum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/odos/ethereum/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['ethereum','trades', 'odos','dex'] description: > A table containing all trades of odos v2 on ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/odos/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/odos/optimism/_schema.yml index 1f2c01d374f..ed8c22c6d18 100644 --- a/dbt_subprojects/dex/models/_projects/odos/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/odos/optimism/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism','trades', 'odos','dex'] description: > A table containing all trades of odos v1 on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -109,7 +109,7 @@ models: tags: ['optimism','trades', 'odos','dex'] description: > A table containing all trades of odos v2 on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/oneinch/_schema.yml b/dbt_subprojects/dex/models/_projects/oneinch/_schema.yml index 8b8262bde46..f0ab8697fc2 100644 --- a/dbt_subprojects/dex/models/_projects/oneinch/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/oneinch/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['oneinch', 'lop', 'calls'] description: > 1inch limit order protocol calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -18,12 +18,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -38,7 +38,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -81,7 +81,7 @@ models: tags: ['oneinch', 'ar', 'calls'] description: > 1inch aggregation router calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -89,12 +89,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -109,7 +109,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -142,7 +142,7 @@ models: 1inch blockchains meta columns: - name: blockchain - tests: + data_tests: - not_null - unique - name: chain_id @@ -162,7 +162,7 @@ models: tags: ['oneinch', 'raw'] description: > all calls of 1inch aggregation router & limit order protocol - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -170,12 +170,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -190,7 +190,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -246,7 +246,7 @@ models: tags: ['oneinch', 'calls', 'transfers'] description: > transfers within calls of 1inch aggregation router & limit order protocol - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -258,15 +258,15 @@ models: - transfer_native columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: call_trace_address - tests: + data_tests: - not_null - name: dst_blockchain - name: hashlock @@ -275,20 +275,20 @@ models: - name: result_method - name: result_amount - name: transfer_blockchain - tests: + data_tests: - not_null - name: transfer_block_number - name: transfer_block_time - name: transfer_tx_hash - tests: + data_tests: - not_null - name: transfer_trace_address - tests: + data_tests: - not_null - name: contract_address - name: amount - name: transfer_native - tests: + data_tests: - not_null - name: transfer_from - name: transfer_to @@ -307,12 +307,12 @@ models: 1inch swaps - all user exchanges using 1inch aggregation router & limit order protocol columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -325,7 +325,7 @@ models: - name: protocol_version - name: method - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -338,7 +338,7 @@ models: - name: second_side - name: order_hash - name: flags - tests: + data_tests: - not_null - name: remains - name: src_token_address @@ -366,7 +366,7 @@ models: - name: block_month - name: swap_id - name: unique_key - tests: + data_tests: - unique - not_null @@ -379,7 +379,7 @@ models: tags: ['oneinch', 'lop', 'trades'] description: > 1inch limit order protocol trades - special for dex.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -387,7 +387,7 @@ models: - evt_index columns: - name: blockchain - tests: + data_tests: - not_null - name: project - name: version @@ -409,12 +409,12 @@ models: - name: maker - name: project_contract_address - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to - name: evt_index - tests: + data_tests: - not_null - name: oneinch_ar_trades @@ -426,7 +426,7 @@ models: tags: ['oneinch', 'ar', 'trades'] description: > 1inch aggregation router trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -434,7 +434,7 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: project - name: version @@ -455,12 +455,12 @@ models: - name: maker - name: project_contract_address - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to - name: trace_address - tests: + data_tests: - not_null - name: evt_index @@ -473,14 +473,14 @@ models: tags: ['oneinch', 'metadata'] description: > fusion resolvers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address - last_changed_at columns: - name: address - tests: + data_tests: - not_null - name: name - name: status @@ -496,7 +496,7 @@ models: tags: ['oneinch', 'metadata'] description: > fusion resolvers and executors - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - chain_id @@ -504,13 +504,13 @@ models: - resolver_executor columns: - name: resolver_address - tests: + data_tests: - not_null - name: resolver_executor - tests: + data_tests: - not_null - name: chain_id - tests: + data_tests: - not_null - name: mode - name: first_promoted_at @@ -525,14 +525,14 @@ models: tags: ['oneinch', 'metadata'] description: > fusion farms - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - resolver_address - farm_address columns: - name: resolver_address - tests: + data_tests: - not_null - name: resolver_name - name: resolver_status @@ -540,7 +540,7 @@ models: - name: resolver_kyc - name: resolver_registered_delegatee_at - name: farm_address - tests: + data_tests: - not_null - name: farm_ownership_transferred_at - name: farm_last_created_at @@ -557,17 +557,17 @@ models: tags: ['oneinch', 'metadata'] description: > fusion resolvers EOA - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address - blockchain columns: - name: blockchain - tests: + data_tests: - not_null - name: address - tests: + data_tests: - not_null - name: resolver_name - name: resolver_address @@ -581,7 +581,7 @@ models: tags: ['oneinch', 'cross-chain'] description: > escrow results - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -589,15 +589,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: escrow - name: hashlock @@ -622,7 +622,7 @@ models: tags: ['oneinch', 'internal'] description: > escrow dst creations - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -630,15 +630,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: factory - name: escrow diff --git a/dbt_subprojects/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_schema.yml b/dbt_subprojects/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_schema.yml index 5e13d2f0685..d0f0c8d06c0 100644 --- a/dbt_subprojects/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_schema.yml +++ b/dbt_subprojects/dex/models/_projects/oneinch/arbitrum/oneinch_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['oneinch', 'lop', 'calls'] description: > 1inch limit order protocol calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -18,12 +18,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -38,7 +38,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -82,7 +82,7 @@ models: tags: ['oneinch', 'ar', 'calls'] description: > 1inch aggregation router calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -90,12 +90,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -110,7 +110,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -142,7 +142,7 @@ models: tags: ['oneinch', 'calls'] description: > 1inch transfers within calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -154,15 +154,15 @@ models: - transfer_native columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: call_trace_address - tests: + data_tests: - not_null - name: dst_blockchain - name: hashlock @@ -171,20 +171,20 @@ models: - name: result_method - name: result_amount - name: transfer_blockchain - tests: + data_tests: - not_null - name: transfer_block_number - name: transfer_block_time - name: transfer_tx_hash - tests: + data_tests: - not_null - name: transfer_trace_address - tests: + data_tests: - not_null - name: contract_address - name: amount - name: transfer_native - tests: + data_tests: - not_null - name: transfer_from - name: transfer_to @@ -201,7 +201,7 @@ models: tags: ['oneinch', 'cross-chain'] description: > escrow results - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -209,15 +209,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: escrow - name: hashlock diff --git a/dbt_subprojects/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml b/dbt_subprojects/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml index 16e6ae67c90..59ad13f61b6 100644 --- a/dbt_subprojects/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml +++ b/dbt_subprojects/dex/models/_projects/oneinch/avalanche_c/oneinch_avalanche_c_schema.yml @@ -10,7 +10,7 @@ models: tags: ['oneinch', 'lop', 'calls'] description: > 1inch limit order protocol calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -18,12 +18,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -38,7 +38,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -82,7 +82,7 @@ models: tags: ['oneinch', 'ar', 'calls'] description: > 1inch aggregation router calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -90,12 +90,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -110,7 +110,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -142,7 +142,7 @@ models: tags: ['oneinch', 'calls'] description: > 1inch transfers within calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -154,15 +154,15 @@ models: - transfer_native columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: call_trace_address - tests: + data_tests: - not_null - name: dst_blockchain - name: hashlock @@ -171,20 +171,20 @@ models: - name: result_method - name: result_amount - name: transfer_blockchain - tests: + data_tests: - not_null - name: transfer_block_number - name: transfer_block_time - name: transfer_tx_hash - tests: + data_tests: - not_null - name: transfer_trace_address - tests: + data_tests: - not_null - name: contract_address - name: amount - name: transfer_native - tests: + data_tests: - not_null - name: transfer_from - name: transfer_to @@ -201,7 +201,7 @@ models: tags: ['oneinch', 'cross-chain'] description: > escrow results - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -209,15 +209,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: escrow - name: hashlock diff --git a/dbt_subprojects/dex/models/_projects/oneinch/base/oneinch_base_schema.yml b/dbt_subprojects/dex/models/_projects/oneinch/base/oneinch_base_schema.yml index e6d652ba4ea..b02f495e86f 100644 --- a/dbt_subprojects/dex/models/_projects/oneinch/base/oneinch_base_schema.yml +++ b/dbt_subprojects/dex/models/_projects/oneinch/base/oneinch_base_schema.yml @@ -10,7 +10,7 @@ models: tags: ['oneinch', 'lop', 'calls'] description: > 1inch limit order protocol calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -18,12 +18,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -38,7 +38,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -82,7 +82,7 @@ models: tags: ['oneinch', 'ar', 'calls'] description: > 1inch aggregation router calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -90,12 +90,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -110,7 +110,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -142,7 +142,7 @@ models: tags: ['oneinch', 'calls'] description: > 1inch transfers within calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -154,15 +154,15 @@ models: - transfer_native columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: call_trace_address - tests: + data_tests: - not_null - name: dst_blockchain - name: hashlock @@ -171,20 +171,20 @@ models: - name: result_method - name: result_amount - name: transfer_blockchain - tests: + data_tests: - not_null - name: transfer_block_number - name: transfer_block_time - name: transfer_tx_hash - tests: + data_tests: - not_null - name: transfer_trace_address - tests: + data_tests: - not_null - name: contract_address - name: amount - name: transfer_native - tests: + data_tests: - not_null - name: transfer_from - name: transfer_to @@ -201,7 +201,7 @@ models: tags: ['oneinch', 'cross-chain'] description: > escrow results - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -209,15 +209,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: escrow - name: hashlock diff --git a/dbt_subprojects/dex/models/_projects/oneinch/bnb/oneinch_bnb_schema.yml b/dbt_subprojects/dex/models/_projects/oneinch/bnb/oneinch_bnb_schema.yml index b99571977f0..7e8a1f4dc45 100644 --- a/dbt_subprojects/dex/models/_projects/oneinch/bnb/oneinch_bnb_schema.yml +++ b/dbt_subprojects/dex/models/_projects/oneinch/bnb/oneinch_bnb_schema.yml @@ -10,7 +10,7 @@ models: tags: ['oneinch', 'lop', 'calls'] description: > 1inch limit order protocol calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -18,12 +18,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -38,7 +38,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -82,7 +82,7 @@ models: tags: ['oneinch', 'ar', 'calls'] description: > 1inch aggregation router calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -90,12 +90,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -110,7 +110,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -142,7 +142,7 @@ models: tags: ['oneinch', 'calls'] description: > 1inch transfers within calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -154,15 +154,15 @@ models: - transfer_native columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: call_trace_address - tests: + data_tests: - not_null - name: dst_blockchain - name: hashlock @@ -171,20 +171,20 @@ models: - name: result_method - name: result_amount - name: transfer_blockchain - tests: + data_tests: - not_null - name: transfer_block_number - name: transfer_block_time - name: transfer_tx_hash - tests: + data_tests: - not_null - name: transfer_trace_address - tests: + data_tests: - not_null - name: contract_address - name: amount - name: transfer_native - tests: + data_tests: - not_null - name: transfer_from - name: transfer_to @@ -201,7 +201,7 @@ models: tags: ['oneinch', 'cross-chain'] description: > escrow results - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -209,15 +209,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: escrow - name: hashlock diff --git a/dbt_subprojects/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml b/dbt_subprojects/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml index 1ffa85656f3..0cd9e3a39f1 100644 --- a/dbt_subprojects/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml +++ b/dbt_subprojects/dex/models/_projects/oneinch/ethereum/oneinch_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['oneinch', 'lop', 'calls'] description: > 1inch limit order protocol calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -18,12 +18,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -38,7 +38,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -82,7 +82,7 @@ models: tags: ['oneinch', 'ar', 'calls'] description: > 1inch aggregation router calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -90,12 +90,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -110,7 +110,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -142,7 +142,7 @@ models: tags: ['oneinch', 'calls'] description: > 1inch transfers within calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -154,15 +154,15 @@ models: - transfer_native columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: call_trace_address - tests: + data_tests: - not_null - name: dst_blockchain - name: hashlock @@ -171,20 +171,20 @@ models: - name: result_method - name: result_amount - name: transfer_blockchain - tests: + data_tests: - not_null - name: transfer_block_number - name: transfer_block_time - name: transfer_tx_hash - tests: + data_tests: - not_null - name: transfer_trace_address - tests: + data_tests: - not_null - name: contract_address - name: amount - name: transfer_native - tests: + data_tests: - not_null - name: transfer_from - name: transfer_to @@ -201,7 +201,7 @@ models: tags: ['oneinch', 'cross-chain'] description: > escrow results - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -209,15 +209,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: escrow - name: hashlock diff --git a/dbt_subprojects/dex/models/_projects/oneinch/fantom/oneinch_fantom_schema.yml b/dbt_subprojects/dex/models/_projects/oneinch/fantom/oneinch_fantom_schema.yml index 3e5883f5e22..ad430f7747b 100644 --- a/dbt_subprojects/dex/models/_projects/oneinch/fantom/oneinch_fantom_schema.yml +++ b/dbt_subprojects/dex/models/_projects/oneinch/fantom/oneinch_fantom_schema.yml @@ -10,7 +10,7 @@ models: tags: ['oneinch', 'lop', 'calls'] description: > 1inch limit order protocol calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -18,12 +18,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -38,7 +38,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -82,7 +82,7 @@ models: tags: ['oneinch', 'ar', 'calls'] description: > 1inch aggregation router calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -90,12 +90,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -110,7 +110,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -142,7 +142,7 @@ models: tags: ['oneinch', 'calls'] description: > 1inch transfers within calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -154,15 +154,15 @@ models: - transfer_native columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: call_trace_address - tests: + data_tests: - not_null - name: dst_blockchain - name: hashlock @@ -171,20 +171,20 @@ models: - name: result_method - name: result_amount - name: transfer_blockchain - tests: + data_tests: - not_null - name: transfer_block_number - name: transfer_block_time - name: transfer_tx_hash - tests: + data_tests: - not_null - name: transfer_trace_address - tests: + data_tests: - not_null - name: contract_address - name: amount - name: transfer_native - tests: + data_tests: - not_null - name: transfer_from - name: transfer_to @@ -201,7 +201,7 @@ models: tags: ['oneinch', 'cross-chain'] description: > escrow results - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -209,15 +209,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: escrow - name: hashlock diff --git a/dbt_subprojects/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_schema.yml b/dbt_subprojects/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_schema.yml index 5b5950040df..4e2930f6913 100644 --- a/dbt_subprojects/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_schema.yml +++ b/dbt_subprojects/dex/models/_projects/oneinch/gnosis/oneinch_gnosis_schema.yml @@ -10,7 +10,7 @@ models: tags: ['oneinch', 'lop', 'calls'] description: > 1inch limit order protocol calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -18,12 +18,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -38,7 +38,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -82,7 +82,7 @@ models: tags: ['oneinch', 'ar', 'calls'] description: > 1inch aggregation router calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -90,12 +90,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -110,7 +110,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -142,7 +142,7 @@ models: tags: ['oneinch', 'calls'] description: > 1inch transfers within calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -154,15 +154,15 @@ models: - transfer_native columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: call_trace_address - tests: + data_tests: - not_null - name: dst_blockchain - name: hashlock @@ -171,20 +171,20 @@ models: - name: result_method - name: result_amount - name: transfer_blockchain - tests: + data_tests: - not_null - name: transfer_block_number - name: transfer_block_time - name: transfer_tx_hash - tests: + data_tests: - not_null - name: transfer_trace_address - tests: + data_tests: - not_null - name: contract_address - name: amount - name: transfer_native - tests: + data_tests: - not_null - name: transfer_from - name: transfer_to @@ -201,7 +201,7 @@ models: tags: ['oneinch', 'cross-chain'] description: > escrow results - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -209,15 +209,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: escrow - name: hashlock diff --git a/dbt_subprojects/dex/models/_projects/oneinch/optimism/oneinch_optimism_schema.yml b/dbt_subprojects/dex/models/_projects/oneinch/optimism/oneinch_optimism_schema.yml index a5bed3af8c4..2ecd63076bb 100644 --- a/dbt_subprojects/dex/models/_projects/oneinch/optimism/oneinch_optimism_schema.yml +++ b/dbt_subprojects/dex/models/_projects/oneinch/optimism/oneinch_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['oneinch', 'lop', 'calls'] description: > 1inch limit order protocol calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -18,12 +18,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -38,7 +38,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -82,7 +82,7 @@ models: tags: ['oneinch', 'ar', 'calls'] description: > 1inch aggregation router calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -90,12 +90,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -110,7 +110,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -142,7 +142,7 @@ models: tags: ['oneinch', 'calls'] description: > 1inch transfers within calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -154,15 +154,15 @@ models: - transfer_native columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: call_trace_address - tests: + data_tests: - not_null - name: dst_blockchain - name: hashlock @@ -171,20 +171,20 @@ models: - name: result_method - name: result_amount - name: transfer_blockchain - tests: + data_tests: - not_null - name: transfer_block_number - name: transfer_block_time - name: transfer_tx_hash - tests: + data_tests: - not_null - name: transfer_trace_address - tests: + data_tests: - not_null - name: contract_address - name: amount - name: transfer_native - tests: + data_tests: - not_null - name: transfer_from - name: transfer_to @@ -201,7 +201,7 @@ models: tags: ['oneinch', 'cross-chain'] description: > escrow results - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -209,15 +209,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: escrow - name: hashlock diff --git a/dbt_subprojects/dex/models/_projects/oneinch/polygon/oneinch_polygon_schema.yml b/dbt_subprojects/dex/models/_projects/oneinch/polygon/oneinch_polygon_schema.yml index fdf215a5e75..3d77e7f4205 100644 --- a/dbt_subprojects/dex/models/_projects/oneinch/polygon/oneinch_polygon_schema.yml +++ b/dbt_subprojects/dex/models/_projects/oneinch/polygon/oneinch_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: ['oneinch', 'lop', 'calls'] description: > 1inch limit order protocol calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -18,12 +18,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -38,7 +38,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -82,7 +82,7 @@ models: tags: ['oneinch', 'ar', 'calls'] description: > 1inch aggregation router calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -90,12 +90,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -110,7 +110,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -142,7 +142,7 @@ models: tags: ['oneinch', 'calls'] description: > 1inch transfers within calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -154,15 +154,15 @@ models: - transfer_native columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: call_trace_address - tests: + data_tests: - not_null - name: dst_blockchain - name: hashlock @@ -171,20 +171,20 @@ models: - name: result_method - name: result_amount - name: transfer_blockchain - tests: + data_tests: - not_null - name: transfer_block_number - name: transfer_block_time - name: transfer_tx_hash - tests: + data_tests: - not_null - name: transfer_trace_address - tests: + data_tests: - not_null - name: contract_address - name: amount - name: transfer_native - tests: + data_tests: - not_null - name: transfer_from - name: transfer_to @@ -201,7 +201,7 @@ models: tags: ['oneinch', 'cross-chain'] description: > escrow results - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -209,15 +209,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: escrow - name: hashlock diff --git a/dbt_subprojects/dex/models/_projects/oneinch/zksync/oneinch_zksync_schema.yml b/dbt_subprojects/dex/models/_projects/oneinch/zksync/oneinch_zksync_schema.yml index feda1a145f3..8472cdd781d 100644 --- a/dbt_subprojects/dex/models/_projects/oneinch/zksync/oneinch_zksync_schema.yml +++ b/dbt_subprojects/dex/models/_projects/oneinch/zksync/oneinch_zksync_schema.yml @@ -10,7 +10,7 @@ models: tags: ['oneinch', 'lop', 'calls'] description: > 1inch limit order protocol calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -18,12 +18,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -38,7 +38,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -82,7 +82,7 @@ models: tags: ['oneinch', 'ar', 'calls'] description: > 1inch aggregation router calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -90,12 +90,12 @@ models: - call_trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: tx_from - name: tx_to @@ -110,7 +110,7 @@ models: - name: method - name: call_selector - name: call_trace_address - tests: + data_tests: - not_null - name: call_from - name: call_to @@ -142,7 +142,7 @@ models: tags: ['oneinch', 'calls'] description: > 1inch transfers within calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -154,15 +154,15 @@ models: - transfer_native columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: call_trace_address - tests: + data_tests: - not_null - name: dst_blockchain - name: hashlock @@ -171,20 +171,20 @@ models: - name: result_method - name: result_amount - name: transfer_blockchain - tests: + data_tests: - not_null - name: transfer_block_number - name: transfer_block_time - name: transfer_tx_hash - tests: + data_tests: - not_null - name: transfer_trace_address - tests: + data_tests: - not_null - name: contract_address - name: amount - name: transfer_native - tests: + data_tests: - not_null - name: transfer_from - name: transfer_to @@ -201,7 +201,7 @@ models: tags: ['oneinch', 'cross-chain'] description: > escrow results - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -209,15 +209,15 @@ models: - trace_address columns: - name: blockchain - tests: + data_tests: - not_null - name: block_number - name: block_time - name: tx_hash - tests: + data_tests: - not_null - name: trace_address - tests: + data_tests: - not_null - name: escrow - name: hashlock diff --git a/dbt_subprojects/dex/models/_projects/paraswap/arbitrum/_schema.yml b/dbt_subprojects/dex/models/_projects/paraswap/arbitrum/_schema.yml index 18f71f9ec1e..018c9447539 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/arbitrum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/paraswap/arbitrum/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['arbitrum','paraswap_v5','trades', 'paraswap','dex'] description: > Paraswap V5 contract aggregator trades on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -106,7 +106,7 @@ models: tags: ['arbitrum','paraswap_v6','trades', 'paraswap','dex'] description: > Paraswap V6 contract aggregator trades on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -188,7 +188,7 @@ models: - name: paraswap_v6_arbitrum_trades_decoded description: "Paraswap V6 trades decoded" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - call_tx_hash diff --git a/dbt_subprojects/dex/models/_projects/paraswap/avalanche_c/_schema.yml b/dbt_subprojects/dex/models/_projects/paraswap/avalanche_c/_schema.yml index 586cda62507..6ea6046b6f5 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/avalanche_c/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/paraswap/avalanche_c/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['avalanche_c','paraswap_v5','trades', 'paraswap','dex'] description: > Paraswap V5 contract aggregator trades on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -106,7 +106,7 @@ models: tags: ['avalanche_c','paraswap_v6','trades', 'paraswap','dex'] description: > Paraswap V6 contract aggregator trades on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -186,7 +186,7 @@ models: - name: paraswap_v6_avalanche_c_trades_decoded description: "Paraswap V6 trades decoded" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - call_tx_hash diff --git a/dbt_subprojects/dex/models/_projects/paraswap/base/_schema.yml b/dbt_subprojects/dex/models/_projects/paraswap/base/_schema.yml index d764e310694..e90d14b1060 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/base/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/paraswap/base/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base','paraswap_v5','trades', 'paraswap','dex'] description: > Paraswap V5 contract aggregator trades on base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -141,7 +141,7 @@ models: tags: ["eptighte", "paraswap_v6", "trades", "paraswap", "dex"] description: > Paraswap V6 contract aggregator trades on eptighte - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -186,7 +186,7 @@ models: - name: paraswap_v6_base_trades_decoded description: "Paraswap V6 trades decoded" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - call_tx_hash diff --git a/dbt_subprojects/dex/models/_projects/paraswap/bnb/_schema.yml b/dbt_subprojects/dex/models/_projects/paraswap/bnb/_schema.yml index ccac9987e48..d0b6e26b501 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/bnb/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/paraswap/bnb/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['bnb','paraswap_v4','trades', 'paraswap','dex'] description: > Paraswap V4 contract aggregator trades on bnb - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -106,7 +106,7 @@ models: tags: ['bnb','paraswap_v5','trades', 'paraswap','dex'] description: > Paraswap V5 contract aggregator trades on bnb - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -155,7 +155,7 @@ models: tags: ['bnb','paraswap_v6','trades', 'paraswap','dex'] description: > Paraswap V6 contract aggregator trades on bnb - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -235,7 +235,7 @@ models: - name: paraswap_v6_bnb_trades_decoded description: "Paraswap V6 trades decoded" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - call_tx_hash diff --git a/dbt_subprojects/dex/models/_projects/paraswap/ethereum/_schema.yml b/dbt_subprojects/dex/models/_projects/paraswap/ethereum/_schema.yml index 64bf575ed79..352ee2dbe9b 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/ethereum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/paraswap/ethereum/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['ethereum','paraswap_v4','trades', 'paraswap','dex'] description: > Paraswap V4 contract aggregator trades on ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -106,7 +106,7 @@ models: tags: ['ethereum','paraswap_v5','trades', 'paraswap','dex'] description: > Paraswap V5 contract aggregator trades on ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -155,7 +155,7 @@ models: tags: ['ethereum','paraswap_v6','trades', 'paraswap','dex'] description: > Paraswap V6 contract aggregator trades on ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -237,7 +237,7 @@ models: - name: paraswap_v6_ethereum_trades_decoded description: "Paraswap V6 trades decoded" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - call_tx_hash diff --git a/dbt_subprojects/dex/models/_projects/paraswap/fantom/_schema.yml b/dbt_subprojects/dex/models/_projects/paraswap/fantom/_schema.yml index 41bbe0b3bf0..93fbcf4b1e0 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/fantom/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/paraswap/fantom/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['fantom','paraswap_v5','trades', 'paraswap','dex'] description: > Paraswap V5 contract aggregator trades on fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -105,7 +105,7 @@ models: tags: ['fantom','paraswap_v6','trades', 'paraswap','dex'] description: > Paraswap V6 contract aggregator trades on fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -185,7 +185,7 @@ models: - name: paraswap_v6_fantom_trades_decoded description: "Paraswap V6 trades decoded" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - call_tx_hash diff --git a/dbt_subprojects/dex/models/_projects/paraswap/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/paraswap/optimism/_schema.yml index 0ba43c39039..911c37db218 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/paraswap/optimism/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism','paraswap_v5','trades', 'paraswap','dex'] description: > Paraswap V5 contract aggregator trades on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -105,7 +105,7 @@ models: tags: ['optimism','paraswap_v6','trades', 'paraswap','dex'] description: > Paraswap V6 contract aggregator trades on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -185,7 +185,7 @@ models: - name: paraswap_v6_optimism_trades_decoded description: "Paraswap V6 trades decoded" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - call_tx_hash diff --git a/dbt_subprojects/dex/models/_projects/paraswap/polygon/_schema.yml b/dbt_subprojects/dex/models/_projects/paraswap/polygon/_schema.yml index 5f78e7ae1ba..48fde813550 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/polygon/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/paraswap/polygon/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['polygon','paraswap_v4','trades', 'paraswap','dex'] description: > Paraswap V4 contract aggregator trades on polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -106,7 +106,7 @@ models: tags: ['polygon','paraswap_v5','trades', 'paraswap','dex'] description: > Paraswap V5 contract aggregator trades on polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -155,7 +155,7 @@ models: tags: ['polygon','paraswap_v6','trades', 'paraswap','dex'] description: > Paraswap V6 contract aggregator trades on polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -234,7 +234,7 @@ models: - name: paraswap_v6_polygon_trades_decoded description: "Paraswap V6 trades decoded" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - call_tx_hash diff --git a/dbt_subprojects/dex/models/_projects/spartacus_exchange/fantom/_schema.yml b/dbt_subprojects/dex/models/_projects/spartacus_exchange/fantom/_schema.yml index 1e8961f1926..85ddd543113 100644 --- a/dbt_subprojects/dex/models/_projects/spartacus_exchange/fantom/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/spartacus_exchange/fantom/_schema.yml @@ -22,7 +22,7 @@ models: description: "Version of the contract built and deployed by the DEX project" - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" diff --git a/dbt_subprojects/dex/models/_projects/spiritswap/fantom/_schema.yml b/dbt_subprojects/dex/models/_projects/spiritswap/fantom/_schema.yml index fc9c2b4cede..199e20b662b 100644 --- a/dbt_subprojects/dex/models/_projects/spiritswap/fantom/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/spiritswap/fantom/_schema.yml @@ -22,7 +22,7 @@ models: description: "Version of the contract built and deployed by the DEX project" - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" diff --git a/dbt_subprojects/dex/models/_projects/spookyswap/fantom/_schema.yml b/dbt_subprojects/dex/models/_projects/spookyswap/fantom/_schema.yml index cdc198d213e..b29fdc4b98c 100644 --- a/dbt_subprojects/dex/models/_projects/spookyswap/fantom/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/spookyswap/fantom/_schema.yml @@ -22,7 +22,7 @@ models: description: "Version of the contract built and deployed by the DEX project" - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" diff --git a/dbt_subprojects/dex/models/_projects/tokenlon/ethereum/_schema.yml b/dbt_subprojects/dex/models/_projects/tokenlon/ethereum/_schema.yml index 9da92a0c311..96e026baf2a 100644 --- a/dbt_subprojects/dex/models/_projects/tokenlon/ethereum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/tokenlon/ethereum/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['ethereum', 'dex', 'trades', 'tokenlon', 'aggregator', 'izayl', 'metadata'] description: > Tokenlon AMM v1 trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -81,7 +81,7 @@ models: tags: ['ethereum', 'dex', 'trades', 'tokenlon', 'aggregator', 'izayl'] description: > Tokenlon AMM v2 trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -149,7 +149,7 @@ models: tags: ['ethereum', 'dex', 'trades', 'tokenlon', 'aggregator', 'izayl'] description: > Tokenlon PMM v5 trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -217,7 +217,7 @@ models: tags: ['ethereum', 'dex', 'trades', 'tokenlon', 'aggregator', 'izayl'] description: > Tokenlon RFQ v1 trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -285,7 +285,7 @@ models: tags: [ 'ethereum', 'dex', 'trades', 'tokenlon', 'aggregator', 'keen' ] description: > Tokenlon RFQ v2 trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -353,7 +353,7 @@ models: tags: ['ethereum', 'dex', 'trades', 'tokenlon', 'aggregator', 'izayl'] description: > Tokenlon v5 all trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/unidex/optimism/_schema.yml b/dbt_subprojects/dex/models/_projects/unidex/optimism/_schema.yml index 6056908de75..891fcdd2060 100644 --- a/dbt_subprojects/dex/models/_projects/unidex/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/unidex/optimism/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism','trades', 'unidex','dex'] description: > unidex dex trades on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -108,7 +108,7 @@ models: tags: ['optimism','trades', 'unidex','dex'] description: > unidex dex base trades on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/uniswap/_schema.yml b/dbt_subprojects/dex/models/_projects/uniswap/_schema.yml index 886e8438644..823dd2f4c5f 100644 --- a/dbt_subprojects/dex/models/_projects/uniswap/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/uniswap/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'polygon', 'arbitrum', 'celo', 'pools'] description: > Uniswap DEX pools - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -86,7 +86,7 @@ models: - *version - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - &fee name: fee @@ -117,7 +117,7 @@ models: - *version - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" @@ -147,7 +147,7 @@ models: - *version - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" @@ -177,7 +177,7 @@ models: - *version - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" @@ -207,7 +207,7 @@ models: - *version - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" @@ -231,7 +231,7 @@ models: tags: ['optimism','uniswap','pools'] description: > A canonical table containing all Uniswap pool address changes between OVM1 and the EVM Equivalence regenesis release. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - oldAddress @@ -262,7 +262,7 @@ models: - *version - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" diff --git a/dbt_subprojects/dex/models/_projects/wigoswap/fantom/_schema.yml b/dbt_subprojects/dex/models/_projects/wigoswap/fantom/_schema.yml index 9754790e2d9..b75ff5a2520 100644 --- a/dbt_subprojects/dex/models/_projects/wigoswap/fantom/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/wigoswap/fantom/_schema.yml @@ -22,7 +22,7 @@ models: description: "Version of the contract built and deployed by the DEX project" - name: pool description: "DEX pool smart contract address" - tests: + data_tests: - unique - name: fee description: "Defined fee" diff --git a/dbt_subprojects/dex/models/_projects/yield_yak/arbitrum/_schema.yml b/dbt_subprojects/dex/models/_projects/yield_yak/arbitrum/_schema.yml index d8e88ffc8ff..de30b6ade4e 100644 --- a/dbt_subprojects/dex/models/_projects/yield_yak/arbitrum/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/yield_yak/arbitrum/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['arbitrum','trades', 'aggregator', 'yield_yak','dex'] description: > yield yak aggregator trades on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/yield_yak/avalanche_c/_schema.yml b/dbt_subprojects/dex/models/_projects/yield_yak/avalanche_c/_schema.yml index 6c8f36d0dcf..212c22b7a4b 100644 --- a/dbt_subprojects/dex/models/_projects/yield_yak/avalanche_c/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/yield_yak/avalanche_c/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['avalanche_c','trades', 'aggregator', 'yield_yak','dex'] description: > yield yak aggregator trades on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/yield_yak/mantle/_schema.yml b/dbt_subprojects/dex/models/_projects/yield_yak/mantle/_schema.yml index 28fe7f37a3c..4bd171a915d 100644 --- a/dbt_subprojects/dex/models/_projects/yield_yak/mantle/_schema.yml +++ b/dbt_subprojects/dex/models/_projects/yield_yak/mantle/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['mantle','trades', 'aggregator', 'yield_yak','dex'] description: > yield yak aggregator trades on mantle - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_schema.yml index 91b6530887b..3498e9df2ef 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/arbitrum/zeroex_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: tags: [arbitrum','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -101,7 +101,7 @@ models: tags: ['arbitrum','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (deduped) on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -159,7 +159,7 @@ models: tags: ['arbitrum','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -215,7 +215,7 @@ models: tags: ['arbitrum','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml index 912398726ad..48deac58eea 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/avalanche_c/zeroex_avalanche_c_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on avalanche - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -101,7 +101,7 @@ models: tags: ['avalanche_c','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (deduped) on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -159,7 +159,7 @@ models: tags: ['avalanche_c','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/dex/models/_projects/zeroex/base/zeroex_base_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/base/zeroex_base_schema.yml index c556c33ee70..8c93abfff5f 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/base/zeroex_base_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/base/zeroex_base_schema.yml @@ -10,7 +10,7 @@ models: tags: ["base","0x","dex_aggregator","dex","aggregator"] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month @@ -91,7 +91,7 @@ models: tags: ["base","0x","dex_aggregator","dex","aggregator"] description: > 0x API erc20 swaps raw fills (deduped) on base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -143,7 +143,7 @@ models: tags: ['base','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/dex/models/_projects/zeroex/blast/zeroex_blast_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/blast/zeroex_blast_schema.yml index d427aa5c7c2..598e21561d9 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/blast/zeroex_blast_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/blast/zeroex_blast_schema.yml @@ -10,7 +10,7 @@ models: tags: ['blast','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/dex/models/_projects/zeroex/bnb/zeroex_bnb_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/bnb/zeroex_bnb_schema.yml index 2117047b3b5..e185fda2fd3 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/bnb/zeroex_bnb_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/bnb/zeroex_bnb_schema.yml @@ -10,7 +10,7 @@ models: tags: ['bnb','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on bnb - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -101,7 +101,7 @@ models: tags: ['bnb','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps deduped fills (excluding multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on bnb - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -152,7 +152,7 @@ models: tags: ['bnb','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on bnb - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -206,7 +206,7 @@ models: tags: ['bnb','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/dex/models/_projects/zeroex/celo/zeroex_celo_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/celo/zeroex_celo_schema.yml index 731056a7a62..ea6ca30c5f2 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/celo/zeroex_celo_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/celo/zeroex_celo_schema.yml @@ -10,7 +10,7 @@ models: tags: ["celo","0x","dex_aggregator","dex","aggregator"] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on celo - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -93,7 +93,7 @@ models: tags: ["celo","0x","dex_aggregator","dex","aggregator"] description: > 0x API erc20 swaps raw fills (deduped) on celo - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_schema.yml index 33d1700ac72..c3a38a8fad6 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/ethereum/zeroex_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -115,7 +115,7 @@ models: tags: ['ethereum','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (deduped) on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: tags: ['ethereum','0x','nft'] description: > NFT Swaps enabled by 0x exchange contracts - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -227,7 +227,7 @@ models: tags: ['ethereum','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps through 0x exchange contracts (without using 0x API) on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -282,7 +282,7 @@ models: tags: ['ethereum','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/dex/models/_projects/zeroex/fantom/zeroex_fantom_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/fantom/zeroex_fantom_schema.yml index add067e9dba..f47dc03ee30 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/fantom/zeroex_fantom_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/fantom/zeroex_fantom_schema.yml @@ -10,7 +10,7 @@ models: tags: [fantom','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -101,7 +101,7 @@ models: tags: ['fantom','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (deduped) on fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_projects/zeroex/linea/zeroex_linea_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/linea/zeroex_linea_schema.yml index 5a04d65f2c3..35919de1e65 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/linea/zeroex_linea_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/linea/zeroex_linea_schema.yml @@ -10,7 +10,7 @@ models: tags: ['linea','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/dex/models/_projects/zeroex/mantle/zeroex_mantle_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/mantle/zeroex_mantle_schema.yml index 43fd5d10307..bbbabcb2e22 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/mantle/zeroex_mantle_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/mantle/zeroex_mantle_schema.yml @@ -10,7 +10,7 @@ models: tags: ['mantle','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/dex/models/_projects/zeroex/optimism/zeroex_optimism_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/optimism/zeroex_optimism_schema.yml index 1fcef1034c2..8ad876a830c 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/optimism/zeroex_optimism_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/optimism/zeroex_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: [optimism','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -103,7 +103,7 @@ models: tags: ['optimism','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (deduped) on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -163,7 +163,7 @@ models: tags: ['optimism','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -209,7 +209,7 @@ models: tags: ['optimism','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/dex/models/_projects/zeroex/polygon/zeroex_polygon_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/polygon/zeroex_polygon_schema.yml index be359f6bdc3..68a53dd8ace 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/polygon/zeroex_polygon_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/polygon/zeroex_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: [polygon','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -91,7 +91,7 @@ models: tags: ['polygon','0x','nft'] description: > NFT Swaps enabled by 0x exchange contracts - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -161,7 +161,7 @@ models: tags: ['polygon','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (deduped) on polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -220,7 +220,7 @@ models: tags: ['polygon','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -276,7 +276,7 @@ models: tags: ['polygon','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/dex/models/_projects/zeroex/scroll/zeroex_scroll_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/scroll/zeroex_scroll_schema.yml index c5cec51e487..f001bd15c5e 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/scroll/zeroex_scroll_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/scroll/zeroex_scroll_schema.yml @@ -10,7 +10,7 @@ models: tags: ['scroll','0x','dex_aggregator','dex','aggregator'] description: > 0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/dex/models/_projects/zeroex/zeroex_schema.yml b/dbt_subprojects/dex/models/_projects/zeroex/zeroex_schema.yml index a8bcc6f07dd..c18ff3eb4d2 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/zeroex_schema.yml +++ b/dbt_subprojects/dex/models/_projects/zeroex/zeroex_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum','0x','dex_aggregator','dex','aggregator','optimism','polygon','arbitrum','fantom','avalanche','bnb'] description: > 0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -113,7 +113,7 @@ models: tags: ['ethereum', 'optimism', 'polygon', 'bnb', 'avalanche', '0x','trades', 'dex', 'jeff-dude','cross-chain'] description: > Zeroex API on all chains across all contracts and versions. This table will load dex trades downstream. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -225,7 +225,7 @@ models: tags: ['ethereum','polygon','0x','optimism','arbitrum','fantom','bnb','dex'] description: > 0x native swaps thru 0x exchange contracts (without using 0x API) on Ethereum & Polygon & Arbitrum & Fantom & BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -270,7 +270,7 @@ models: tags: ['ethereum','optimism', 'polygon', 'abitrum', 'fantom', 'bnb', '0x','dex_aggregator','dex','aggregator'] description: > 0x native swaps thru 0x exchange contracts (without using 0x API) on Ethereum & Polygon & Arbitrum & Fantom & BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/_schema.yml b/dbt_subprojects/dex/models/_schema.yml index bc3e8e18c38..29d9cb23ffd 100644 --- a/dbt_subprojects/dex/models/_schema.yml +++ b/dbt_subprojects/dex/models/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['dex', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'solana', 'info'] description: > DEXs info - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project diff --git a/dbt_subprojects/dex/models/addresses/_schema.yml b/dbt_subprojects/dex/models/addresses/_schema.yml index d08bd08ef03..85af612171a 100644 --- a/dbt_subprojects/dex/models/addresses/_schema.yml +++ b/dbt_subprojects/dex/models/addresses/_schema.yml @@ -34,7 +34,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known DEX" - tests: + data_tests: - unique - name: dex_name description: "Name of decentralised exchange" @@ -55,7 +55,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known DEX" - tests: + data_tests: - unique - name: dex_name description: "Name of decentralised exchange" @@ -76,7 +76,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known DEX" - tests: + data_tests: - unique - name: dex_name description: "Name of decentralised exchange" @@ -97,7 +97,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known DEX" - tests: + data_tests: - unique - name: dex_name description: "Name of decentralised exchange" @@ -118,7 +118,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known DEX" - tests: + data_tests: - unique - name: dex_name description: "Name of decentralised exchange" @@ -139,7 +139,7 @@ models: description: "Name of blockchain" - name: address description: "Address of known DEX" - tests: + data_tests: - unique - name: dex_name description: "Name of decentralised exchange" diff --git a/dbt_subprojects/dex/models/aggregator_trades/_schema.yml b/dbt_subprojects/dex/models/aggregator_trades/_schema.yml index 51067685c68..935c88b1f72 100644 --- a/dbt_subprojects/dex/models/aggregator_trades/_schema.yml +++ b/dbt_subprojects/dex/models/aggregator_trades/_schema.yml @@ -11,7 +11,7 @@ models: tags: ['ethereum', 'gnosis', 'avalanche_c', 'fantom', 'aggregator', 'dex', 'trades', 'cross-chain'] description: > The dex_aggregator.trades table captures data on actions taken on aggregators - recording all events across various aggregators and blockchains. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -61,7 +61,7 @@ models: - &amount_usd name: amount_usd description: "USD value of the trade at time of execution" - tests: + data_tests: - dbt_utils.accepted_range: max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early - &token_bought_address @@ -103,7 +103,7 @@ models: tags: ['ethereum', 'gnosis', 'avalanche_c', 'fantom', 'aggregator', 'dex', 'trades', 'cross-chain'] description: > Base trades data without amount_usd column - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/dex/models/arbitrages/_schema.yml b/dbt_subprojects/dex/models/arbitrages/_schema.yml index c7e50740644..d2832bd62b7 100644 --- a/dbt_subprojects/dex/models/arbitrages/_schema.yml +++ b/dbt_subprojects/dex/models/arbitrages/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages'] description: > DEX MEV Arbitrage Trades across all Chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -102,7 +102,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'ethereum'] description: > DEX MEV Arbitrage Trades on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -145,7 +145,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'arbitrum'] description: > DEX MEV Arbitrage Trades on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -188,7 +188,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'avalanche_c'] description: > DEX MEV Arbitrage Trades on Avalanche - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -231,7 +231,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'bnb'] description: > DEX MEV Arbitrage Trades on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -274,7 +274,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'fantom'] description: > DEX MEV Arbitrage Trades on Fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -317,7 +317,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'gnosis'] description: > DEX MEV Arbitrage Trades on Gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -360,7 +360,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'optimism'] description: > DEX MEV Arbitrage Trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -403,7 +403,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'polygon'] description: > DEX MEV Arbitrage Trades on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -446,7 +446,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'base'] description: > DEX MEV Arbitrage Trades on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -489,7 +489,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'celo'] description: > DEX MEV Arbitrage Trades on Celo - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -532,7 +532,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'zksync'] description: > DEX MEV Arbitrage Trades on zkSync - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -575,7 +575,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'scroll'] description: > DEX MEV Arbitrage Trades on zkSScrollync - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -619,7 +619,7 @@ models: tags: ['dex', 'mev', 'atomic', 'arbitrages', 'zora'] description: > DEX MEV Arbitrage Trades on Zora Network - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/dex/models/dex_info.sql b/dbt_subprojects/dex/models/dex_info.sql index 5a6dc85d950..b0e90222e0a 100644 --- a/dbt_subprojects/dex/models/dex_info.sql +++ b/dbt_subprojects/dex/models/dex_info.sql @@ -178,4 +178,5 @@ FROM (VALUES , ('swapblast', 'SwapBlast', 'Direct', 'SwapBlast') , ('yoshiexchange', 'Yoshi Exchange', 'Direct', 'YoshiExchange') , ('dyorswap', 'DyorSwap', 'Direct', 'DYORSWAP') + , ('punkswap', 'PunkSwap', 'Direct', 'PunkSwapDEX') ) AS temp_table (project, name, marketplace_type, x_username) diff --git a/dbt_subprojects/dex/models/pools/_schema.yml b/dbt_subprojects/dex/models/pools/_schema.yml index 7b0eec51be6..9ac63de1c78 100644 --- a/dbt_subprojects/dex/models/pools/_schema.yml +++ b/dbt_subprojects/dex/models/pools/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['dex', 'cross-chain', 'pools'] description: > DEX raw pools initialization calls - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -54,7 +54,7 @@ models: tags: ['dex', 'cross-chain', 'pools'] description: > DEX raw pools on all chains across all contracts and versions parsed from logs - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -91,7 +91,7 @@ models: tags: ['dex', 'cross-chain', 'pools'] description: > DEX raw pools on all chains across all contracts and versions parsed from logs + filtered degen pools - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -119,7 +119,7 @@ models: tags: ['ethereum', 'arbitrum', 'polygon', 'dex', 'cross-chain', 'pools'] description: > DEX pools on all chains across all contracts and versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/dex/models/prices/_schema.yml b/dbt_subprojects/dex/models/prices/_schema.yml index da708e7d8ef..6706aaa1565 100644 --- a/dbt_subprojects/dex/models/prices/_schema.yml +++ b/dbt_subprojects/dex/models/prices/_schema.yml @@ -4,7 +4,7 @@ models: - name: dex_prices_block description: > obtain pricing info from dex.trades to feed into prices pipeline, aggregate to the block level and obtain median price - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month @@ -24,7 +24,7 @@ models: tags: ['ethereum', 'polygon', 'arbitrum', 'optimism', 'gnosis', 'fantom', 'avalanche_c', 'trades', 'dex', 'cross-chain', 'prices'] description: > This table loads the prices of tokens from the dex.trades table. This helps for missing tokens from the prices.usd table - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - hour diff --git a/dbt_subprojects/dex/models/sandwiches/_schema.yml b/dbt_subprojects/dex/models/sandwiches/_schema.yml index 96a2fecf919..9849a78acb2 100644 --- a/dbt_subprojects/dex/models/sandwiches/_schema.yml +++ b/dbt_subprojects/dex/models/sandwiches/_schema.yml @@ -11,7 +11,7 @@ models: tags: ["dex", "mev", "sandwiches"] description: > The dex.sandwiches table captures detailed data on the outer trades of sandwich attacks in decentralized exchanges (DEXs), recording front-running and back-running trades across various EVM networks. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -102,7 +102,7 @@ models: tags: ["dex", "mev", "sandwiched"] description: > The dex.sandwiched table captures detailed data on the victim trades of sandwich attacks in decentralized exchanges (DEXs), recording transactions that have been sandwiched across various EVM networks. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -143,7 +143,7 @@ models: tags: ["dex", "mev", "sandwiches", "ethereum"] description: > DEX MEV Sandwich Trades on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -184,7 +184,7 @@ models: tags: ["dex", "mev", "sandwiches", "arbitrum"] description: > DEX MEV Sandwich Trades on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -225,7 +225,7 @@ models: tags: ["dex", "mev", "sandwiches", "avalanche_c"] description: > DEX MEV Sandwich Trades on Avalanche - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -266,7 +266,7 @@ models: tags: ["dex", "mev", "sandwiches", "bnb"] description: > DEX MEV Sandwich Trades on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -307,7 +307,7 @@ models: tags: ["dex", "mev", "sandwiches", "fantom"] description: > DEX MEV Sandwich Trades on Fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -348,7 +348,7 @@ models: tags: ["dex", "mev", "sandwiches", "gnosis"] description: > DEX MEV Sandwich Trades on Gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -389,7 +389,7 @@ models: tags: ["dex", "mev", "sandwiches", "optimism"] description: > DEX MEV Sandwich Trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -430,7 +430,7 @@ models: tags: ["dex", "mev", "sandwiches", "polygon"] description: > DEX MEV Sandwich Trades on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -471,7 +471,7 @@ models: tags: ["dex", "mev", "sandwiches", "base"] description: > DEX MEV Sandwich Trades on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -512,7 +512,7 @@ models: tags: ["dex", "mev", "sandwiches", "zksync"] description: > DEX MEV Sandwich Trades on zkSync - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -553,7 +553,7 @@ models: tags: ["dex", "mev", "sandwiches", "celo"] description: > DEX MEV Sandwich Trades on Celo - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -594,7 +594,7 @@ models: tags: ["dex", "mev", "sandwiches", "scroll"] description: > DEX MEV Sandwich Trades on Scroll - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -635,7 +635,7 @@ models: tags: ["dex", "mev", "sandwiches", "zora"] description: > DEX MEV Sandwich Trades on Zora Network - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -676,7 +676,7 @@ models: tags: ["dex", "mev", "sandwiched", "ethereum"] description: > DEX MEV Sandwiched Trades on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -717,7 +717,7 @@ models: tags: ["dex", "mev", "sandwiched", "arbitrum"] description: > DEX MEV Sandwiched Trades on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -758,7 +758,7 @@ models: tags: ["dex", "mev", "sandwiched", "avalanche_c"] description: > DEX MEV Sandwiched Trades on Avalanche - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -799,7 +799,7 @@ models: tags: ["dex", "mev", "sandwiched", "bnb"] description: > DEX MEV Sandwiched Trades on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -840,7 +840,7 @@ models: tags: ["dex", "mev", "sandwiched", "fantom"] description: > DEX MEV Sandwiched Trades on Fantom - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -881,7 +881,7 @@ models: tags: ["dex", "mev", "sandwiched", "gnosis"] description: > DEX MEV Sandwiched Trades on Gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -922,7 +922,7 @@ models: tags: ["dex", "mev", "sandwiched", "optimism"] description: > DEX MEV Sandwiched Trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -963,7 +963,7 @@ models: tags: ["dex", "mev", "sandwiched", "polygon"] description: > DEX MEV Sandwiched Trades on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1004,7 +1004,7 @@ models: tags: ["dex", "mev", "sandwiched", "base"] description: > DEX MEV Sandwiched Trades on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1045,7 +1045,7 @@ models: tags: ["dex", "mev", "sandwiched", "celo"] description: > DEX MEV Sandwiched Trades on Celo - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1086,7 +1086,7 @@ models: tags: ["dex", "mev", "sandwiched", "zksync"] description: > DEX MEV Sandwiched Trades on zkSync - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1127,7 +1127,7 @@ models: tags: ["dex", "mev", "sandwiched", "scroll"] description: > DEX MEV Sandwiched Trades on Scroll - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -1168,7 +1168,7 @@ models: tags: ["dex", "mev", "sandwiched", "zora"] description: > DEX MEV Sandwiched Trades on Zora Network - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/dex/models/trades/_schema.yml b/dbt_subprojects/dex/models/trades/_schema.yml index b5a2e8192cf..efb151ed682 100644 --- a/dbt_subprojects/dex/models/trades/_schema.yml +++ b/dbt_subprojects/dex/models/trades/_schema.yml @@ -11,7 +11,7 @@ models: config: tags: [ 'dex', 'trades'] description: '{{ doc("dex_trades_doc") }}' - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -26,7 +26,7 @@ models: - &project name: project description: "Name of the dex on which the trade occurred" - tests: + data_tests: - relationships: to: ref('dex_info') field: project @@ -69,7 +69,7 @@ models: - &amount_usd name: amount_usd description: "USD value of the trade at time of execution. Can be null if we don't have enough data to calculate the value." - tests: + data_tests: - dbt_utils.accepted_range: max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early - &token_bought_address @@ -107,7 +107,7 @@ models: contributors: 0xRob, hosuke, jeff-dude, tomfutago, viniabussafi config: tags: [ 'dex' ] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/dex/models/trades/arbitrum/_schema.yml b/dbt_subprojects/dex/models/trades/arbitrum/_schema.yml index bedbc0e79d5..b3957f89920 100644 --- a/dbt_subprojects/dex/models/trades/arbitrum/_schema.yml +++ b/dbt_subprojects/dex/models/trades/arbitrum/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_arbitrum_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v3_arbitrum_base_trades @@ -14,7 +14,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "uniswap", "v3"] description: "uniswap arbitrum v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -33,7 +33,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "uniswap", "v2"] description: "uniswap arbitrum v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -52,7 +52,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "sushiswap", "v1"] description: "Sushiswap arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -71,7 +71,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "sushiswap", "v2"] description: "Sushiswap arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -90,7 +90,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "airswap"] description: "Airswap arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -107,7 +107,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "camelot", "uniswap", "v2"] description: "Camelot Arbitrum v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -126,7 +126,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "camelot", "uniswap", "v3"] description: "Camelot Arbitrum v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -145,7 +145,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "arbswap"] description: "Arbswap arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -162,7 +162,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "trader_joe", "v2"] description: "Trader Joe arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -181,7 +181,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "trader_joe", "v2.1"] description: "Trader Joe arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -200,7 +200,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "trader_joe", "v2.2"] description: "Trader Joe arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -219,7 +219,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "pancakeswap", "uniswap", "v2"] description: "Pancakeswap Arbitrum v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -240,7 +240,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "balancer"] description: "Balancer v2 arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -259,7 +259,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "pancakeswap", "uniswap", "v3"] description: "Pancakeswap Arbitrum v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -278,7 +278,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "dodo"] description: "Dodo Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -301,7 +301,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "gmx"] description: "GMX Arbitrum v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -318,7 +318,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "integral", "uniswap", "v2"] description: "Integral Arbitrum v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -335,7 +335,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "clipper"] description: "clipper Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -358,7 +358,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "kyberswap", "uniswap", "v2"] description: "kyberswap Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -380,7 +380,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "xchange", "uniswap", "v2"] description: "xchange Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -397,7 +397,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "ramses", "uniswap", "v2"] description: "Ramses Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -418,7 +418,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "fraxswap"] description: "Fraxswap arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -435,7 +435,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "chronos"] description: "Chronos arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -452,7 +452,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "zyberswap"] description: "Zyberswap arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -469,7 +469,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "solidlizard"] description: "Solidlizard arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -486,7 +486,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "rubicon"] description: "rubicon Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -503,7 +503,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "woofi"] description: "woofi Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -520,7 +520,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "smardex"] description: "smardex Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -537,7 +537,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "oasisswap"] description: "oasisswap Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -554,7 +554,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "swaap", "v2"] description: "swaap v2 arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -573,7 +573,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "apeswap"] description: "apeswap Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -591,7 +591,7 @@ models: tags: ["arbitrum", "trades", "zigzag", "dex"] description: > Zigzag V1 contract trades on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -608,7 +608,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "gridex"] description: "gridex Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -625,7 +625,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "sterling_finance"] description: "sterling_finance Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -642,7 +642,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "sharkyswap"] description: "sharkyswap Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -659,7 +659,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "auragi"] description: "auragi Arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -676,7 +676,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "wombat_exchange"] description: "wombatexchange arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -693,7 +693,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "solidly"] description: "solidly v3 arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -710,7 +710,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "dackieswap"] description: "dackieswap v3 arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -729,7 +729,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "dackieswap"] description: "dackieswap v2 arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -748,7 +748,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "maverick"] description: "Maverick arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -767,7 +767,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "valantis", "arrakis", "hot"] description: "hot-amm arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -782,7 +782,7 @@ models: config: tags: ["arbitrum", "dex", "trades", "spartadex"] description: "spartadex arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/avalanche_c/_schema.yml b/dbt_subprojects/dex/models/trades/avalanche_c/_schema.yml index 28ff6cea89f..d689748cbe5 100644 --- a/dbt_subprojects/dex/models/trades/avalanche_c/_schema.yml +++ b/dbt_subprojects/dex/models/trades/avalanche_c/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_avalanche_c_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v3_avalanche_c_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap avalanche_c v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -34,7 +34,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'airswap' ] description: "Airswap avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -52,7 +52,7 @@ models: config: tags: ['avalanche_c', 'dex', 'trades', 'sushiswap', 'v1'] description: "Sushiswap avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -72,7 +72,7 @@ models: config: tags: ['avalanche_c', 'dex', 'trades', 'sushiswap', 'v2'] description: "Sushiswap avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -92,7 +92,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'trader_joe', 'v1' ] description: "Trader Joe avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -112,7 +112,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'trader_joe', 'v2' ] description: "Trader Joe avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -132,7 +132,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'trader_joe', 'v2.1' ] description: "Trader Joe avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -151,7 +151,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'trader_joe', 'v2.2' ] description: "Trader Joe avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -170,7 +170,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'balancer' ] description: "Balancer v2 avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -189,7 +189,7 @@ models: config: tags: ['avalanche_c', 'dex', 'trades', 'fraxswap', 'uniswap', 'v2'] description: "Fraxswap avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -208,7 +208,7 @@ models: config: tags: ['avalanche_c', 'dex', 'trades', 'glacier', 'uniswap', 'v2'] description: "Glacier avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -227,7 +227,7 @@ models: config: tags: ['avalanche_c', 'dex', 'trades', 'glacier', 'uniswap', 'v3'] description: "Glacier avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -246,7 +246,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'gmx' ] description: "GMX avalanche_c v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -263,7 +263,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'pharaoh' ] description: "pharaoh avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -281,7 +281,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'kyberswap', 'uniswap', 'v2' ] description: "kyberswap avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -303,7 +303,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'platypus_finance' ] description: "Platypus Finance avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -320,7 +320,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'openocean' ] description: "openocean avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -337,7 +337,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'woofi' ] description: "woofi avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -354,7 +354,7 @@ models: config: tags: ['avalanche_c', 'dex', 'trades', 'curvefi'] description: "Curvefi avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -373,7 +373,7 @@ models: tags: [ 'avalanche_c','hashflow','trades','dex','hosuke' ] description: > Hashflow contract trades on Avalanche C-Chain - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -390,7 +390,7 @@ models: config: tags: [ 'avalance_c', 'dex', 'trades', 'uniswap', 'v2' ] description: "uniswap avalanche_c v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -409,7 +409,7 @@ models: config: tags: [ 'avalanche_c', 'dex', 'trades', 'elk_finance' ] description: "elk_finance avalanche_c base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/base/_schema.yml b/dbt_subprojects/dex/models/trades/base/_schema.yml index 8fe36d37fc9..a8010396e2a 100644 --- a/dbt_subprojects/dex/models/trades/base/_schema.yml +++ b/dbt_subprojects/dex/models/trades/base/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_base_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v3_base_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap base v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -34,7 +34,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'aerodrome' ] description: aerodrome base trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -52,7 +52,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'sushiswap', 'v1' ] description: "sushiswap base v1 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -72,7 +72,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'sushiswap', 'v2' ] description: "sushiswap base v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -91,7 +91,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'pancakeswap', 'uniswap', 'v2' ] description: "Pancakeswap Base v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -110,7 +110,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'balancer' ] description: "Balancer v2 base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -129,7 +129,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'pancakeswap', 'uniswap', 'v3' ] description: "Pancakeswap Base v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -148,7 +148,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'dodo' ] description: "Dodo base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -167,7 +167,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'maverick' ] description: "Maverick Base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -186,7 +186,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'maverick' ] description: "Maverick Base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -205,7 +205,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'smardex' ] description: "smardex base trades on base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -222,7 +222,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'baseswap' ] description: "baseswap base trades on base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -241,7 +241,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'baseswap' ] description: "baseswap base trades on base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -260,7 +260,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'dackieswap' ] description: "dackieswap base trades on base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -277,7 +277,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'scale' ] description: "scale base trades on base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -294,7 +294,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'rubicon' ] description: "rubicon base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -312,7 +312,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'kyberswap' ] description: "kyberswap base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -332,7 +332,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'woofi' ] description: "woofi base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -352,7 +352,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'velocimeter_v2' ] description: "velocimeter_v2 base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -372,7 +372,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'moonbase' ] description: "moonbase base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -392,7 +392,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'sobal' ] description: "sobal base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -412,7 +412,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'plantbaseswap' ] description: "plantbaseswap base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -432,7 +432,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'derpdex' ] description: "derpdex base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -453,7 +453,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'torus', 'v1' ] description: "torus base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -471,7 +471,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'throne_exchange' ] description: "throne_exchange base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -491,7 +491,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'sharkswap' ] description: "sharkswap base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -511,7 +511,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'throne_exchange' ] description: "throne_exchange base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -531,7 +531,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'horizondex' ] description: "horizondex dex swaps on base chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -551,7 +551,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'citadelswap' ] description: "citadelswap base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -571,7 +571,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'autotronic' ] description: "autotronic base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -591,7 +591,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'uniswap', 'v2' ] description: "uniswap base v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -611,7 +611,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'soswap' ] description: "soswap base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -631,7 +631,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'elk_finance' ] description: "elk_finance base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -651,7 +651,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'oasisswap' ] description: "oasisswap base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -671,7 +671,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'leetswap' ] description: "leetswap_v2 base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -690,7 +690,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'openocean' ] description: "openocean base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -707,7 +707,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'rocketswap' ] description: "rocketswap base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -726,7 +726,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'wombat_exchange' ] description: "wombat exchange base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -745,7 +745,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'icecreamswap' ] description: "icecreamswap base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -762,7 +762,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'alienbase' ] description: "alienbase base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -781,7 +781,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'swapbased' ] description: "swapbased base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -800,7 +800,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'gridex' ] description: "gridex base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -819,7 +819,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'baseswap' ] description: "baseswap base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -838,7 +838,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'synthswap' ] description: "synthswap base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -857,7 +857,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'solidly' ] description: "solidly base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -876,7 +876,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'energon' ] description: "energon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -895,7 +895,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'voltswap' ] description: "voltswap base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -914,7 +914,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'crescentswap' ] description: "crescentswap base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -933,7 +933,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'baso_finance' ] description: "baso finance base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -950,7 +950,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'clipper' ] description: "clipper base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -970,7 +970,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'swaap', 'v2'] description: "swaap v2 base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -989,7 +989,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'xchange' ] description: "xchange base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/blast/_schema.yml b/dbt_subprojects/dex/models/trades/blast/_schema.yml index f853160180e..a55354fed05 100644 --- a/dbt_subprojects/dex/models/trades/blast/_schema.yml +++ b/dbt_subprojects/dex/models/trades/blast/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_blast_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v3_blast_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'blast', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap blast v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -33,7 +33,7 @@ models: config: tags: [ 'blast', 'dex', 'trades', 'uniswap', 'v2' ] description: "uniswap blast v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -52,7 +52,7 @@ models: config: tags: [ 'blast', 'dex', 'trades', 'thruster' ] description: "Thruster blast v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -69,7 +69,7 @@ models: config: tags: [ 'blast', 'dex', 'trades', 'blasterswap' ] description: "blasterswap blast base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -86,7 +86,7 @@ models: config: tags: [ 'blast', 'dex', 'trades', 'fenix' ] description: "Fenix blast v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -101,7 +101,7 @@ models: config: tags: [ 'blast', 'dex', 'trades', 'dackieswap' ] description: "dackieswap v2 blast base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -120,7 +120,7 @@ models: config: tags: [ 'blast', 'dex', 'trades', 'sushiswap' ] description: "Sushiswap v2 Blast base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -139,7 +139,7 @@ models: config: tags: [ 'arbitrum', 'dex', 'trades', 'dackieswap' ] description: "dackieswap v3 arbitrum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -158,7 +158,7 @@ models: config: tags: [ 'blast', 'dex', 'trades', 'swapblast' ] description: "Swapblast Blast base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -175,10 +175,28 @@ models: config: tags: [ 'blast', 'dex', 'trades', 'dyorswap' ] description: "dyorswap Blast base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash - evt_index - check_dex_base_trades_seed: seed_file: ref('dyorswap_blast_base_trades_seed') + + - name: icecreamswap_v2_blast_base_trades + meta: + blockchain: blast + sector: dex + project: icecreamswap + contributors: cindieKim99 + config: + tags: [ 'blast', 'dex', 'trades', 'icecreamswap' ] + description: "icecreamswap Blast base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('icecreamswap_v2_blast_base_trades_seed') + diff --git a/dbt_subprojects/dex/models/trades/blast/dex_blast_base_trades.sql b/dbt_subprojects/dex/models/trades/blast/dex_blast_base_trades.sql index 1f77327584e..8a41bfa1d6e 100644 --- a/dbt_subprojects/dex/models/trades/blast/dex_blast_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/blast/dex_blast_base_trades.sql @@ -16,6 +16,7 @@ , ref('dackieswap_v3_blast_base_trades') , ref('swapblast_blast_base_trades') , ref('dyorswap_blast_base_trades') + , ref('icecreamswap_v2_blast_base_trades') ] %} WITH base_union AS ( diff --git a/dbt_subprojects/dex/models/trades/blast/platforms/icecreamswap_v2_blast_base_trades.sql b/dbt_subprojects/dex/models/trades/blast/platforms/icecreamswap_v2_blast_base_trades.sql new file mode 100644 index 00000000000..385e1adcff6 --- /dev/null +++ b/dbt_subprojects/dex/models/trades/blast/platforms/icecreamswap_v2_blast_base_trades.sql @@ -0,0 +1,21 @@ +{{ + config( + schema = 'icecreamswap_v2_blast', + alias = 'base_trades', + materialized = 'incremental', + file_format = 'delta', + incremental_strategy = 'merge', + unique_key = ['tx_hash', 'evt_index'], + incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v2_trades( + blockchain = 'blast', + project = 'icecreamswap', + version = '2', + Pair_evt_Swap = source('icecreamswap_v2_blast', 'IceCreamSwapV2Pair_evt_Swap'), + Factory_evt_PairCreated = source('icecreamswap_v2_blast', 'IceCreamSwapV2Factory_evt_PairCreated') + ) +}} diff --git a/dbt_subprojects/dex/models/trades/bnb/_schema.yml b/dbt_subprojects/dex/models/trades/bnb/_schema.yml index 80f72ff78c8..9efab55aadf 100644 --- a/dbt_subprojects/dex/models/trades/bnb/_schema.yml +++ b/dbt_subprojects/dex/models/trades/bnb/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_bnb_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v3_bnb_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap bnb v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -34,7 +34,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'airswap' ] description: "Airswap bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -52,7 +52,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'sushiswap', 'v1' ] description: "sushiswap bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -72,7 +72,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'sushiswap', 'v2' ] description: "sushiswap bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -92,7 +92,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'trader_joe', 'v2' ] description: "Trader Joe bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -112,7 +112,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'trader_joe', 'v2.1' ] description: "Trader Joe bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -132,7 +132,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'apeswap' ] description: apeswap base trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -151,7 +151,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'pancakeswap', 'uniswap', 'v2' ] description: "Pancakeswap BNB v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -174,7 +174,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'pancakeswap', 'uniswap', 'v3' ] description: "Pancakeswap BNB v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -194,7 +194,7 @@ models: config: tags: ['bnb', 'dex', 'trades', 'fraxswap', 'uniswap', 'v2'] description: "Fraxswap bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -212,7 +212,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'biswap', 'uniswap', 'v2' ] description: "biswap bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -232,7 +232,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'biswap', 'v3' ] description: "biswap bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -252,7 +252,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'babyswap', 'uniswap', 'v2' ] description: "babyswap bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -271,7 +271,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'mdex', 'uniswap', 'v2' ] description: "mdex bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -290,7 +290,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'wombat' ] description: "Wombat bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -309,7 +309,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'dodo' ] description: "Dodo bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -332,7 +332,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'iziswap' ] description: "iziswap bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -349,7 +349,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'maverick' ] description: "Maverick bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -368,7 +368,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'maverick' ] description: "Maverick bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -387,7 +387,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'nomiswap', 'uniswap', 'v2' ] description: "NomiSwap bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -404,7 +404,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'kyberswap', 'uniswap', 'v2' ] description: "kyberswap bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -425,7 +425,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'xchange', 'uniswap', 'v2' ] description: "xchange bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -442,7 +442,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'thena' ] description: "thena bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -463,7 +463,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'ellipsis_finance' ] description: "ellipsis_finance bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -480,7 +480,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'onepunchswap' ] description: "onepunchswap bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -497,7 +497,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'woofi' ] description: "woofi bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -515,7 +515,7 @@ models: tags: [ 'bnb','hashflow','trades','dex', 'Henrystats'] description: > Hashflow contract trades on Binance Smart Chain - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -532,7 +532,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'uniswap', 'v2' ] description: "uniswap bnb v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -551,7 +551,7 @@ models: config: tags: [ 'bnb', 'dex', 'trades', 'swaap', 'v2'] description: "swaap v2 bnb base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/celo/_schema.yml b/dbt_subprojects/dex/models/trades/celo/_schema.yml index 3a69481f808..0d3544480fc 100644 --- a/dbt_subprojects/dex/models/trades/celo/_schema.yml +++ b/dbt_subprojects/dex/models/trades/celo/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_celo_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v3_celo_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'celo', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap celo v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -32,7 +32,7 @@ models: config: tags: ['celo', 'dex', 'trades', 'mento'] description: "Mento trades on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -51,7 +51,7 @@ models: config: tags: ['celo', 'dex', 'trades', 'mento'] description: "Mento trades on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -70,7 +70,7 @@ models: config: tags: ['celo', 'dex', 'trades', 'curvefi'] description: "Curvefi Celo base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -88,7 +88,7 @@ models: config: tags: ['celo', 'dex', 'trades', 'sushiswap'] description: "Sushiswap Celo base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -106,7 +106,7 @@ models: config: tags: ['celo', 'dex', 'trades', 'ubeswap'] description: "Ubeswap Celo base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -124,7 +124,7 @@ models: config: tags: ['celo', 'dex', 'trades', 'carbonhood'] description: "Carbonhood trades on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/ethereum/_schema.yml b/dbt_subprojects/dex/models/trades/ethereum/_schema.yml index 3acacaca364..aa463001637 100644 --- a/dbt_subprojects/dex/models/trades/ethereum/_schema.yml +++ b/dbt_subprojects/dex/models/trades/ethereum/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_ethereum_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v1_ethereum_base_trades @@ -14,7 +14,7 @@ models: config: tags: ["ethereum", "dex", "trades", "uniswap", "v1"] description: "uniswap ethereum v1 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -33,7 +33,7 @@ models: config: tags: ["ethereum", "dex", "trades", "uniswap", "v2"] description: "uniswap ethereum v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -52,7 +52,7 @@ models: config: tags: ["ethereum", "dex", "trades", "uniswap", "v3"] description: "uniswap ethereum v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -71,7 +71,7 @@ models: config: tags: ["ethereum", "dex", "trades", "defiswap"] description: "Defiswap ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -88,7 +88,7 @@ models: config: tags: ["ethereum", "dex", "trades", "airswap"] description: "Defiswap ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -105,7 +105,7 @@ models: config: tags: ["ethereum", "dex", "trades", "sushiswap", "v1"] description: "sushiswap ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -124,7 +124,7 @@ models: config: tags: ["ethereum", "dex", "trades", "sushiswap", "v2"] description: "sushiswap ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -143,7 +143,7 @@ models: config: tags: ["ethereum", "dex", "trades", "carbon_defi"] description: "Carbon_defi ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -160,7 +160,7 @@ models: config: tags: ["ethereum", "dex", "trades", "apeswap"] description: apeswap base trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -177,7 +177,7 @@ models: config: tags: ["ethereum", "dex", "trades", "pancakeswap", "uniswap", "v2"] description: "Pancakeswap Ethereum v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -198,7 +198,7 @@ models: config: tags: ["ethereum", "dex", "trades", "shibaswap", "uniswap", "v2"] description: "sushiswap ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -217,7 +217,7 @@ models: config: tags: ["ethereum", "dex", "trades", "pancakeswap", "uniswap", "v3"] description: "Pancakeswap Ethereum v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -236,7 +236,7 @@ models: config: tags: ["ethereum", "dex", "trades", "balancer"] description: "Balancer v1 ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -255,7 +255,7 @@ models: config: tags: ["ethereum", "dex", "trades", "balancer"] description: "Balancer v2 ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -274,7 +274,7 @@ models: config: tags: ["ethereum", "dex", "trades", "fraxswap", "uniswap", "v2"] description: "Fraxswap ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -293,7 +293,7 @@ models: config: tags: ["ethereum", "dex", "trades", "bancor"] description: "Bancor ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -310,7 +310,7 @@ models: config: tags: ["ethereum", "dex", "trades", "verse_dex"] description: "Verse ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -327,7 +327,7 @@ models: config: tags: ["ethereum", "dex", "trades", "swapr", "uniswap", "v2"] description: "Verse ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -344,7 +344,7 @@ models: config: tags: ["ethereum", "dex", "trades", "mauve"] description: "Mauve ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -361,7 +361,7 @@ models: config: tags: ["ethereum", "dex", "trades", "dfx"] description: "DFX ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -378,7 +378,7 @@ models: config: tags: ["ethereum", "dex", "trades", "dodo"] description: "Dodo ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -401,7 +401,7 @@ models: config: tags: ["ethereum", "dex", "trades", "integral", "uniswap", "v2"] description: "Integral ethereum v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -418,7 +418,7 @@ models: config: tags: ["ethereum", "dex", "trades", "maverick"] description: "Maverick ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -437,7 +437,7 @@ models: config: tags: ["ethereum", "dex", "trades", "maverick"] description: "Maverick ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -456,7 +456,7 @@ models: config: tags: ["ethereum", "dex", "trades", "clipper"] description: "clipper ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -479,7 +479,7 @@ models: config: tags: ["ethereum", "dex", "trades", "mstable"] description: "mstable ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -500,7 +500,7 @@ models: config: tags: ["ethereum", "dex", "trades", "kyberswap", "uniswap", "v2"] description: "kyberswap ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -522,13 +522,34 @@ models: config: tags: ["ethereum", "dex", "trades", "xchange", "uniswap", "v2"] description: "xchange ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash - evt_index - check_dex_base_trades_seed: seed_file: ref('xchange_ethereum_base_trades_seed') + filter: + version: 1 + + - name: xchange_v2_ethereum_base_trades + meta: + blockchain: ethereum + sector: dex + project: xchange + contributors: mike-x7f, tomfutago + config: + tags: [ 'ethereum', 'dex', 'trades', 'xchange', 'uniswap', 'v2' ] + description: "xchange v2 ethereum base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('xchange_ethereum_base_trades_seed') + filter: + version: 2 - name: curve_ethereum_base_trades meta: @@ -539,7 +560,7 @@ models: config: tags: ["ethereum", "dex", "trades", "curve"] description: "Curve ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -564,7 +585,7 @@ models: config: tags: ["ethereum", "dex", "trades", "solidly"] description: "solidly v3 ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -581,7 +602,7 @@ models: config: tags: ["ethereum", "dex", "trades", "swaap", "v2"] description: "swaap v2 ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -600,7 +621,7 @@ models: config: tags: ["ethereum", "dex", "trades", "valantis", "arrakis", "hot"] description: "hot-amm ethereum base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/ethereum/dex_ethereum_base_trades.sql b/dbt_subprojects/dex/models/trades/ethereum/dex_ethereum_base_trades.sql index ef761a7d922..3a121900231 100644 --- a/dbt_subprojects/dex/models/trades/ethereum/dex_ethereum_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/ethereum/dex_ethereum_base_trades.sql @@ -38,6 +38,7 @@ , ref('solidly_v3_ethereum_base_trades') , ref('swaap_v2_ethereum_base_trades') , ref('valantis_hot_ethereum_base_trades') + , ref('xchange_v2_ethereum_base_trades') ] %} WITH base_union AS ( diff --git a/dbt_subprojects/dex/models/trades/ethereum/platforms/xchange_v2_ethereum_base_trades.sql b/dbt_subprojects/dex/models/trades/ethereum/platforms/xchange_v2_ethereum_base_trades.sql new file mode 100644 index 00000000000..645fa5a4f04 --- /dev/null +++ b/dbt_subprojects/dex/models/trades/ethereum/platforms/xchange_v2_ethereum_base_trades.sql @@ -0,0 +1,21 @@ +{{ + config( + schema = 'xchange_v2_ethereum', + alias = 'base_trades', + materialized = 'incremental', + file_format = 'delta', + incremental_strategy = 'merge', + unique_key = ['tx_hash', 'evt_index'], + incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v2_trades( + blockchain = 'ethereum', + project = 'xchange', + version = '2', + Pair_evt_Swap = source('xchange_v2_ethereum', 'XchangePair_evt_Swap'), + Factory_evt_PairCreated = source('xchange_v2_ethereum', 'XchangeFactory_evt_PairCreated') + ) +}} diff --git a/dbt_subprojects/dex/models/trades/fantom/_schema.yml b/dbt_subprojects/dex/models/trades/fantom/_schema.yml index b4cd673c9d0..473dfc84838 100644 --- a/dbt_subprojects/dex/models/trades/fantom/_schema.yml +++ b/dbt_subprojects/dex/models/trades/fantom/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_fantom_base_trades - tests: + data_tests: - check_dex_info_relationship - name: sushiswap_v1_fantom_base_trades @@ -14,7 +14,7 @@ models: config: tags: ['fantom', 'dex', 'trades', 'sushiswap', 'v1'] description: "Sushiswap fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -34,7 +34,7 @@ models: config: tags: ['fantom', 'dex', 'trades', 'sushiswap', 'v2'] description: "Sushiswap fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -54,7 +54,7 @@ models: config: tags: ['fantom', 'dex', 'trades', 'spiritswap', 'uniswap', 'v2'] description: "Spiritswap fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -73,7 +73,7 @@ models: config: tags: ['fantom', 'dex', 'trades', 'spookyswap', 'uniswap', 'v2'] description: "Spookyswap fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -92,7 +92,7 @@ models: config: tags: ['fantom', 'dex', 'trades', 'wigoswap', 'uniswap', 'v2'] description: "Wigoswap fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -109,7 +109,7 @@ models: config: tags: ['fantom', 'dex', 'trades', 'equalizer', 'uniswap', 'v2'] description: "Equalizer fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -126,7 +126,7 @@ models: config: tags: ['fantom', 'dex', 'trades', 'spartacus_exchange', 'uniswap', 'v2'] description: "spartacus_exchange fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -143,7 +143,7 @@ models: config: tags: [ 'fantom', 'dex', 'trades', 'openocean' ] description: "openocean fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -161,7 +161,7 @@ models: config: tags: ['fantom', 'dex', 'trades', 'beethoven_x'] description: "beethoven_x fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -179,7 +179,7 @@ models: config: tags: ['fantom', 'dex', 'trades', 'curvefi'] description: "Curvefi fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -196,7 +196,7 @@ models: config: tags: [ 'fantom', 'dex', 'trades', 'solidly' ] description: "solidly v3 fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -213,7 +213,7 @@ models: config: tags: ['fantom', 'dex', 'trades', 'yoshiexchange'] description: "Yoshiexchange fantom base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/gnosis/_schema.yml b/dbt_subprojects/dex/models/trades/gnosis/_schema.yml index ea2b44bab17..71d0b3551f1 100644 --- a/dbt_subprojects/dex/models/trades/gnosis/_schema.yml +++ b/dbt_subprojects/dex/models/trades/gnosis/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_gnosis_base_trades - tests: + data_tests: - check_dex_info_relationship - name: sushiswap_v1_gnosis_base_trades @@ -14,7 +14,7 @@ models: config: tags: ['gnosis', 'dex', 'trades', 'sushiswap', 'v1'] description: "Sushiswap gnosis base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -33,7 +33,7 @@ models: config: tags: ['gnosis', 'dex', 'trades', 'sushiswap', 'v2'] description: "Sushiswap gnosis base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -52,7 +52,7 @@ models: config: tags: [ 'gnosis', 'dex', 'trades', 'balancer' ] description: "Balancer v2 gnosis base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -71,7 +71,7 @@ models: config: tags: ['gnosis', 'dex', 'trades', 'honeyswap', 'v2'] description: "Honeyswap gnosis base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/linea/_schema.yml b/dbt_subprojects/dex/models/trades/linea/_schema.yml index 21eda28a63a..3928fc4939e 100644 --- a/dbt_subprojects/dex/models/trades/linea/_schema.yml +++ b/dbt_subprojects/dex/models/trades/linea/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_linea_base_trades - tests: + data_tests: - check_dex_info_relationship - name: sushiswap_v2_linea_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'sushiswap' ] description: "Sushiswap v2 Linea base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -31,7 +31,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'lynex' ] description: "Lynex Linea base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -48,7 +48,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'nile' ] description: "Nile Linea base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -65,7 +65,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'echodex' ] description: "EchoDex Linea base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -82,7 +82,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'secta' ] description: "Secta Linea base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -99,7 +99,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'pancakeswap', 'uniswap', 'v2' ] description: "Pancakeswap linea v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -119,7 +119,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'pancakeswap' ] description: "Pancakeswap V3 linea base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -138,7 +138,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'horizondex' ] description: "horizondex dex swaps on linea chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -157,7 +157,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap linea v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -176,7 +176,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'lynex', 'fusion' ] description: "lynex linea fusion base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -195,7 +195,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'swaap', 'v2'] description: "swaap v2 linea base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -214,7 +214,7 @@ models: config: tags: [ 'linea', 'dex', 'trades', 'leetswap' ] description: "Leetswap Linea base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/mantle/_schema.yml b/dbt_subprojects/dex/models/trades/mantle/_schema.yml index 2869b33b2e2..9f11a632dbb 100644 --- a/dbt_subprojects/dex/models/trades/mantle/_schema.yml +++ b/dbt_subprojects/dex/models/trades/mantle/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_mantle_base_trades - tests: + data_tests: - check_dex_info_relationship - name: merchant_moe_mantle_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'mantle', 'dex', 'trades', 'merchant_moe' ] description: "merchant_moe mantle base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -31,7 +31,7 @@ models: config: tags: [ 'mantle', 'dex', 'trades', 'fusionx' ] description: "FusionX Finance mantle base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -48,7 +48,7 @@ models: config: tags: [ 'mantle', 'dex', 'trades', 'agni' ] description: "AGNI Finance mantle base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -65,7 +65,7 @@ models: config: tags: [ 'mantle', 'dex', 'trades', 'swaap', 'v2'] description: "swaap v2 mantle base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -84,7 +84,7 @@ models: config: tags: [ 'mantle', 'dex', 'trades', 'clipper' ] description: "Clipper mantle base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -103,7 +103,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap mantle v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -122,7 +122,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'tropicalswap'] description: "tropicalswap mantle base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/nova/_schema.yml b/dbt_subprojects/dex/models/trades/nova/_schema.yml index f29daef5f02..143ebf87c46 100644 --- a/dbt_subprojects/dex/models/trades/nova/_schema.yml +++ b/dbt_subprojects/dex/models/trades/nova/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_nova_base_trades - tests: + data_tests: - check_dex_info_relationship - name: sushiswap_nova_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'nova', 'dex', 'trades', 'sushiswap' ] description: "sushiswap nova base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -31,7 +31,7 @@ models: config: tags: [ 'nova', 'dex', 'trades', 'rcpswap' ] description: "rcpswap nova base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/optimism/_schema.yml b/dbt_subprojects/dex/models/trades/optimism/_schema.yml index 9963700f4bc..031f300b0dc 100644 --- a/dbt_subprojects/dex/models/trades/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/trades/optimism/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_optimism_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v3_optimism_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap optimism v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -36,7 +36,7 @@ models: tags: [ 'optimism', 'dex', 'trades', 'woofi' ] description: > Woofi base trades on optimism across two contracts. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -54,7 +54,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'sushiswap', 'v1' ] description: "sushiswap optimism v1 trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -76,7 +76,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'sushiswap', 'v2' ] description: "sushiswap optimism v2 trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -97,7 +97,7 @@ models: tags: [ 'optimism', 'dex', 'trades', 'mummy_finance' ] description: > mummy_finance base trades on optimism. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -115,7 +115,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'zipswap', 'uniswap', 'v2' ] description: "Zipswap optimism trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -135,7 +135,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'balancer' ] description: "Balancer v2 optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -156,7 +156,7 @@ models: tags: [ 'optimism', 'dex', 'trades', 'hashflow' ] description: > hashflow base trades on optimism. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -174,7 +174,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'wardenswap' ] description: "Wardenswap optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -192,7 +192,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'dodo' ] description: "Dodo optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -215,7 +215,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'clipper' ] description: "clipper optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -238,7 +238,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'kyberswap', 'uniswap', 'v2' ] description: "kyberswap optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -261,7 +261,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'velodrome', 'uniswap', 'v2' ] description: "velodrome optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -283,7 +283,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'synthetix' ] description: "synthetix optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -301,7 +301,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'openxswap' ] description: "openxswap optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -319,7 +319,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'openocean' ] description: "openocean optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -337,7 +337,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'opx_finance' ] description: "OPX Finance optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -356,7 +356,7 @@ models: tags: [ 'optimism', 'dex', 'trades', 'chainhop' ] description: > chainhop base trades on optimism. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -373,7 +373,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'rubicon' ] description: "rubicon optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -391,7 +391,7 @@ models: config: tags: ['optimism', 'dex', 'trades', 'curve'] description: "Curve optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -409,7 +409,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'gridex' ] description: "gridex optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -427,7 +427,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'solidly' ] description: "solidly v3 optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -445,7 +445,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'dackieswap' ] description: "dackieswap v2 optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -464,7 +464,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'dackieswap' ] description: "dackieswap v3 optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -483,7 +483,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'wombat_exchange' ] description: "wombat_exchange optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -502,7 +502,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'uniswap', 'v2' ] description: "uniswap optimism v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -521,7 +521,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'elk_finance' ] description: "elk_finance optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -540,7 +540,7 @@ models: config: tags: ['optimism', 'dex', 'trades', 'fraxswap', 'uniswap', 'v2'] description: "Fraxswap optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -559,7 +559,7 @@ models: config: tags: [ 'optimism', 'dex', 'trades', 'swaap', 'v2'] description: "swaap v2 optimism base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/polygon/_schema.yml b/dbt_subprojects/dex/models/trades/polygon/_schema.yml index d0c97c0ceed..a267955034e 100644 --- a/dbt_subprojects/dex/models/trades/polygon/_schema.yml +++ b/dbt_subprojects/dex/models/trades/polygon/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_polygon_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v3_polygon_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap polygon v3 trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -34,7 +34,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'airswap' ] description: "Defiswap polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -52,7 +52,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'sushiswap', 'v1' ] description: "sushiswap polygon v1 trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -72,7 +72,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'sushiswap', 'v2' ] description: "sushiswap polygon v2 trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -92,7 +92,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'quickswap', 'v2' ] description: "quickswap polygon v2 trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -112,7 +112,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'quickswap', 'v3' ] description: "quickswap polygon v3 trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -132,7 +132,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'apeswap' ] description: apeswap base trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -152,7 +152,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'balancer' ] description: "Balancer v2 polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -172,7 +172,7 @@ models: config: tags: ['polygon', 'dex', 'trades', 'honeyswap', 'v2'] description: "Honeyswap polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -192,7 +192,7 @@ models: config: tags: ['polygon', 'dex', 'trades', 'fraxswap', 'uniswap', 'v2'] description: "Fraxswap polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -212,7 +212,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'dodo' ] description: "Dodo polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -236,7 +236,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'clipper' ] description: "clipper polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -259,7 +259,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'kyberswap', 'uniswap', 'v2' ] description: "kyberswap polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -281,7 +281,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'xchange', 'uniswap', 'v2' ] description: "xchange polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -298,7 +298,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'dooar', 'uniswap' ] description: "Dooar polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -315,7 +315,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'uniswap', 'v2' ] description: "uniswap polygon v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -334,7 +334,7 @@ models: config: tags: [ 'base', 'dex', 'trades', 'smardex' ] description: "smardex base trades on polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -351,7 +351,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'gridex' ] description: "gridex polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -370,7 +370,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'swaap', 'v2'] description: "swaap v2 polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -389,7 +389,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'dfyn', 'v2' ] description: "dfyn polygon base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/readme.md b/dbt_subprojects/dex/models/trades/readme.md index 2dd50accca9..fae5b5444d4 100644 --- a/dbt_subprojects/dex/models/trades/readme.md +++ b/dbt_subprojects/dex/models/trades/readme.md @@ -123,7 +123,7 @@ For each model in the DEX sector, we must define its schema. This schema outline config: tags: ["ethereum", "dex", "trades", "uniswap", "v2"] description: "uniswap ethereum v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -207,7 +207,7 @@ In your model's schema file, add tests that validate the output against the seed Example tests: ```yaml -tests: +data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/scroll/_schema.yml b/dbt_subprojects/dex/models/trades/scroll/_schema.yml index 4582ff0f206..0dfa4d3ca7f 100644 --- a/dbt_subprojects/dex/models/trades/scroll/_schema.yml +++ b/dbt_subprojects/dex/models/trades/scroll/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_scroll_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v3_scroll_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'uniswap' ] description: "Uniswap v3 scroll base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -31,7 +31,7 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'sushiswap' ] description: "Sushiswap v2 scroll base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -48,7 +48,7 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'zebra' ] description: "Zebra scroll base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -65,7 +65,7 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'scrollswap' ] description: "Zebra scroll base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -82,7 +82,7 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'syncswap' ] description: "SyncSwap V1 scroll base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -99,7 +99,7 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'nuri' ] description: "Nuri scroll base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -116,7 +116,7 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'iziswap' ] description: "Iziswap scroll base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -133,7 +133,7 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'icecreamswap' ] description: "icecreamswap v2 scroll base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -150,7 +150,7 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'maverick' ] description: "Maverick scroll base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -169,7 +169,7 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'swaap', 'v2'] description: "swaap v2 scroll base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -188,7 +188,7 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'leetswap' ] description: "leetswap base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -205,10 +205,27 @@ models: config: tags: [ 'scroll', 'dex', 'trades', 'spacefi' ] description: "leetswap base base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash - evt_index - check_dex_base_trades_seed: seed_file: ref('spacefi_scroll_base_trades_seed') + + - name: punkswap_scroll_base_trades + meta: + blockchain: scroll + sector: dex + project: punkswap + contributors: zionhaley + config: + tags: [ 'scroll', 'dex', 'trades', 'punkswap' ] + description: "punkswap base base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('punkswap_scroll_base_trades_seed') diff --git a/dbt_subprojects/dex/models/trades/scroll/dex_scroll_base_trades.sql b/dbt_subprojects/dex/models/trades/scroll/dex_scroll_base_trades.sql index 403055c2ee7..e305fa1e0a0 100644 --- a/dbt_subprojects/dex/models/trades/scroll/dex_scroll_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/scroll/dex_scroll_base_trades.sql @@ -18,6 +18,7 @@ , ref('swaap_v2_scroll_base_trades') , ref('leetswap_scroll_base_trades') , ref('spacefi_scroll_base_trades') + , ref('punkswap_scroll_base_trades') ] %} WITH base_union AS ( diff --git a/dbt_subprojects/dex/models/trades/scroll/platforms/punkswap_scroll_base_trades.sql b/dbt_subprojects/dex/models/trades/scroll/platforms/punkswap_scroll_base_trades.sql new file mode 100644 index 00000000000..e7c66f92e82 --- /dev/null +++ b/dbt_subprojects/dex/models/trades/scroll/platforms/punkswap_scroll_base_trades.sql @@ -0,0 +1,21 @@ +{{ + config( + schema = 'punkswap_scroll', + alias = 'base_trades', + materialized = 'incremental', + file_format = 'delta', + incremental_strategy = 'merge', + unique_key = ['tx_hash', 'evt_index'], + incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v2_trades( + blockchain = 'scroll', + project = 'punkswap', + version = '1', + Pair_evt_Swap = source('punkswap_scroll', 'PunkPair_evt_Swap'), + Factory_evt_PairCreated = source('punkswap_scroll', 'PunkFactory_evt_PairCreated') + ) +}} diff --git a/dbt_subprojects/dex/models/trades/sei/_schema.yml b/dbt_subprojects/dex/models/trades/sei/_schema.yml index 5f483e63e87..dfb29eac0da 100644 --- a/dbt_subprojects/dex/models/trades/sei/_schema.yml +++ b/dbt_subprojects/dex/models/trades/sei/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_sei_base_trades - tests: + data_tests: - check_dex_info_relationship - name: jelly_swap_sei_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'sei', 'dex', 'trades', 'jelly_swap' ] description: "JellySwap Sei base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -33,7 +33,7 @@ models: config: tags: [ 'sei', 'dex', 'trades', 'oku', 'v3' ] description: "Oku sei base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -50,7 +50,7 @@ models: config: tags: [ 'sei', 'dex', 'trades', 'dragon_swap', 'v2' ] description: "DragonSwap sei base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -67,7 +67,7 @@ models: config: tags: [ 'sei', 'dex', 'trades', 'xei_finance', 'v3' ] description: "XeiFinance sei base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -84,7 +84,7 @@ models: config: tags: [ 'sei', 'dex', 'trades', 'carbon_defi' ] description: "Carbon DeFi sei base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/worldchain/_schema.yml b/dbt_subprojects/dex/models/trades/worldchain/_schema.yml index 57679b95d6f..f5a255d421a 100644 --- a/dbt_subprojects/dex/models/trades/worldchain/_schema.yml +++ b/dbt_subprojects/dex/models/trades/worldchain/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_worldchain_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v3_worldchain_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'worldchain', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap worldchain v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/zkevm/_schema.yml b/dbt_subprojects/dex/models/trades/zkevm/_schema.yml index a84b274b963..b444e77a92b 100644 --- a/dbt_subprojects/dex/models/trades/zkevm/_schema.yml +++ b/dbt_subprojects/dex/models/trades/zkevm/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_zkevm_base_trades - tests: + data_tests: - check_dex_info_relationship - name: balancer_v2_zkevm_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'zkevm', 'dex', 'trades', 'balancer' ] description: "Balancer v2 zkevm base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -29,7 +29,7 @@ models: config: tags: [ 'zkevm', 'dex', 'trades', 'pancakeswap', 'uniswap', 'v2' ] description: "Pancakeswap zkevm v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -48,7 +48,7 @@ models: config: tags: [ 'zkevm', 'dex', 'trades', 'pancakeswap' ] description: "Pancakeswap V3 zkevm base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -67,7 +67,7 @@ models: config: tags: [ 'zkevm', 'dex', 'trades', 'clipper' ] description: "Clipper zkevm base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -86,7 +86,7 @@ models: config: tags: [ 'polygon', 'dex', 'trades', 'sushiswap', 'v2' ] description: "sushiswap zkevm v2 trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -105,7 +105,7 @@ models: config: tags: [ 'zkevm', 'dex', 'trades', 'leetswap' ] description: "Leetswap zkevm base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/zksync/_schema.yml b/dbt_subprojects/dex/models/trades/zksync/_schema.yml index 0a978f4ad7b..b359a8a13c5 100644 --- a/dbt_subprojects/dex/models/trades/zksync/_schema.yml +++ b/dbt_subprojects/dex/models/trades/zksync/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_zksync_base_trades - tests: + data_tests: - check_dex_info_relationship - name: maverick_zksync_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'maverick' ] description: "Maverick zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -33,7 +33,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'maverick' ] description: "Maverick zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -52,7 +52,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'pancakeswap', 'uniswap', 'v2' ] description: "Pancakeswap zkSync v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -71,7 +71,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap zksync v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -90,7 +90,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'syncswap' ] description: "SyncSwap V1 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -109,7 +109,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'syncswap' ] description: "SyncSwap V2 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -128,7 +128,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'mute' ] description: "Mute zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -145,7 +145,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'pancakeswap' ] description: "Pancakeswap V3 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -164,7 +164,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'spacefi' ] description: "SpaceFi V1 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -181,7 +181,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'derpdex' ] description: "DerpDEX V1 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -198,7 +198,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'wagmi' ] description: "Wagmi V1 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -215,7 +215,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'zkswap_finance' ] description: "zkSwap Finance zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -232,7 +232,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'gemswap' ] description: "Gemswap zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -249,7 +249,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'vesync' ] description: "veSync V1 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -266,7 +266,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'dracula_finance' ] description: "Dracula Finance zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -283,7 +283,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'ezkalibur' ] description: "eZKalibur V1 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -302,7 +302,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'iziswap' ] description: "iziswap v1 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -321,7 +321,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'iziswap' ] description: "iziswap v2 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -340,7 +340,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'velocore' ] description: "Velocore v0 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -359,7 +359,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'velocore' ] description: "Velocore v1 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -378,7 +378,7 @@ models: config: tags: [ 'zksync', 'dex', 'trades', 'velocore' ] description: "Velocore v2 zksync base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/models/trades/zora/_schema.yml b/dbt_subprojects/dex/models/trades/zora/_schema.yml index 5da14b9fea2..21232b1aebe 100644 --- a/dbt_subprojects/dex/models/trades/zora/_schema.yml +++ b/dbt_subprojects/dex/models/trades/zora/_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: dex_zora_base_trades - tests: + data_tests: - check_dex_info_relationship - name: uniswap_v2_zora_base_trades @@ -14,7 +14,7 @@ models: config: tags: [ 'zora', 'dex', 'trades', 'uniswap', 'v2' ] description: "uniswap zora v2 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -33,7 +33,7 @@ models: config: tags: [ 'zora', 'dex', 'trades', 'uniswap', 'v3' ] description: "uniswap zora v3 base trades" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/dex/seeds/trades/_schema.yml b/dbt_subprojects/dex/seeds/trades/_schema.yml index c1e592e2608..3f521312f10 100644 --- a/dbt_subprojects/dex/seeds/trades/_schema.yml +++ b/dbt_subprojects/dex/seeds/trades/_schema.yml @@ -4335,3 +4335,33 @@ seeds: token_bought_amount_raw: uint256 token_sold_amount_raw: uint256 block_date: timestamp + + - name: punkswap_scroll_base_trades_seed + config: + column_types: + blockchain: varchar + project: varchar + version: varchar + tx_hash: varbinary + evt_index: uint256 + block_number: uint256 + token_bought_address: varbinary + token_sold_address: varbinary + token_bought_amount_raw: uint256 + token_sold_amount_raw: uint256 + block_date: timestamp + + - name: icecreamswap_v2_blast_base_trades_seed + config: + column_types: + blockchain: varchar + project: varchar + version: varchar + tx_hash: varbinary + evt_index: uint256 + block_number: uint256 + token_bought_address: varbinary + token_sold_address: varbinary + token_bought_amount_raw: uint256 + token_sold_amount_raw: uint256 + block_date: timestamp diff --git a/dbt_subprojects/dex/seeds/trades/icecreamswap_v2_blast_base_trades_seed.csv b/dbt_subprojects/dex/seeds/trades/icecreamswap_v2_blast_base_trades_seed.csv new file mode 100644 index 00000000000..4a4870aa130 --- /dev/null +++ b/dbt_subprojects/dex/seeds/trades/icecreamswap_v2_blast_base_trades_seed.csv @@ -0,0 +1,2 @@ +blockchain,project,version,block_date,tx_hash,evt_index,token_bought_address,token_sold_address,block_number,token_bought_amount_raw,token_sold_amount_raw +blast,icecreamswap,2,2024-09-07,0x327a296171dc0e7bf830a9a4dcfda6273e638130a4a3a6ad94a67f53a513e2cc,30,0x4300000000000000000000000000000000000004,0xd810a437e334b9c3660c18b38fb3c01000b91dd3,8460835,99401000530340,371356033676148451 diff --git a/dbt_subprojects/dex/seeds/trades/punkswap_scroll_base_trades_seed.csv b/dbt_subprojects/dex/seeds/trades/punkswap_scroll_base_trades_seed.csv new file mode 100644 index 00000000000..26766c1ca68 --- /dev/null +++ b/dbt_subprojects/dex/seeds/trades/punkswap_scroll_base_trades_seed.csv @@ -0,0 +1,2 @@ +blockchain,project,version,block_date,tx_hash,evt_index,token_bought_address,token_sold_address,block_number,token_bought_amount_raw,token_sold_amount_raw +scroll,punkswap,1,2024-04-13,0x8887bdd053ff5f22be73aa15a6cd33ad9a959a611f5aad405e7761cb3eb725dd,23,0x75d154a996ef4af8675a315f4f4059abd28b0fe8,0xb65ad8d81d1e4cb2975352338805af6e39ba8be8,9511842,5438127702225085352872,13089059735658468925670 diff --git a/dbt_subprojects/dex/seeds/trades/xchange_ethereum_base_trades_seed.csv b/dbt_subprojects/dex/seeds/trades/xchange_ethereum_base_trades_seed.csv index cd0c1df34f1..94e0357fc3b 100644 --- a/dbt_subprojects/dex/seeds/trades/xchange_ethereum_base_trades_seed.csv +++ b/dbt_subprojects/dex/seeds/trades/xchange_ethereum_base_trades_seed.csv @@ -5,3 +5,4 @@ ethereum,xchange,1,2023-06-04,0xdca9e79f3d41644b579994c0e62f73e8741605b85bb9a80f ethereum,xchange,1,2023-06-12,0xf71d8fd364e2402eb11ba7bfbd9b59336e2b075571c1523d119f74a11a1986e3,170,0x117546d1467d80c6bde13910412c724383260cf9,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,17467103,345579772746831152919886,100000000000000000 ethereum,xchange,1,2023-06-12,0x7da422240ab88976df8c9694114daf8b8cfc335e1f851a8c175bca99e5e4cdcd,200,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0x117546d1467d80c6bde13910412c724383260cf9,17463461,134508790612232095,472973295056531318590909 ethereum,xchange,1,2023-06-12,0x4eba2bbed2a473a3a6b2fbfc1d784940b5157afc285c35aff1200e491ea1346a,115,0xdbc7945c5403c589ec39a9aa8c5af234c706f6a2,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,17467054,14049529527028758241707276441,60000000000000000 +ethereum,xchange,2,2023-09-21,0x59b3b5f5ce7ccedf1099637689d63bd17692f7bcda011f4b69d96e6e9aef29ea,545,0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,0x285DB79fa7e0e89E822786F48A7c98C6c1dC1c7d,20800165,23755270476347709,301758119632231566220472 \ No newline at end of file diff --git a/dbt_subprojects/hourly_spellbook/dbt_project.yml b/dbt_subprojects/hourly_spellbook/dbt_project.yml index 6b876a7018b..401361c36c8 100644 --- a/dbt_subprojects/hourly_spellbook/dbt_project.yml +++ b/dbt_subprojects/hourly_spellbook/dbt_project.yml @@ -3,6 +3,7 @@ name: "hourly_spellbook" version: "1.0.0" config-version: 2 +require-dbt-version: ">=1.8.0" quoting: database: false @@ -33,7 +34,7 @@ clean-targets: # directories to be removed by `dbt clean` # Configuring tests # Full documentation: https://docs.getdbt.com/reference/test-configs -tests: +data_tests: hourly_spellbook: +store_failures: true # store failures for all tests diff --git a/dbt_subprojects/hourly_spellbook/macros/sector/gas/fees/gas_fees.sql b/dbt_subprojects/hourly_spellbook/macros/sector/gas/fees/gas_fees.sql index 76269bca9d8..b1585b850b0 100644 --- a/dbt_subprojects/hourly_spellbook/macros/sector/gas/fees/gas_fees.sql +++ b/dbt_subprojects/hourly_spellbook/macros/sector/gas/fees/gas_fees.sql @@ -5,7 +5,7 @@ {%- else -%} gas_price {%- endif -%} -{% endmacro %} +{% endmacro %} -- include chain specific logic here {% macro tx_fee_raw(blockchain) %} @@ -31,6 +31,14 @@ ,cast((txns.gas_used - coalesce(gas_used_for_l1,0)) * {{gas_price(blockchain)}} as uint256)]) {%- elif blockchain in ('zksync',) %} ,map(array['base_fee'], array[(cast({{gas_price(blockchain)}} as uint256) * cast(txns.gas_used as uint256))]) + {%- elif blockchain in ('celo',) %} + ,case when txns.priority_fee_per_gas is null or txns.priority_fee_per_gas < 0 + then map(array['base_fee'], array[(cast({{gas_price(blockchain)}} as uint256) * cast(txns.gas_used as uint256))]) + else map(array['base_fee','priority_fee'], + array[(cast(gas_price - priority_fee_per_gas as uint256) * cast(txns.gas_used as uint256)) + ,(cast(priority_fee_per_gas as uint256) * cast(txns.gas_used as uint256))] + ) + end {%- else -%} {%- if blockchain in all_op_chains() + ('scroll','blast','mantle') %} ,map(array['l1_fee'], array[cast(coalesce(l1_fee,0) as uint256)]) @@ -81,6 +89,8 @@ {% endmacro %} {% macro gas_fees(blockchain) %} +-- Used to run the models only on incremental timeframe + seed transactions (for tests) +{% set test_short_ci = false %} WITH base_model as ( SELECT txns.block_time @@ -118,7 +128,10 @@ WITH base_model as ( AND {{ incremental_predicate('blob.block_time') }} {% endif %} {%- endif -%} - {% if is_incremental() %} + {% if test_short_ci %} + WHERE {{ incremental_predicate('txns.block_time') }} + OR txns.hash in (select tx_hash from {{ref('evm_gas_fees')}}) + {% elif is_incremental() %} WHERE {{ incremental_predicate('txns.block_time') }} {% endif %} ) diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/_schema.yml index 0a4968714aa..222ac9ae1f7 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/_schema.yml @@ -8,7 +8,7 @@ models: config: tags: ['metrics', 'evms'] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -22,7 +22,7 @@ models: config: tags: [ 'evms','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/arbitrum/_schema.yml index 452db8f920a..e5af2e83bf3 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/arbitrum/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'arbitrum','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'arbitrum','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/avalanche_c/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/avalanche_c/_schema.yml index e40d217b6eb..1bcd79ab882 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/avalanche_c/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/avalanche_c/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'avalanche_c','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'avalanche_c','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/base/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/base/_schema.yml index 92ddb586245..1b39503338e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/base/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/base/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'base','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'base','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/blast/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/blast/_schema.yml index ca13558b868..74a57378c4a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/blast/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/blast/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'blast','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'blast','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/bnb/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/bnb/_schema.yml index 80b00d80212..3618c59f12d 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/bnb/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/bnb/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'bnb','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'bnb','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/celo/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/celo/_schema.yml index f77b052a522..2416e1f1fe9 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/celo/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/celo/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'celo','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'celo','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/ethereum/_schema.yml index ebba08bea15..52ad3896281 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/ethereum/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'ethereum','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'ethereum','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/fantom/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/fantom/_schema.yml index 8d3fc44a82e..f9db89dae19 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/fantom/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/fantom/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'fantom','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'fantom','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/gnosis/_schema.yml index 0e157c3b9a9..5eda8e725d3 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/gnosis/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'gnosis','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'gnosis','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/linea/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/linea/_schema.yml index ac4170d1f42..d8adb6414d4 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/linea/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/linea/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'linea','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'linea','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/mantle/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/mantle/_schema.yml index 9531e82815d..e668c416fe4 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/mantle/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/mantle/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'mantle','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'mantle','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/optimism/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/optimism/_schema.yml index bd9b4d623d2..44cc681a34b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/optimism/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/optimism/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'optimism','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'optimism','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/polygon/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/polygon/_schema.yml index f88e10547d0..2f691790af8 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/polygon/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/polygon/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'polygon','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'polygon','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/scroll/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/scroll/_schema.yml index 88f6772bd75..ae314eb8a22 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/scroll/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/scroll/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'scroll','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'scroll','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/sei/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/sei/_schema.yml index bd7c5fc59ee..842fb0f117e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/sei/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/sei/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'sei','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'sei','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zkevm/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zkevm/_schema.yml index fa043967fe7..8e2a2d856f0 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zkevm/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zkevm/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'zkevm','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'zkevm','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zksync/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zksync/_schema.yml index 19a8d79fe98..96ea2cec31e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zksync/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zksync/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'zksync','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'zksync','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zora/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zora/_schema.yml index f85dfb3fc48..cc0678d2799 100644 --- a/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zora/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_metrics/transactions/zora/_schema.yml @@ -5,7 +5,7 @@ models: columns: - name: blockchain - name: address - tests: + data_tests: - unique - name: min_block_time description: "block_time of the first transaction initiated by the address" @@ -18,7 +18,7 @@ models: config: tags: [ 'zora','metrics' ] description: "fundamental blockchain transaction metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -32,7 +32,7 @@ models: config: tags: [ 'zora','metrics', 'address' ] description: "fundamental blockchain transaction address metrics" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/_schema.yml index 9d8b84cf3a1..c281af4b7a7 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/_schema.yml @@ -9,7 +9,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -71,7 +71,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools, grouped by day. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/arbitrum/_schema.yml index ff5e07ed5d8..f373e2e43ea 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -73,7 +73,7 @@ models: tags: ['arbitrum', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools, grouped by day. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/avalanche_c/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/avalanche_c/_schema.yml index e341729e2fa..f26d2aa244e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/avalanche_c/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -73,7 +73,7 @@ models: tags: ['avalanche_c', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools, grouped by day. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/base/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/base/_schema.yml index 89a11b3e539..866818cffd3 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/base/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/base/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['base', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -73,7 +73,7 @@ models: tags: ['base', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools, grouped by day. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/ethereum/_schema.yml index dab33f52016..ac563c49277 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'balancer', 'balances'] description: > ERC20 token rolling sum balances on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -20,7 +20,7 @@ models: - &day name: day description: "UTC event block time truncated to the day mark" - tests: + data_tests: - not_null - &pool name: pool @@ -41,7 +41,7 @@ models: tags: ['ethereum', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -104,7 +104,7 @@ models: tags: ['ethereum', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools, grouped by day. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/gnosis/_schema.yml index 9fdd91e45e3..42b0c73b982 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['gnosis', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -73,7 +73,7 @@ models: tags: ['gnosis', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools, grouped by day. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/optimism/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/optimism/_schema.yml index 952aefc44ee..458444d5371 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/optimism/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/optimism/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -73,7 +73,7 @@ models: tags: ['optimism', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools, grouped by day. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/polygon/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/polygon/_schema.yml index 70c27f9cac4..a55b1ece015 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/polygon/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/polygon/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -73,7 +73,7 @@ models: tags: ['polygon', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools, grouped by day. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/zkevm/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/zkevm/_schema.yml index 3fae28a259a..56ef4d3b615 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/zkevm/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/balances/zkevm/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['zkevm', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -73,7 +73,7 @@ models: tags: ['zkevm', 'bpt', 'supply', 'changes'] description: > Token Balance Changes on Balancer Pools, grouped by day. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/_schema.yml index 4afa2327ca2..eb4c1db8e72 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/_schema.yml @@ -9,7 +9,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'bpt', 'transfers'] description: > Balancer Pool Token (BPT) transfer logs on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -62,7 +62,7 @@ models: tags: ['balancer', 'amm', 'dex', 'bpt', 'prices', 'ethereum', 'arbitrum', 'optimism', 'polygon', 'gnosis', 'avalanche_c', 'base', 'zkevm'] description: > Balancer Pool Token (BPT) hourly median price by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -91,7 +91,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'bpt'] description: > The Balancer Pool Token (BPT) supply over time of ComposableStablePools versions 4+ - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -119,7 +119,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -158,7 +158,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. grouped by day - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/arbitrum/_schema.yml index c32bee8b667..bf8ac3f4a8b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'bpt', 'transfers'] description: > Balancer Pool Token (BPT) transfer logs on Balancer, an automated portfolio manager and trading platform, on Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -63,7 +63,7 @@ models: tags: ['arbitrum', 'bpt', 'prices'] description: > Balancer Pool Token (BPT) daily price by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -92,7 +92,7 @@ models: tags: ['arbitrum', 'bpt', 'supply'] description: > Balancer Pool Token (BPT) supply by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -121,7 +121,7 @@ models: tags: ['arbitrum', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: tags: ['arbitrum', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. grouped by day - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/avalanche_c/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/avalanche_c/_schema.yml index 8bde08a0ad8..885a0afb86b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/avalanche_c/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c', 'bpt', 'transfers'] description: > Balancer Pool Token (BPT) transfer logs on Balancer, an automated portfolio manager and trading platform, on avalanche_c. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -63,7 +63,7 @@ models: tags: ['avalanche_c', 'bpt', 'prices'] description: > Balancer Pool Token (BPT) daily price by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -92,7 +92,7 @@ models: tags: ['avalanche_c', 'bpt', 'supply'] description: > Balancer Pool Token (BPT) supply by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -121,7 +121,7 @@ models: tags: ['avalanche_c', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: tags: ['avalanche_c', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. grouped by day - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/base/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/base/_schema.yml index a32b805f7e2..e34b34c2c16 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/base/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/base/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['base', 'bpt', 'transfers'] description: > Balancer Pool Token (BPT) transfer logs on Balancer, an automated portfolio manager and trading platform, on base. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -63,7 +63,7 @@ models: tags: ['base', 'bpt', 'prices'] description: > Balancer Pool Token (BPT) daily price by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -92,7 +92,7 @@ models: tags: ['base', 'bpt', 'supply'] description: > Balancer Pool Token (BPT) supply by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -121,7 +121,7 @@ models: tags: ['base', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: tags: ['base', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. grouped by day - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/ethereum/_schema.yml index aa54846a5f3..e9a905070ff 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'bpt', 'transfers'] description: > Balancer Pool Token (BPT) transfer logs on Balancer, an automated portfolio manager and trading platform, on ethereum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -63,7 +63,7 @@ models: tags: ['ethereum', 'bpt', 'prices'] description: > Balancer Pool Token (BPT) daily price by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -92,7 +92,7 @@ models: tags: ['ethereum', 'bpt', 'supply'] description: > Balancer Pool Token (BPT) supply by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -121,7 +121,7 @@ models: tags: ['ethereum', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: tags: ['ethereum', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. grouped by day - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/gnosis/_schema.yml index aae23d80a8a..0ce3d1ccc86 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['gnosis', 'bpt', 'transfers'] description: > Balancer Pool Token (BPT) transfer logs on Balancer, an automated portfolio manager and trading platform, on gnosis. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -63,7 +63,7 @@ models: tags: ['gnosis', 'bpt', 'prices'] description: > Balancer Pool Token (BPT) daily price by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -92,7 +92,7 @@ models: tags: ['gnosis', 'bpt', 'supply'] description: > Balancer Pool Token (BPT) supply by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -121,7 +121,7 @@ models: tags: ['gnosis', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: tags: ['gnosis', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. grouped by day - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/optimism/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/optimism/_schema.yml index 746fd32e9da..40175fbcc1c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/optimism/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/optimism/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism', 'bpt', 'transfers'] description: > Balancer Pool Token (BPT) transfer logs on Balancer, an automated portfolio manager and trading platform, on optimism. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -63,7 +63,7 @@ models: tags: ['optimism', 'bpt', 'prices'] description: > Balancer Pool Token (BPT) daily price by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -92,7 +92,7 @@ models: tags: ['optimism', 'bpt', 'supply'] description: > Balancer Pool Token (BPT) supply by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -121,7 +121,7 @@ models: tags: ['optimism', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: tags: ['optimism', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. grouped by day - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/polygon/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/polygon/_schema.yml index 3e0b5c419f6..64dbdac1d8f 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/polygon/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/polygon/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon', 'bpt', 'transfers'] description: > Balancer Pool Token (BPT) transfer logs on Balancer, an automated portfolio manager and trading platform, on polygon. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -63,7 +63,7 @@ models: tags: ['polygon', 'bpt', 'prices'] description: > Balancer Pool Token (BPT) daily price by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -92,7 +92,7 @@ models: tags: ['polygon', 'bpt', 'supply'] description: > Balancer Pool Token (BPT) supply by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -121,7 +121,7 @@ models: tags: ['polygon', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: tags: ['polygon', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. grouped by day - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/zkevm/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/zkevm/_schema.yml index fbdd80ddb56..f183708bfc5 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/zkevm/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/bpt/zkevm/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['zkevm', 'bpt', 'transfers'] description: > Balancer Pool Token (BPT) transfer logs on Balancer, an automated portfolio manager and trading platform, on zkevm. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -63,7 +63,7 @@ models: tags: ['zkevm', 'bpt', 'prices'] description: > Balancer Pool Token (BPT) daily price by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -92,7 +92,7 @@ models: tags: ['zkevm', 'bpt', 'supply'] description: > Balancer Pool Token (BPT) supply by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -121,7 +121,7 @@ models: tags: ['zkevm', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -160,7 +160,7 @@ models: tags: ['zkevm', 'bpt', 'supply', 'changes'] description: > Balancer Pool Token (BPT) supply change events. grouped by day - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/_schema.yml index 948574c1ad6..50d1b412b47 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'arbitrum', 'optimism', 'polygon', 'gnosis','avalanche_c', 'base', 'zkevm', 'flashloans'] description: > All Balancer flashloans - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/arbitrum/_schema.yml index 562e948bde1..8b99adcec19 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'flashloans'] description: > All Balancer v2 flashloans on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/avalanche_c/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/avalanche_c/_schema.yml index 6a0a0a719f3..280da164c7c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/avalanche_c/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c', 'flashloans'] description: > All Balancer v2 flashloans on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/base/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/base/_schema.yml index 3664ca0dbb5..8dc1349aa6a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/base/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/base/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['base', 'flashloans'] description: > All Balancer v2 flashloans on base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/ethereum/_schema.yml index 48e15def9f8..24864ac1632 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'flashloans'] description: > All Balancer v2 flashloans on ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/gnosis/_schema.yml index a7db5e36011..155e2f72ee3 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['gnosis', 'flashloans'] description: > All Balancer v2 flashloans on gnosis - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/optimism/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/optimism/_schema.yml index 64a96dc514f..a8ec8a5e47a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/optimism/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/optimism/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism', 'flashloans'] description: > All Balancer v2 flashloans on optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/polygon/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/polygon/_schema.yml index 305a7252c6c..9248eb11338 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/polygon/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/polygon/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon', 'flashloans'] description: > All Balancer v2 flashloans on polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/zkevm/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/zkevm/_schema.yml index feb6c20d41b..f5ae53d71be 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/zkevm/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/flashloans/zkevm/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['zkevm', 'flashloans'] description: > All Balancer v2 flashloans on zkevm - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/_schema.yml index b014ad151e4..30dcf722f5f 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['balancer', 'amm', 'dex', 'liquidity', 'ethereum', 'arbitrum', 'optimism', 'polygon', 'avalanche_c', 'base', 'zkevm'] description: > Liquidity by token on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/arbitrum/_schema.yml index ca88eb050b8..7dee359805b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'balancer', 'pools', 'liquidity'] description: > Balancer v2 pools liquidity by token in Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/avalanche_c/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/avalanche_c/_schema.yml index cd5e9580b08..d0c6674d7fc 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/avalanche_c/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c', 'balancer', 'pools', 'liquidity'] description: > Balancer v2 pools liquidity by token in Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/base/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/base/_schema.yml index d4b57b38164..4bcfa1dc5be 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/base/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/base/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['base', 'balancer', 'pools', 'liquidity'] description: > Balancer v2 pools liquidity by token in Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/ethereum/_schema.yml index 42866a2e449..1bf694eaf01 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'balancer', 'pools', 'liquidity'] description: > Balancer v2 pools liquidity by token in Ethereum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -72,7 +72,7 @@ models: tags: ['ethereum', 'balancer', 'pools', 'liquidity'] description: > Balancer v1 pools liquidity by token in Ethereum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/gnosis/_schema.yml index d21460430ab..f03929d48b7 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['gnosis', 'balancer', 'pools', 'liquidity'] description: > Balancer v2 pools liquidity by token in Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/optimism/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/optimism/_schema.yml index d41d2cb3e49..05b582f5b6b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/optimism/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/optimism/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism', 'balancer', 'pools', 'liquidity'] description: > Balancer v2 pools liquidity by token in Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/polygon/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/polygon/_schema.yml index 5054f2a9740..dd896b9b847 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/polygon/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/polygon/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon', 'balancer', 'pools', 'liquidity'] description: > Balancer v2 pools liquidity by token in Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/zkevm/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/zkevm/_schema.yml index 67f36eb3b21..2dc47425f83 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/zkevm/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/liquidity/zkevm/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['zkevm', 'balancer', 'pools', 'liquidity'] description: > Balancer v2 pools liquidity by token in Arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/_schema.yml index e4ae7af282d..4da60a4b881 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/_schema.yml @@ -9,7 +9,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'bpt', 'transfers'] description: > Token weights in Balancer pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -25,7 +25,7 @@ models: - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' - tests: + data_tests: - not_null - &token_address name: token_address @@ -43,7 +43,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'balancer', 'pool', 'stats', 'volume', 'tvl', 'fee'] description: > This spell aggregates data from the trades, liquidity and protocol fees spells, by day and pool, while also displaying some basic information about the pool. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -113,7 +113,7 @@ models: - &contract_address name: contract_address description: 'zkevm address for the liquidity pool used in transaction' - tests: + data_tests: - not_null - &evt_tx_hash name: evt_tx_hash @@ -130,7 +130,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'balancer', 'pool', 'stats', 'volume', 'tvl', 'fee'] description: > This spell aggregates data from the trades, liquidity, and protocol fees spells, by pool, while also displaying information about the pool creation. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/arbitrum/_schema.yml index 7b3ed27390a..68d0713ca72 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/arbitrum/_schema.yml @@ -20,7 +20,7 @@ models: - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' - tests: + data_tests: - not_null - &token_address name: token_address @@ -38,7 +38,7 @@ models: tags: ['arbitrum', 'balancer', 'pools', 'tokens', 'weights'] description: > Token weights in Balancer v2 pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/avalanche_c/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/avalanche_c/_schema.yml index 27eee2d82fc..4f7030cc847 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/avalanche_c/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/avalanche_c/_schema.yml @@ -20,7 +20,7 @@ models: - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' - tests: + data_tests: - not_null - &token_address name: token_address @@ -38,7 +38,7 @@ models: tags: ['avalanche_c', 'balancer', 'pools', 'tokens', 'weights'] description: > Token weights in Balancer v2 pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/base/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/base/_schema.yml index 37d569a57c3..2480ad977ec 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/base/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/base/_schema.yml @@ -20,7 +20,7 @@ models: - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' - tests: + data_tests: - not_null - &token_address name: token_address @@ -38,7 +38,7 @@ models: tags: ['base', 'balancer', 'pools', 'tokens', 'weights'] description: > Token weights in Balancer v2 pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/ethereum/_schema.yml index 4f92f1b58ac..60856c24380 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/ethereum/_schema.yml @@ -20,7 +20,7 @@ models: - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' - tests: + data_tests: - not_null - &token_address name: token_address @@ -38,7 +38,7 @@ models: tags: ['ethereum', 'balancer', 'pools', 'tokens', 'weights'] description: > Token weights in Balancer v1 pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id @@ -59,7 +59,7 @@ models: tags: ['ethereum', 'balancer', 'pools', 'tokens', 'weights'] description: > Token weights in Balancer v2 pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/gnosis/_schema.yml index a24d4345cd5..053513dd4ea 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/gnosis/_schema.yml @@ -20,7 +20,7 @@ models: - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' - tests: + data_tests: - not_null - &token_address name: token_address @@ -38,7 +38,7 @@ models: tags: ['gnosis', 'balancer', 'pools', 'tokens', 'weights'] description: > Token weights in Balancer v2 pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/optimism/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/optimism/_schema.yml index 88a17c5195a..2edec5b20e6 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/optimism/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/optimism/_schema.yml @@ -20,7 +20,7 @@ models: - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' - tests: + data_tests: - not_null - &token_address name: token_address @@ -38,7 +38,7 @@ models: tags: ['optimism', 'balancer', 'pools', 'tokens', 'weights'] description: > Token weights in Balancer v2 pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id @@ -59,7 +59,7 @@ models: tags: ['optimism', 'balancer', 'gauges', 'incentives'] description: > Balancer gauge to pool mappings on Optimism. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_contract diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/polygon/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/polygon/_schema.yml index a223aebe4c4..1289f4cb981 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/polygon/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/polygon/_schema.yml @@ -20,7 +20,7 @@ models: - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' - tests: + data_tests: - not_null - &token_address name: token_address @@ -38,7 +38,7 @@ models: tags: ['polygon', 'balancer', 'pools', 'tokens', 'weights'] description: > Token weights in Balancer v2 pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/zkevm/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/zkevm/_schema.yml index cacbbeb205e..2ab0880f496 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/zkevm/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/pools/zkevm/_schema.yml @@ -20,7 +20,7 @@ models: - &pool_id name: pool_id description: 'Unique encoded identifier that refers to each pool' - tests: + data_tests: - not_null - &token_address name: token_address @@ -38,7 +38,7 @@ models: tags: ['zkevm', 'balancer', 'pools', 'tokens', 'weights'] description: > Token weights in Balancer v2 pools. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool_id diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/_schema.yml index ddc320d1692..d4a08fa601a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm', 'fees'] description: > Daily Protocol Fee collected and Revenue by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/arbitrum/_schema.yml index b529565a645..88e0f13e75e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'protocol', 'fees'] description: > Daily Protocol Fee collected and Treasury Revenue by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/avalanche_c/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/avalanche_c/_schema.yml index 536823df10d..4081df19bee 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/avalanche_c/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c', 'revenue', 'fees'] description: > Daily Protocol Fee collected and Revenue by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/base/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/base/_schema.yml index cebb1c312e9..469d2d482d4 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/base/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/base/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['base', 'revenue', 'fees'] description: > Daily Protocol Fee collected and Revenue by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/ethereum/_schema.yml index b6830c20e7e..2de1a5b874b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'revenue', 'fees'] description: > Daily Protocol Fee collected and Revenue by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/gnosis/_schema.yml index defa5e74781..3b1fa8ffdbe 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['gnosis', 'revenue', 'fees'] description: > Daily Protocol Fee collected and Revenue by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/optimism/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/optimism/_schema.yml index 6b096a72bc6..e7e3bfbf87b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/optimism/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/optimism/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism', 'revenue', 'fees'] description: > Daily Protocol Fee collected and Revenue by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/polygon/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/polygon/_schema.yml index b541beceb65..4e216ac455f 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/polygon/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/polygon/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon', 'revenue', 'fees'] description: > Daily Protocol Fee collected and Revenue by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/zkevm/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/zkevm/_schema.yml index b8c5d67a600..1e85c873787 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/zkevm/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/protocol_fee/zkevm/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['zkevm', 'revenue', 'fees'] description: > Daily Protocol Fee collected and Revenue by pool on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/support/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/support/_schema.yml index fbb445cf773..07ad1ae26e0 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/support/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/support/_schema.yml @@ -9,7 +9,7 @@ models: tags: ['arbitrum', 'avalanche_c', 'base', 'ethereum', 'gnosis', 'optimism', 'polygon', 'zkevm'] description: > These tokens are whitelisted to be used as pricing assets on liquidity calculations for weighted pools, due to the trustability of their data. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -34,7 +34,7 @@ models: tags: ['ethereum', 'gauges'] description: > These gauges are deployed by the SingleRecipientGauge contract and this mapping manually links each gauge to it's correspondent pool and project - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - gauge_address diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer/vebal/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer/vebal/ethereum/_schema.yml index ab2ba4d4bdf..cc6fcf96cf5 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer/vebal/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer/vebal/ethereum/_schema.yml @@ -11,7 +11,7 @@ models: description: > Daily balances of veBAL per wallet Depends on veBAL_call_create_lock, veBAL_evt_Deposit and veBAL_evt_Withdraw - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -37,7 +37,7 @@ models: description: > Slope and bias of veBAL per wallet after each balance update Depends on veBAL_call_create_lock, veBAL_evt_Deposit and veBAL_evt_Withdraw - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -70,7 +70,7 @@ models: description: > Records of votes for Balancer gauges by provider at each voting round Depends on GaugeController_evt_VoteForGauge and the vebal_slopes spell - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - round_id diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/_schema.yml index 6903436e6ba..bf1b22cdf8c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/_schema.yml @@ -14,7 +14,7 @@ models: - &day name: day description: "UTC event block time truncated to the day mark" - tests: + data_tests: - not_null - &blockchain name: blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/arbitrum/_schema.yml index 5681ee49933..ee5ebc5c950 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'balancer', 'balances'] description: > ERC20 token rolling sum balances on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -20,7 +20,7 @@ models: - &day name: day description: "UTC event block time truncated to the day mark" - tests: + data_tests: - not_null - &blockchain name: blockchain @@ -44,7 +44,7 @@ models: tags: ['arbitrum', 'balancer', 'pools', 'liquidity'] description: > Balancer CoWSwap AMM pools liquidity by token in arbitrum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/ethereum/_schema.yml index 449024c64fa..e6038d96f6e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'balancer', 'balances'] description: > ERC20 token rolling sum balances on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -20,7 +20,7 @@ models: - &day name: day description: "UTC event block time truncated to the day mark" - tests: + data_tests: - not_null - &blockchain name: blockchain @@ -44,7 +44,7 @@ models: tags: ['ethereum', 'balancer', 'pools', 'liquidity'] description: > Balancer CoWSwap AMM pools liquidity by token in ethereum. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/gnosis/_schema.yml index 75930fd3395..733a07d3e0f 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/balancer_cowswap_amm/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['gnosis', 'balancer', 'balances'] description: > ERC20 token rolling sum balances on Balancer, an automated portfolio manager and trading platform. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day @@ -20,7 +20,7 @@ models: - &day name: day description: "UTC event block time truncated to the day mark" - tests: + data_tests: - not_null - &blockchain name: blockchain @@ -44,7 +44,7 @@ models: tags: ['gnosis', 'balancer', 'pools', 'liquidity'] description: > Balancer CoWSwap AMM pools liquidity by token in gnosis. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml index 76c8f085855..01bc985c01a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/cow_protocol/arbitrum/cow_protocol_arbitrum_schema.yml @@ -20,6 +20,6 @@ models: tags: ['arbitrum','cow_protocol','trades', 'dex', 'aggregator', 'auction'] description: > CoW Protocol enriched batches table on Arbitrum Chain - tests: + data_tests: - unique: column_name: tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_project/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml index 6bd9905aa7b..99823ad5603 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/cow_protocol/ethereum/cow_protocol_ethereum_schema.yml @@ -79,7 +79,7 @@ models: The query contains several measurements between the quoted price on cowswap and the executed price. The price difference between the quote and the actual price is called price improvement and is measured as percentage or in absolute dollars. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - order_uid diff --git a/dbt_subprojects/hourly_spellbook/models/_project/ens/ens_ethereum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/ens/ens_ethereum_schema.yml index c0f60904105..24d1074f9c6 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/ens/ens_ethereum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/ens/ens_ethereum_schema.yml @@ -115,13 +115,13 @@ models: columns: - name: address description: "The ETH address" - tests: + data_tests: - unique - name: name description: "The reverse ENS name" - name: address_node description: "The node (namehash) of the address reverse record" - tests: + data_tests: - unique - name: latest_tx_hash description: "Latest transaction hash setting the reverse ENS" @@ -140,7 +140,7 @@ models: columns: - name: node description: "The node, the namehash of the ENS name" - tests: + data_tests: - unique - name: name description: "The ENS name" @@ -194,11 +194,11 @@ models: columns: - name: name description: "The ENS name" - tests: + data_tests: - unique - name: node description: "The node, the namehash of the ENS name" - tests: + data_tests: - unique - name: address description: "The resolver address of the ENS name" @@ -217,7 +217,7 @@ models: config: tags: ['ethereum','ens','ethereum_name_service','ethereumnameservice','setname','latest'] description: "View the latest ENS set name records" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/hourly_spellbook/models/_project/lido/accounting/ethereum/lido_accounting_ethereum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/lido/accounting/ethereum/lido_accounting_ethereum_schema.yml index 7903ec3a23d..f74ded07fef 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/lido/accounting/ethereum/lido_accounting_ethereum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/lido/accounting/ethereum/lido_accounting_ethereum_schema.yml @@ -29,7 +29,7 @@ models: config: tags: [ 'ethereum', 'lido', 'staking', 'accounting' ] description: "ETH deposits to Lido" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_project/lido/lido_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/lido/lido_schema.yml index eae9a28555a..4af9f6db5b8 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/lido/lido_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/lido/lido_schema.yml @@ -60,7 +60,7 @@ models: tags: ['ethereum','optimism','arbitrum','polygon','lido','liquidity'] description: Lido wstETH liquidity pools - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/arbitrum/lido_liquidity_arbitrum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/arbitrum/lido_liquidity_arbitrum_schema.yml index 40ad0c133eb..40660ba6c86 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/arbitrum/lido_liquidity_arbitrum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/arbitrum/lido_liquidity_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum','lido','liquidity'] description: Lido wstETH liquidity pools on Kyberswap Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -72,7 +72,7 @@ models: tags: ['arbitrum','lido','liquidity'] description: Lido wstETH liquidity pools on Camelot Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -104,7 +104,7 @@ models: tags: ['arbitrum','lido','liquidity'] description: Lido wstETH liquidity pools on Uniswap v3 Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -136,7 +136,7 @@ models: tags: ['arbitrum','lido','liquidity'] description: Lido wstETH liquidity pools on Balancer Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -168,7 +168,7 @@ models: tags: ['arbitrum','lido','liquidity'] description: Lido wstETH liquidity pools on Curve Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -200,7 +200,7 @@ models: tags: ['arbitrum','lido','liquidity'] description: Lido wstETH liquidity pools on Ramses DEX Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/base/lido_liquidity_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/base/lido_liquidity_base_schema.yml index 7294da30c46..83d89f8ef7c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/base/lido_liquidity_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/base/lido_liquidity_base_schema.yml @@ -10,7 +10,7 @@ models: tags: ['base','lido','liquidity'] description: Lido wstETH liquidity pools on Kyberswap Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -72,7 +72,7 @@ models: tags: ['base','lido','liquidity'] description: Lido wstETH liquidity pools on Aerodrome Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -104,7 +104,7 @@ models: tags: ['base','lido','liquidity'] description: Lido wstETH liquidity pools on Uniswap v3 Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/bnb/lido_liquidity_bnb_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/bnb/lido_liquidity_bnb_schema.yml index 495e2002435..447620262c1 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/bnb/lido_liquidity_bnb_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/bnb/lido_liquidity_bnb_schema.yml @@ -10,7 +10,7 @@ models: tags: ['bnb','lido','liquidity'] description: Lido wstETH liquidity pools on Pancake v3 BNB Chain - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/ethereum/lido_liquidity_ethereum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/ethereum/lido_liquidity_ethereum_schema.yml index 02046c40a81..b5ce039515c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/ethereum/lido_liquidity_ethereum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/ethereum/lido_liquidity_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum','lido','liquidity'] description: Lido wstETH liquidity pools on Kyberswap Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -72,7 +72,7 @@ models: tags: ['ethereum','lido','liquidity'] description: Lido wstETH liquidity pools on Uniswap v3 Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -104,7 +104,7 @@ models: tags: ['ethereum','lido','liquidity'] description: Lido main stETH liquidity pool on Curve Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -136,7 +136,7 @@ models: tags: ['ethereum','lido','liquidity'] description: Lido concentrated stETH liquidity pool on Curve Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -168,7 +168,7 @@ models: tags: ['ethereum','lido','liquidity'] description: Lido stETH NG liquidity pool on Curve Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -200,7 +200,7 @@ models: tags: ['ethereum','lido','liquidity'] description: Lido stETH-frxETH liquidity pool on Curve Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -232,7 +232,7 @@ models: tags: ['ethereum','lido','liquidity'] description: Lido wstETH-rETH liquidity pool on Curve Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -265,7 +265,7 @@ models: tags: ['ethereum','lido','liquidity'] description: Lido wstETH liquidity pools on Maverick Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/linea/lido_liquidity_linea_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/linea/lido_liquidity_linea_schema.yml index 2a557dd3ba8..4cc62ce22b7 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/linea/lido_liquidity_linea_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/linea/lido_liquidity_linea_schema.yml @@ -10,7 +10,7 @@ models: tags: ['linea','lido','liquidity'] description: Lido wstETH liquidity pools on SyncSwap Linea - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/optimism/lido_liquidity_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/optimism/lido_liquidity_optimism_schema.yml index a4c1c9eaf89..85ed33444a3 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/optimism/lido_liquidity_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/optimism/lido_liquidity_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism','lido','liquidity'] description: Lido wstETH liquidity pools on Kyberswap Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -72,7 +72,7 @@ models: tags: ['optimism','lido','liquidity'] description: Lido wstETH liquidity pools on Uniswap v3 Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -104,7 +104,7 @@ models: tags: ['optimism','lido','liquidity'] description: Lido wstETH liquidity pools on Balancer Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -136,7 +136,7 @@ models: tags: ['optimism','lido','liquidity'] description: Lido wstETH liquidity pools on Curve Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -168,7 +168,7 @@ models: tags: ['optimism','lido','liquidity'] description: Lido wstETH liquidity pools on Velodrome Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -200,7 +200,7 @@ models: tags: ['optimism','lido','liquidity'] description: Lido wstETH liquidity pools on Velodrome V2 Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/polygon/lido_liquidity_polygon_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/polygon/lido_liquidity_polygon_schema.yml index f5012143a1e..ce5c587cadd 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/polygon/lido_liquidity_polygon_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/polygon/lido_liquidity_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon','lido','liquidity'] description: Lido wstETH liquidity pools on Balancer Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool @@ -72,7 +72,7 @@ models: tags: ['polygon','lido','liquidity'] description: Lido wstETH liquidity pools on Uniswap v3 Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/scroll/lido_liquidity_scroll_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/scroll/lido_liquidity_scroll_schema.yml index 0432acccca3..da09156592c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/scroll/lido_liquidity_scroll_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/scroll/lido_liquidity_scroll_schema.yml @@ -10,7 +10,7 @@ models: tags: ['zksync','lido','liquidity'] description: Lido wstETH liquidity pools on SyncSwap Scroll - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/zksync/lido_liquidity_zksync_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/zksync/lido_liquidity_zksync_schema.yml index 87a38523a30..93a843ca8c6 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/zksync/lido_liquidity_zksync_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/lido/liquidity/zksync/lido_liquidity_zksync_schema.yml @@ -10,7 +10,7 @@ models: tags: ['zksync','lido','liquidity'] description: Lido wstETH liquidity pools on SyncSwap Zksync - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pool diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/arbitrum/safe_arbitrum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/arbitrum/safe_arbitrum_schema.yml index 9ac9a33d97b..269628b66e5 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/arbitrum/safe_arbitrum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/arbitrum/safe_arbitrum_schema.yml @@ -16,7 +16,7 @@ models: - &address name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -124,7 +124,7 @@ models: config: tags: ['safe', 'transfers', 'arbitrum'] description: "ETH transfers into or out of Safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/avalanche_c/safe_avalanche_c_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/avalanche_c/safe_avalanche_c_schema.yml index fc634ab715f..c446cffc6c0 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/avalanche_c/safe_avalanche_c_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/avalanche_c/safe_avalanche_c_schema.yml @@ -16,7 +16,7 @@ models: - &address name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -124,7 +124,7 @@ models: config: tags: ['safe', 'transfers', 'avalanche_c'] description: "AVAX transfers into or out of Safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/base/safe_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/base/safe_base_schema.yml index 94720419b24..4e73519cadc 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/base/safe_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/base/safe_base_schema.yml @@ -78,7 +78,7 @@ models: columns: - name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/blast/safe_blast_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/blast/safe_blast_schema.yml index 3795d72bcd5..f30a2749d03 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/blast/safe_blast_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/blast/safe_blast_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['safe', 'blast'] description: "Safe addresses" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: config: tags: ['safe', 'transfers', 'blast'] description: "Eth transfers for safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -81,7 +81,7 @@ models: columns: - name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -93,7 +93,7 @@ models: config: tags: ['safe', 'blast'] description: "Safe transactions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/bnb/safe_bnb_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/bnb/safe_bnb_schema.yml index 1d3b64e19ba..3954c7430a6 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/bnb/safe_bnb_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/bnb/safe_bnb_schema.yml @@ -16,7 +16,7 @@ models: - &address name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -124,7 +124,7 @@ models: config: tags: ['safe', 'transfers', 'bnb'] description: "BNB transfers into or out of Safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/celo/safe_celo_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/celo/safe_celo_schema.yml index 20e482e7d8f..3ced0eea607 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/celo/safe_celo_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/celo/safe_celo_schema.yml @@ -16,7 +16,7 @@ models: - &address name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -124,7 +124,7 @@ models: config: tags: ['safe', 'transfers', 'celo'] description: "CELO transfers into or out of Safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/ethereum/_schema.yml index 387f18b8034..501fd6d00ac 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/ethereum/_schema.yml @@ -37,7 +37,7 @@ models: config: tags: ['safe', 'transfers', 'ethereum'] description: "Eth transfers for safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -75,7 +75,7 @@ models: columns: - name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -137,7 +137,7 @@ models: description: "Output data" - name: safe_ethereum_signer_thresholds - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -156,7 +156,7 @@ models: description: "Number of signer threshold" - name: safe_ethereum_balances - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/fantom/safe_fantom_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/fantom/safe_fantom_schema.yml index 6b542490468..25be69cea4e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/fantom/safe_fantom_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/fantom/safe_fantom_schema.yml @@ -16,7 +16,7 @@ models: - &address name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/gnosis/safe_gnosis_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/gnosis/safe_gnosis_schema.yml index 9e837781015..11d5459a77e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/gnosis/safe_gnosis_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/gnosis/safe_gnosis_schema.yml @@ -16,7 +16,7 @@ models: - &address name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -124,7 +124,7 @@ models: config: tags: ['safe', 'transfers', 'gnosis'] description: "xDAI transfers into or out of Safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/goerli/safe_goerli_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/goerli/safe_goerli_schema.yml index 7ecb4a395dc..a5a4339fabe 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/goerli/safe_goerli_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/goerli/safe_goerli_schema.yml @@ -16,7 +16,7 @@ models: - &address name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -124,7 +124,7 @@ models: config: tags: ['safe', 'transfers', 'goerli'] description: "ETH transfers into or out of Safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/linea/safe_linea_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/linea/safe_linea_schema.yml index ba3782bfdd4..a08fbe09642 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/linea/safe_linea_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/linea/safe_linea_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['safe', 'linea'] description: "Safe addresses" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: config: tags: ['safe', 'transfers', 'linea'] description: "Eth transfers for safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -81,7 +81,7 @@ models: columns: - name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -93,7 +93,7 @@ models: config: tags: ['safe', 'linea'] description: "Safe transactions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/mantle/safe_mantle_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/mantle/safe_mantle_schema.yml index 1dcf7c5e6bb..a91a8df6173 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/mantle/safe_mantle_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/mantle/safe_mantle_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['safe', 'mantle'] description: "Safe addresses" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -48,7 +48,7 @@ models: config: tags: ['safe', 'transfers', 'mantle'] description: "MNT transfers for safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -102,7 +102,7 @@ models: config: tags: ['safe', 'mantle'] description: "Safe transactions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/optimism/safe_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/optimism/safe_optimism_schema.yml index 709a1bf5ee1..f7ea3fc9a8e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/optimism/safe_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/optimism/safe_optimism_schema.yml @@ -45,7 +45,7 @@ models: columns: - name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -124,7 +124,7 @@ models: config: tags: ['safe', 'transfers', 'optimism'] description: "ETH transfers into or out of Safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -151,7 +151,7 @@ models: description: "USD amount of transferred ETH" - name: safe_optimism_balances - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/polygon/safe_polygon_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/polygon/safe_polygon_schema.yml index 14a9a291611..ab3a92f347c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/polygon/safe_polygon_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/polygon/safe_polygon_schema.yml @@ -16,7 +16,7 @@ models: - &address name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -60,7 +60,7 @@ models: config: tags: ['safe', 'transfers', 'polygon'] description: "MATIC transfers into or out of Safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -153,7 +153,7 @@ models: description: "Output data" - name: safe_polygon_balances - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/safe_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/safe_schema.yml index 03c66d2d8e4..84370178fec 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/safe_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/safe_schema.yml @@ -103,7 +103,7 @@ models: config: tags: ['arbitrum', 'avalanche_c', 'base', 'blast', 'bnb', 'celo','ethereum', 'gnosis', 'goerli', 'linea', 'mantle', 'optimism', 'polygon', 'safe', 'scroll', 'worldchain', 'zkevm', 'zksync'] description: "Native gas token transfers into or out of Safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/scroll/safe_scroll_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/scroll/safe_scroll_schema.yml index a78d7b1b677..e5c5aec30ca 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/scroll/safe_scroll_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/scroll/safe_scroll_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['safe', 'scroll'] description: "Safe addresses" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -48,7 +48,7 @@ models: config: tags: ['safe', 'transfers', 'scroll'] description: "ETH transfers for safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -102,7 +102,7 @@ models: config: tags: ['safe', 'scroll'] description: "Safe transactions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/worldchain/safe_worldchain_safes.sql b/dbt_subprojects/hourly_spellbook/models/_project/safe/worldchain/safe_worldchain_safes.sql index e3b57a2185d..54b710b8d06 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/worldchain/safe_worldchain_safes.sql +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/worldchain/safe_worldchain_safes.sql @@ -16,7 +16,7 @@ ) }} -{% set project_start_date = '2024-10-01' %} +{% set project_start_date = '2024-06-30' %} select 'worldchain' as blockchain, diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/worldchain/safe_worldchain_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/worldchain/safe_worldchain_schema.yml index 0d662515cf2..fa0f4fca473 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/worldchain/safe_worldchain_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/worldchain/safe_worldchain_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['safe', 'worldchain'] description: "Safe addresses" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -48,7 +48,7 @@ models: config: tags: ['safe', 'transfers', 'worldchain'] description: "ETH transfers for safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -102,7 +102,7 @@ models: config: tags: ['safe', 'worldchain'] description: "Safe transactions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/zkevm/safe_zkevm_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/zkevm/safe_zkevm_schema.yml index c93351f74d1..e48894b19a8 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/zkevm/safe_zkevm_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/zkevm/safe_zkevm_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['safe', 'zkevm'] description: "Safe addresses" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -48,7 +48,7 @@ models: config: tags: ['safe', 'transfers', 'zkevm'] description: "MATIC transfers for safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -102,7 +102,7 @@ models: config: tags: ['safe', 'zkevm'] description: "Safe transactions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_project/safe/zksync/safe_zksync_schema.yml b/dbt_subprojects/hourly_spellbook/models/_project/safe/zksync/safe_zksync_schema.yml index dc023775385..f441fc2751d 100644 --- a/dbt_subprojects/hourly_spellbook/models/_project/safe/zksync/safe_zksync_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_project/safe/zksync/safe_zksync_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['safe', 'zksync'] description: "Safe addresses" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -48,7 +48,7 @@ models: config: tags: ['safe', 'transfers', 'zksync'] description: "Eth transfers for safes" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -91,7 +91,7 @@ models: columns: - name: address description: "Safe contract address" - tests: + data_tests: - unique - not_null @@ -163,5 +163,5 @@ models: - &unique_key name: unique_key description: unique row identifier - tests: + data_tests: - unique diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/abi/abi_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/abi/abi_schema.yml index a94bada193a..30c068f253b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/abi/abi_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/abi/abi_schema.yml @@ -31,6 +31,6 @@ models: - &unique_signature_id name: unique_signature_id description: unique signature id - tests: + data_tests: - unique - not_null \ No newline at end of file diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/arbitrum/_schema.yml index 16dc4fe00c5..3591274e014 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/arbitrum/_schema.yml @@ -81,7 +81,7 @@ models: config: tags: ["arbitrum", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 user operation on arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash @@ -194,7 +194,7 @@ models: config: tags: ["arbitrum", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 account deployed on arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/avalanche_c/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/avalanche_c/_schema.yml index 85d36805374..a87c0881a61 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/avalanche_c/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/avalanche_c/_schema.yml @@ -79,7 +79,7 @@ models: config: tags: ["avalanche_c", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 user operation on avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash @@ -193,7 +193,7 @@ models: config: tags: ["avalanche_c", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 account deployed on avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/base/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/base/_schema.yml index 2e61437f68b..4398ee1ea4a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/base/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/base/_schema.yml @@ -58,7 +58,7 @@ models: config: tags: ["base", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 user operation on base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash @@ -139,7 +139,7 @@ models: config: tags: ["base", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 account deployed on base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/bnb/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/bnb/_schema.yml index a7c562c10d2..e2bfca09d6c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/bnb/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/bnb/_schema.yml @@ -58,7 +58,7 @@ models: config: tags: ["bnb", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 user operation on bnb" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash @@ -139,7 +139,7 @@ models: config: tags: ["bnb", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 account deployed on bnb" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/celo/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/celo/_schema.yml index 70e80387432..6727fd7a848 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/celo/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/celo/_schema.yml @@ -58,7 +58,7 @@ models: config: tags: ["celo", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 user operation on celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash @@ -139,7 +139,7 @@ models: config: tags: ["celo", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 account deployed on celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/ethereum/_schema.yml index c247b760ced..50f448657ff 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/ethereum/_schema.yml @@ -81,7 +81,7 @@ models: config: tags: ["ethereum", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 user operation on ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash @@ -193,7 +193,7 @@ models: config: tags: ["ethereum", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 account deployed on ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/gnosis/_schema.yml index 2521f84f038..4d463d03435 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/gnosis/_schema.yml @@ -81,7 +81,7 @@ models: config: tags: ["gnosis", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 user operation on gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash @@ -194,7 +194,7 @@ models: config: tags: ["gnosis", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 account deployed on gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/optimism/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/optimism/_schema.yml index 1c6b52d60f5..aee68143d5c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/optimism/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/optimism/_schema.yml @@ -81,7 +81,7 @@ models: config: tags: ["optimism", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 user operation on optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash @@ -195,7 +195,7 @@ models: config: tags: ["optimism", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 account deployed on optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/polygon/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/polygon/_schema.yml index 7bac0bebdb0..53d62431d01 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/polygon/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/polygon/_schema.yml @@ -81,7 +81,7 @@ models: config: tags: ["polygon", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 user operation on polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash @@ -195,7 +195,7 @@ models: config: tags: ["polygon", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 account deployed on polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/zora/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/zora/_schema.yml index df82f876172..30779598545 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/zora/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/account_abstraction/erc4337/zora/_schema.yml @@ -58,7 +58,7 @@ models: config: tags: ["zora", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 user operation on zora" - tests: + data_tests: - check_seed: seed_file: ref('account_abstraction_erc4337_userops_seed') filter: @@ -135,7 +135,7 @@ models: config: tags: ["zora", "erc4337", "account", "abstraction", "entrypoint"] description: "erc4337 account deployed on zora" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - userop_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/addresses_events_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/addresses_events_schema.yml index a002c49780b..8c76880dfd0 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/addresses_events_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/addresses_events_schema.yml @@ -11,7 +11,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'mainnets', 'crosschain'] description: "Table showing what chain an address was first funded on and its details" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/arbitrum/addresses_events_arbitrum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/arbitrum/addresses_events_arbitrum_schema.yml index 084196720e2..b05024dbfbc 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/arbitrum/addresses_events_arbitrum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/arbitrum/addresses_events_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'arbitrum'] description: "Table showing who first funded each Arbitrum address in ETH" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned Arbitrum address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'arbitrum'] description: "Table showing first activity of each Arbitrum Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned Arbitrum Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/avalanche_c/addresses_events_avalanche_c_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/avalanche_c/addresses_events_avalanche_c_schema.yml index 0c5ce6596d4..058c28ab9ad 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/avalanche_c/addresses_events_avalanche_c_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/avalanche_c/addresses_events_avalanche_c_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'avalanche_c'] description: "Table showing who first funded each Avalanche address in AVAX" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned Avalanche address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'avalanche_c'] description: "Table showing first activity of each Avalanche_c Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned Avalanche_c Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/base/addresses_events_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/base/addresses_events_base_schema.yml index 9f844f11e70..85b3ec4fead 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/base/addresses_events_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/base/addresses_events_base_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'base'] description: "Table showing who first funded each base address in ETH" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned base address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'base'] description: "Table showing first activity of each base Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned base Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/bitcoin/addresses_events_bitcoin_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/bitcoin/addresses_events_bitcoin_schema.yml index 76daf363213..8375866119c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/bitcoin/addresses_events_bitcoin_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/bitcoin/addresses_events_bitcoin_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'bitcoin'] description: "Table showing who first funded each Bitcoin address in BTC" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed_bitcoin') filter: @@ -26,7 +26,7 @@ models: description: "Blockchain" - name: address description: "Concerned Bitcoin address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/bnb/addresses_events_bnb_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/bnb/addresses_events_bnb_schema.yml index c0a70b093f6..fdc5669ca98 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/bnb/addresses_events_bnb_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/bnb/addresses_events_bnb_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'bnb'] description: "Table showing who first funded each BNB address in BNB" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned BNB address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'bnb'] description: "Table showing first activity of each Binance Chain Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned Binance Chain Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/celo/addresses_events_celo_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/celo/addresses_events_celo_schema.yml index 4a43f41b0d8..86ec27001fb 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/celo/addresses_events_celo_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/celo/addresses_events_celo_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'celo'] description: "Table showing who first funded each Celo address in CELO" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned Celo address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/ethereum/addresses_events_ethereum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/ethereum/addresses_events_ethereum_schema.yml index 50863ff36c4..54b2d07884d 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/ethereum/addresses_events_ethereum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/ethereum/addresses_events_ethereum_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'ethereum'] description: "Table showing who first funded each Ethereum address in ETH" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned Ethereum address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'ethereum'] description: "Table showing first activity of each Ethereum Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned Ethereum Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/fantom/addresses_events_fantom_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/fantom/addresses_events_fantom_schema.yml index dbf68bac23f..5bd3557eb54 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/fantom/addresses_events_fantom_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/fantom/addresses_events_fantom_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'fantom'] description: "Table showing who first funded each Fantom address in FTM" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned Fantom address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'fantom'] description: "Table showing first activity of each Fantom Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned fantom Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/gnosis/addresses_events_gnosis_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/gnosis/addresses_events_gnosis_schema.yml index c6a2c85edf4..1cae6101445 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/gnosis/addresses_events_gnosis_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/gnosis/addresses_events_gnosis_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'gnosis'] description: "Table showing who first funded each Gnosis address in xDAI" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned Gnosis address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'gnosis'] description: "Table showing first activity of each Gnosis Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned Gnosis Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/goerli/addresses_events_goerli_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/goerli/addresses_events_goerli_schema.yml index 80d5ababcf3..234ccc80443 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/goerli/addresses_events_goerli_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/goerli/addresses_events_goerli_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'goerli'] description: "Table showing who first funded each Goerli address in testnet ETH" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned goerli address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -58,7 +58,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'goerli'] description: "Table showing first activity of each goerli Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -74,7 +74,7 @@ models: description: "Blockchain" - name: address description: "Concerned goerli Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/linea/addresses_events_linea_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/linea/addresses_events_linea_schema.yml index ebbee7d4fcf..8bb350f0313 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/linea/addresses_events_linea_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/linea/addresses_events_linea_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'linea'] description: "Table showing who first funded each Linea address in ETH" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned linea address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -58,7 +58,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'linea'] description: "Table showing first activity of each linea Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -74,7 +74,7 @@ models: description: "Blockchain" - name: address description: "Concerned linea Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/mantle/addresses_events_mantle_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/mantle/addresses_events_mantle_schema.yml index b3726ac61a3..645bcc2577a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/mantle/addresses_events_mantle_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/mantle/addresses_events_mantle_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'mantle'] description: "Table showing who first funded each Mantle address in MNT" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned mantle address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'mantle'] description: "Table showing first activity of each Mantle Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned mantle Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/optimism/addresses_events_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/optimism/addresses_events_optimism_schema.yml index ffe814b70b1..d0bc8297ef9 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/optimism/addresses_events_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/optimism/addresses_events_optimism_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'optimism'] description: "Table showing who first funded each Optimism address in ETH" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -26,7 +26,7 @@ models: description: "Blockchain" - name: address description: "Concerned Optimism address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -58,7 +58,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'optimism'] description: "Table showing first activity of each OP Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -74,7 +74,7 @@ models: description: "Blockchain" - name: address description: "Concerned OP Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" @@ -103,7 +103,7 @@ models: description: "Blockchain" - name: address description: "Concerned OP Mainnet address" - tests: + data_tests: - unique - name: first_to_addresses_path description: "First transaction to addresses path" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/polygon/addresses_events_polygon_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/polygon/addresses_events_polygon_schema.yml index 66b6e2fd82b..1fcdbc67304 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/polygon/addresses_events_polygon_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/polygon/addresses_events_polygon_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'polygon'] description: "Table showing who first funded each Polygon address in MATIC" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned Polygon address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'polygon'] description: "Table showing first activity of each Polygon Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned Polygon Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/scroll/addresses_events_scroll_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/scroll/addresses_events_scroll_schema.yml index 6baeb104e6f..2bdc68cf4d1 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/scroll/addresses_events_scroll_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/scroll/addresses_events_scroll_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'scroll'] description: "Table showing who first funded each scroll address in ETH" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned scroll address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'scroll'] description: "Table showing first activity of each scroll Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned scroll Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/sei/addresses_events_sei_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/sei/addresses_events_sei_schema.yml index 3b867b893e1..5cca0c60113 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/sei/addresses_events_sei_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/sei/addresses_events_sei_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'sei'] description: "Table showing who first funded each Sei address in SEI" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned sei address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'sei'] description: "Table showing first activity of each Sei Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned sei Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/sepolia/addresses_events_sepolia_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/sepolia/addresses_events_sepolia_schema.yml index 45be1d6f0cf..81191e9330e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/sepolia/addresses_events_sepolia_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/sepolia/addresses_events_sepolia_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'sepolia'] description: "Table showing who first funded each Sepolia address in testnet ETH" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned sepolia address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -58,7 +58,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'sepolia'] description: "Table showing first activity of each Sepolia Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -74,7 +74,7 @@ models: description: "Blockchain" - name: address description: "Concerned sepolia Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/solana/addresses_events_solana_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/solana/addresses_events_solana_schema.yml index 07d65840954..bb4d6ee7620 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/solana/addresses_events_solana_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/solana/addresses_events_solana_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'solana'] description: "Table showing who first funded each Solana address in SOL" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed_solana') filter: @@ -28,7 +28,7 @@ models: description: "Blockchain" - name: address description: "Concerned Solana address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zkevm/addresses_events_zkevm_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zkevm/addresses_events_zkevm_schema.yml index 7666659bb5c..64a160af6a7 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zkevm/addresses_events_zkevm_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zkevm/addresses_events_zkevm_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'zkevm'] description: "Table showing who first funded each zkevm address in ETH" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned zkevm address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'zkevm'] description: "Table showing first activity of each zkevm Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned zkevm Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zksync/addresses_events_zksync_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zksync/addresses_events_zksync_schema.yml index 4c646f53ff8..90d06ec29cc 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zksync/addresses_events_zksync_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zksync/addresses_events_zksync_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'zksync'] description: "Table showing who first funded each zksync address in ETH" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned zksync address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'zksync'] description: "Table showing first activity of each zksync Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned zksync Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zora/addresses_events_zora_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zora/addresses_events_zora_schema.yml index 0addcbf60dd..77197349962 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zora/addresses_events_zora_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/addresses_events/zora/addresses_events_zora_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['table', 'funded', 'addresses_events', 'zora'] description: "Table showing who first funded each zora address in ETH" - tests: + data_tests: - check_seed: seed_file: ref('first_funded_by_seed') filter: @@ -27,7 +27,7 @@ models: description: "Blockchain" - name: address description: "Concerned zksync address" - tests: + data_tests: - unique - name: first_funding_executed_by description: "Which address executed the first funding tx" @@ -59,7 +59,7 @@ models: config: tags: ['table', 'activity', 'addresses_events', 'zora'] description: "Table showing first activity of each zora Mainnet address" - tests: + data_tests: - check_seed: seed_file: ref('first_activity_seed') filter: @@ -75,7 +75,7 @@ models: description: "Blockchain" - name: address description: "Concerned zora Mainnet address" - tests: + data_tests: - unique - name: first_activity_to description: "First transaction activity to address" diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/blobs/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/blobs/ethereum/_schema.yml index c948df3a2c4..8becf50809a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/blobs/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/blobs/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['blob', 'ethereum',] description: Blob table but enriched with size, blob version hash, blob submitter, base fee, .. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - beacon_slot_number @@ -20,7 +20,7 @@ models: description: "UTC slot time of the beacon slot" - name: blob_versioned_hash description: "hash of the blob" - tests: + data_tests: - not_null - &beacon_epoch name: beacon_epoch @@ -51,7 +51,7 @@ models: - &blob_base_fee name: blob_base_fee description: "the base fee (wei) per blob gas" - tests: + data_tests: - not_null - &max_fee_per_blob_gas name: max_fee_per_blob_gas @@ -69,7 +69,7 @@ models: config: tags: ['blob', 'blobs', 'BLOB_TX_TYPE', 'L1', 'transaction'] description: Blob submission transactions. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -110,7 +110,7 @@ models: config: tags: ['blob', 'blobs', 'ethereum'] description: Blob submitting address tags - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -131,7 +131,7 @@ models: config: tags: ['blob', 'blobs', 'ethereum'] description: Blob submitting address tags - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/blobs/ethereum/blobs_submitters.sql b/dbt_subprojects/hourly_spellbook/models/_sector/blobs/ethereum/blobs_submitters.sql index 1d5b70497dd..f5f4f41d9ed 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/blobs/ethereum/blobs_submitters.sql +++ b/dbt_subprojects/hourly_spellbook/models/_sector/blobs/ethereum/blobs_submitters.sql @@ -26,6 +26,7 @@ SELECT address , (0x99526b0e49a95833e734eb556a6abaffab0ee167, 'PGN', 'pgn_eth') , (0xc70ae19b5feaa5c19f576e621d2bad9771864fe2, 'Paradex', 'tradeparadex') , (0xa9268341831eFa4937537bc3e9EB36DbecE83C7e, 'Linea', 'LineaBuild') + , (0x46d2f319fd42165d4318f099e143dea8124e9e3e, 'Linea', 'LineaBuild') , (0xc94c243f8fb37223f3eb2f7961f7072602a51b8b, 'Metal', 'Metal_L2') , (0xe1b64045351b0b6e9821f19b39f81bc4711d2230, 'Boba Network', 'bobanetwork') , (0x08f9f14ff43e112b18c96f0986f28cb1878f1d11, 'Camp Network', 'Camp_L2') diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/_schema.yml index e3fba19548e..f725705523d 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['dex', 'ethereum', 'bnb', 'avalanche_c', 'optimism', 'arbitrum', 'polygon', 'fantom', 'base', 'zksync', 'celo', 'zora', 'info'] description: > CEXs info - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - cex_name diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/cex_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/cex_schema.yml index f621307a369..e6ba475d8eb 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/cex_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/cex_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals'] description: "All CEX-tied addresses identified across EVM chains" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - address @@ -20,7 +20,7 @@ models: description: "Name of centralised exchange" - name: distinct_name description: "Distinct name of centralised exchange address" - tests: + data_tests: - unique - name: added_by description: "Who added the address" @@ -35,7 +35,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'ethereum', 'bnb', 'avalanche_c', 'optimism', 'arbitrum', 'polygon', 'bitcoin', 'fantom'] description: "All CEX-tied addresses identified" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/algorand/cex_algorand_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/algorand/cex_algorand_schema.yml index 432e5e75f7d..e437b03649e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/algorand/cex_algorand_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/algorand/cex_algorand_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'algorand'] description: "All CEX-tied addresses identified on Algorand" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/aptos/cex_aptos_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/aptos/cex_aptos_schema.yml index e2bd27cf73d..b82d6b6302f 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/aptos/cex_aptos_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/aptos/cex_aptos_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'aptos'] description: "All CEX-tied addresses identified on Aptos" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/arbitrum/cex_arbitrum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/arbitrum/cex_arbitrum_schema.yml index 4b4d7e27877..4b204408bc9 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/arbitrum/cex_arbitrum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/arbitrum/cex_arbitrum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'arbitrum'] description: "All CEX-tied addresses identified on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/avalanche_c/cex_avalanche_c_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/avalanche_c/cex_avalanche_c_schema.yml index 13f09a848ef..c51fef597aa 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/avalanche_c/cex_avalanche_c_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/avalanche_c/cex_avalanche_c_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'avalanche_c'] description: "All CEX-tied addresses identified on Avalanche" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/base/cex_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/base/cex_base_schema.yml index bc161f7c071..4e553f5b8d7 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/base/cex_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/base/cex_base_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'base'] description: "All CEX-tied addresses identified on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/bitcoin/cex_bitcoin_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/bitcoin/cex_bitcoin_schema.yml index 157aee1f71d..162bc9e88b2 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/bitcoin/cex_bitcoin_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/bitcoin/cex_bitcoin_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'bitcoin'] description: "All CEX-tied addresses identified on Bitcoin" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/bnb/cex_bnb_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/bnb/cex_bnb_schema.yml index 28c9d441124..68774a5b9aa 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/bnb/cex_bnb_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/bnb/cex_bnb_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'bnb'] description: "All CEX-tied addresses identified on BNB" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/cardano/cex_cardano_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/cardano/cex_cardano_schema.yml index 0c53c49429f..3b7f6c2f374 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/cardano/cex_cardano_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/cardano/cex_cardano_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'cardano'] description: "All CEX-tied addresses identified on Cardano" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/celo/cex_celo_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/celo/cex_celo_schema.yml index 84afdc0c36c..714090f155d 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/celo/cex_celo_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/celo/cex_celo_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'celo'] description: "All CEX-tied addresses identified on zkSync" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/cosmos/cex_cosmos_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/cosmos/cex_cosmos_schema.yml index e9691716f79..681e4e4ba31 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/cosmos/cex_cosmos_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/cosmos/cex_cosmos_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'cosmos'] description: "All CEX-tied addresses identified on Cosmos" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/elrond/cex_elrond_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/elrond/cex_elrond_schema.yml index a522127a2f2..96de2dfd116 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/elrond/cex_elrond_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/elrond/cex_elrond_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'elrond'] description: "All CEX-tied addresses identified on Elrond" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/eos/cex_eos_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/eos/cex_eos_schema.yml index 1d5d01c79ef..b1fe3a0008b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/eos/cex_eos_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/eos/cex_eos_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'eos'] description: "All CEX-tied addresses identified on EOS" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/ethereum/cex_ethereum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/ethereum/cex_ethereum_schema.yml index 4ff4eae8688..ef5db8d15b1 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/ethereum/cex_ethereum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/ethereum/cex_ethereum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'ethereum'] description: "All CEX-tied addresses identified on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/fantom/cex_fantom_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/fantom/cex_fantom_schema.yml index 5534edfabf7..1d42959fc0a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/fantom/cex_fantom_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/fantom/cex_fantom_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'fantom'] description: "All CEX-tied addresses identified on Fantom" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/gnosis/cex_gnosis_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/gnosis/cex_gnosis_schema.yml index 607cab54389..4b3137df8b8 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/gnosis/cex_gnosis_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/gnosis/cex_gnosis_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'gnosis'] description: "All CEX-tied addresses identified on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/injective/cex_injective_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/injective/cex_injective_schema.yml index b5ccd2cd626..ea4a98c8658 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/injective/cex_injective_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/injective/cex_injective_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'injective'] description: "All CEX-tied addresses identified on Injective" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/linea/cex_linea_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/linea/cex_linea_schema.yml index 45912fcfc6e..9413d619fc1 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/linea/cex_linea_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/linea/cex_linea_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'linea'] description: "All CEX-tied addresses identified on Linea" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/litecoin/cex_litecoin_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/litecoin/cex_litecoin_schema.yml index 64284c81ada..31fa604462a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/litecoin/cex_litecoin_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/litecoin/cex_litecoin_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'litecoin'] description: "All CEX-tied addresses identified on Litecoin" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/mantle/cex_mantle_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/mantle/cex_mantle_schema.yml index fae4a31a6e8..59169e3dd2a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/mantle/cex_mantle_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/mantle/cex_mantle_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'mantle'] description: "All CEX-tied addresses identified on Mantle" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/optimism/cex_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/optimism/cex_optimism_schema.yml index 618689b5fec..cc0bae8ff32 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/optimism/cex_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/optimism/cex_optimism_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'optimism'] description: "All CEX-tied addresses identified on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/polkadot/cex_polkadot_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/polkadot/cex_polkadot_schema.yml index d1ff01768a4..96565922978 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/polkadot/cex_polkadot_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/polkadot/cex_polkadot_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'polkadot'] description: "All CEX-tied addresses identified on Polkadot" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/polygon/cex_polygon_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/polygon/cex_polygon_schema.yml index 17a165447e9..f70fb5e6e1b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/polygon/cex_polygon_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/polygon/cex_polygon_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'polygon'] description: "All CEX-tied addresses identified on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/ripple/cex_ripple_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/ripple/cex_ripple_schema.yml index 421d584f0e6..243ce6c9bb5 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/ripple/cex_ripple_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/ripple/cex_ripple_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'ripple'] description: "All CEX-tied addresses identified on Ripple" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/scroll/cex_scroll_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/scroll/cex_scroll_schema.yml index d7f1cd0f2d3..0000bc51065 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/scroll/cex_scroll_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/scroll/cex_scroll_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'scroll'] description: "All CEX-tied addresses identified on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/sei/cex_sei_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/sei/cex_sei_schema.yml index 0a577aadc5e..803f8511b97 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/sei/cex_sei_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/sei/cex_sei_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'sei'] description: "All CEX-tied addresses identified on Sei" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/solana/cex_solana_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/solana/cex_solana_schema.yml index 19a34a4e4f8..254f659c259 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/solana/cex_solana_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/solana/cex_solana_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'solana'] description: "All CEX-tied addresses identified on Solana" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/tron/cex_tron_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/tron/cex_tron_schema.yml index aad06db69bf..4a00bdb6ed0 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/tron/cex_tron_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/tron/cex_tron_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'tron'] description: "All CEX-tied addresses identified on Tron" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/worldchain/cex_worldchain_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/worldchain/cex_worldchain_schema.yml index dfebe22c6cc..dc2197ffec9 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/worldchain/cex_worldchain_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/worldchain/cex_worldchain_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'worldchain'] description: "All CEX-tied addresses identified on WorldChain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zilliqa/cex_zilliqa_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zilliqa/cex_zilliqa_schema.yml index 336e52f31dd..f30606f88ad 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zilliqa/cex_zilliqa_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zilliqa/cex_zilliqa_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'zilliqa'] description: "All CEX-tied addresses identified on Injective" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zkevm/cex_zkevm_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zkevm/cex_zkevm_schema.yml index 12d0312f9b9..1172c27cc20 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zkevm/cex_zkevm_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zkevm/cex_zkevm_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'zkevm'] description: "All CEX-tied addresses identified on Polygon zkEVM" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zksync/cex_zksync_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zksync/cex_zksync_schema.yml index 6fade0a498d..6ff1898b5fa 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zksync/cex_zksync_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zksync/cex_zksync_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'zksync'] description: "All CEX-tied addresses identified on zkSync" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zora/cex_zora_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zora/cex_zora_schema.yml index 0bff6b34b73..a8d95e6873c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zora/cex_zora_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/addresses/chains/zora/cex_zora_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','addresses', 'deposits', 'withdrawals', 'zora'] description: "All CEX-tied addresses identified on Zora Network" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/flows/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/flows/_schema.yml index 043e015f519..4ef9bcbab23 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/flows/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/flows/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','flows'] description: "All CEX-tied flows identified across EVM chains" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/cex/flows/chains/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/cex/flows/chains/_schema.yml index 072dee29671..d2b7fe3be10 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/cex/flows/chains/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/cex/flows/chains/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['cex','flows', 'ethereum'] description: "All CEX-tied flows identified on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -87,7 +87,7 @@ models: config: tags: ['cex','flows', 'arbitrum'] description: "All CEX-tied flows identified on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -123,7 +123,7 @@ models: config: tags: ['cex','flows', 'avalanche_c'] description: "All CEX-tied flows identified on Avalanche" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -159,7 +159,7 @@ models: config: tags: ['cex','flows', 'base'] description: "All CEX-tied flows identified on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -195,7 +195,7 @@ models: config: tags: ['cex','flows', 'bnb'] description: "All CEX-tied flows identified on BNB" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -231,7 +231,7 @@ models: config: tags: ['cex','flows', 'celo'] description: "All CEX-tied flows identified on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -267,7 +267,7 @@ models: config: tags: ['cex','flows', 'gnosis'] description: "All CEX-tied flows identified on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -303,7 +303,7 @@ models: config: tags: ['cex','flows', 'optimism'] description: "All CEX-tied flows identified on Optimism Mainnet" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -339,7 +339,7 @@ models: config: tags: ['cex','flows', 'polygon'] description: "All CEX-tied flows identified on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -375,7 +375,7 @@ models: config: tags: ['cex','flows', 'scroll'] description: "All CEX-tied flows identified on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -411,7 +411,7 @@ models: config: tags: ['cex','flows', 'zksync'] description: "All CEX-tied flows identified on zkSync" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -447,7 +447,7 @@ models: config: tags: ['cex','flows', 'zora'] description: "All CEX-tied flows identified on ZORA Network" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -483,7 +483,7 @@ models: config: tags: ['cex','flows', 'fantom'] description: "All CEX-tied flows identified on ZORA Network" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -519,7 +519,7 @@ models: config: tags: ['cex','flows', 'linea'] description: "All CEX-tied flows identified on ZORA Network" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type @@ -555,7 +555,7 @@ models: config: tags: ['cex','flows', 'zkevm'] description: "All CEX-tied flows identified on ZORA Network" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - flow_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/arbitrum/gas_arbitrum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/arbitrum/gas_arbitrum_schema.yml index f343ff6ff00..dcbab8402d7 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/arbitrum/gas_arbitrum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/arbitrum/gas_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/avalanche_c/gas_avalanche_c_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/avalanche_c/gas_avalanche_c_schema.yml index 21f6a7a929e..6b99eb32d40 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/avalanche_c/gas_avalanche_c_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/avalanche_c/gas_avalanche_c_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/base/gas_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/base/gas_base_schema.yml index 46a421462b0..7c0af2efb4b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/base/gas_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/base/gas_base_schema.yml @@ -10,7 +10,7 @@ models: tags: ['base', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/blast/gas_blast_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/blast/gas_blast_schema.yml index f203a34bf57..86f180eaecb 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/blast/gas_blast_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/blast/gas_blast_schema.yml @@ -10,7 +10,7 @@ models: tags: ['blast', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/bnb/gas_bnb_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/bnb/gas_bnb_schema.yml index 7c299bf156e..bb38198e572 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/bnb/gas_bnb_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/bnb/gas_bnb_schema.yml @@ -10,7 +10,7 @@ models: tags: ['bnb', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/celo/gas_celo_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/celo/gas_celo_fees.sql index 2e5ad0b665e..bfdbf0903b0 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/celo/gas_celo_fees.sql +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/celo/gas_celo_fees.sql @@ -3,7 +3,6 @@ {{ config( schema = 'gas_' + blockchain ,alias = 'fees' - ,tags = ['prod_exclude'] ,partition_by = ['block_month'] ,materialized = 'incremental' ,file_format = 'delta' diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/celo/gas_celo_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/celo/gas_celo_schema.yml index ea7a60431cf..130c044a6cc 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/celo/gas_celo_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/celo/gas_celo_schema.yml @@ -10,7 +10,7 @@ models: tags: ['celo', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/ethereum/gas_ethereum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/ethereum/gas_ethereum_schema.yml index f18fd5add38..c6219b21039 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/ethereum/gas_ethereum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/ethereum/gas_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/fantom/gas_fantom_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/fantom/gas_fantom_schema.yml index 2687ecbb2d1..9b4a90db01b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/fantom/gas_fantom_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/fantom/gas_fantom_schema.yml @@ -10,7 +10,7 @@ models: tags: ['fantom', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/gas_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/gas_fees.sql index 7501c35d57b..0031e411e51 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/gas_fees.sql +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/gas_fees.sql @@ -9,14 +9,11 @@ }} {% set chains = [ - "arbitrum", "avalanche_c", "base", "blast", "bnb", "ethereum", + "arbitrum", "avalanche_c", "base", "blast", "bnb", "celo", "ethereum", "fantom", "gnosis", "linea", "mantle", "optimism", "polygon", "scroll", "sei", "zkevm", "zksync", "zora" ] %} --- removed for now: --- celo (wrong raw data) - SELECT * diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/gnosis/gas_gnosis_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/gnosis/gas_gnosis_schema.yml index c11197d1cdf..7024621e31a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/gnosis/gas_gnosis_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/gnosis/gas_gnosis_schema.yml @@ -10,7 +10,7 @@ models: tags: ['gnosis', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/linea/gas_linea_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/linea/gas_linea_schema.yml index 9ff71c8650d..f46601e1616 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/linea/gas_linea_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/linea/gas_linea_schema.yml @@ -10,7 +10,7 @@ models: tags: ['linea', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/mantle/gas_mantle_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/mantle/gas_mantle_schema.yml index 865bd485750..d57fc24ac61 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/mantle/gas_mantle_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/mantle/gas_mantle_schema.yml @@ -10,7 +10,7 @@ models: tags: ['mantle', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/optimism/gas_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/optimism/gas_optimism_schema.yml index 1f9bee367be..6b442e8bd4a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/optimism/gas_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/optimism/gas_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/polygon/gas_polygon_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/polygon/gas_polygon_schema.yml index 114b303ba86..92488c7a78e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/polygon/gas_polygon_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/polygon/gas_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/scroll/gas_scroll_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/scroll/gas_scroll_schema.yml index a4ca74306ff..028db02a274 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/scroll/gas_scroll_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/scroll/gas_scroll_schema.yml @@ -10,7 +10,7 @@ models: tags: ['scroll', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/sei/gas_sei_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/sei/gas_sei_schema.yml index 99f5d0e668e..e0ae4981dc8 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/sei/gas_sei_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/sei/gas_sei_schema.yml @@ -10,7 +10,7 @@ models: tags: ['sei', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/gas_solana_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/gas_solana_fees.sql index 3d198a0dfa7..9a04bdbeeed 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/gas_solana_fees.sql +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/gas_solana_fees.sql @@ -1,149 +1,58 @@ {{ config( schema = 'gas_solana', alias = 'fees', - tags = ['prod_exclude'], - partition_by = ['block_date'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')], - unique_key = ['block_date', 'block_slot', 'tx_index'] + materialized = 'view' ) }} -WITH compute_limit_cte AS ( +WITH all_fees AS ( SELECT - tx_id, + blockchain, + block_month, block_date, block_time, block_slot, tx_index, - bytearray_to_bigint( - bytearray_reverse( - bytearray_substring(data, 2, 8) - ) - ) as compute_limit - FROM {{ source('solana', 'instruction_calls') }} - WHERE executing_account = 'ComputeBudget111111111111111111111111111111' - AND bytearray_substring(data,1,1) = 0x02 - AND inner_instruction_index is null -- compute budget and price are inherited on cross program invocation - {% if is_incremental() or true %} - AND {{ incremental_predicate('block_time') }} - {% endif %} -), + tx_hash, + signer, + compute_unit_price, + compute_limit, + currency_symbol, + tx_fee_raw, + tx_fee, + tx_fee_usd, + tx_fee_breakdown_raw, + tx_fee_breakdown, + tx_fee_breakdown_usd, + tx_fee_currency, + leader, + 'regular' AS tx_type + FROM {{ ref('gas_solana_tx_fees') }} + + UNION ALL -unit_price_cte AS ( SELECT - tx_id, + blockchain, + block_month, block_date, block_time, block_slot, tx_index, - bytearray_to_bigint( - bytearray_reverse( - bytearray_substring(data, 2, 8) - ) - ) AS compute_unit_price - FROM {{ source('solana', 'instruction_calls') }} - WHERE executing_account = 'ComputeBudget111111111111111111111111111111' - AND bytearray_substring(data,1,1) = 0x03 - AND inner_instruction_index is null -- compute budget and price are inherited on cross program invocation - {% if is_incremental() or true %} - AND {{ incremental_predicate('block_time') }} - {% endif %} -), - -base_model AS ( - SELECT - 'normal' as tx_type, - t.id AS tx_hash, - t.block_date, - t.block_slot, - t.index as tx_index, - t.block_time, - t.signer, - t.fee AS tx_fee_raw, - (COALESCE(cl.compute_limit, 200000) * COALESCE(up.compute_unit_price/ 1e6, 0)) AS prioritization_fee_raw, - COALESCE(up.compute_unit_price/ 1e6, 0) AS compute_unit_price, - COALESCE(cl.compute_limit, 200000) AS compute_limit, - 'So11111111111111111111111111111111111111112' AS tx_fee_currency, - b.leader - FROM {{ source('solana', 'transactions') }} t - LEFT JOIN compute_limit_cte cl - ON t.id = cl.tx_id - AND t.block_slot = cl.block_slot - LEFT JOIN unit_price_cte up - ON t.id = up.tx_id - AND t.block_slot = up.block_slot - LEFT JOIN {{ source('solana_utils', 'block_leaders') }} b - ON t.block_slot = b.slot - AND t.block_date = b.date - {% if is_incremental() or true %} - AND {{ incremental_predicate('b.time') }} - {% endif %} - {% if is_incremental() or true %} - WHERE {{ incremental_predicate('t.block_time') }} - {% endif %} - UNION ALL - SELECT - 'vote' as tx_type, - vt.id AS tx_hash, - vt.block_date, - vt.block_slot, - vt.index as tx_index, - vt.block_time, - vt.signer, - vt.fee AS tx_fee_raw, - null AS prioritization_fee_raw, - null AS compute_price_lamport, - null AS compute_limit, - 'So11111111111111111111111111111111111111112' AS tx_fee_currency, - b.leader - FROM {{ source('solana', 'vote_transactions') }} vt - LEFT JOIN {{ source('solana_utils', 'block_leaders') }} b - ON vt.block_slot = b.slot - AND vt.block_date = b.date - {% if is_incremental() or true %} - AND {{ incremental_predicate('b.time') }} - {% endif %} - {% if is_incremental() or true %} - WHERE {{ incremental_predicate('vt.block_time') }} - {% endif %} + tx_hash, + signer, + compute_unit_price, + compute_limit, + currency_symbol, + tx_fee_raw, + tx_fee, + tx_fee_usd, + tx_fee_breakdown_raw, + tx_fee_breakdown, + tx_fee_breakdown_usd, + tx_fee_currency, + leader, + tx_type + FROM {{ ref('solana_vote_fees') }} ) -SELECT - 'solana' AS blockchain, - CAST(date_trunc('month', block_time) AS DATE) AS block_month, - block_date, - block_time, - block_slot, - tx_index, - tx_hash, - signer, - --NULL AS tx_to, -- this concept doesn't really exist in solana - compute_unit_price, -- only applies to compute budget tx - compute_limit, -- this is the compute limit, not gas - p.symbol AS currency_symbol, - tx_fee_raw + coalesce(prioritization_fee_raw,0) AS tx_fee_raw, - (tx_fee_raw + coalesce(prioritization_fee_raw,0)) / pow(10, 9) AS tx_fee, - (tx_fee_raw + coalesce(prioritization_fee_raw,0)) / pow(10, 9) * p.price AS tx_fee_usd, - map(array['base_fee', 'prioritization_fee'], array[coalesce(tx_fee_raw, 0), coalesce(prioritization_fee_raw, 0)]) AS tx_fee_breakdown_raw, - transform_values( - map(array['base_fee', 'prioritization_fee'], array[coalesce(tx_fee_raw, 0), coalesce(prioritization_fee_raw, 0)]), - (k, v) -> CAST(v AS double) / pow(10, 9) - ) AS tx_fee_breakdown, - transform_values( - map(array['base_fee', 'prioritization_fee'], array[coalesce(tx_fee_raw, 0), coalesce(prioritization_fee_raw, 0)]), - (k, v) -> CAST(v AS double) / pow(10, 9) * p.price - ) AS tx_fee_breakdown_usd, - tx_fee_currency, - leader, - tx_type -FROM base_model -LEFT JOIN {{ source('prices','usd_forward_fill') }} p - ON p.blockchain = 'solana' - --AND to_base58(p.contract_address) = tx_fee_currency -- this would the right way to do it but slow af - AND p.contract_address = 0x069b8857feab8184fb687f634618c035dac439dc1aeb3b5598a0f00000000001 --from base58 converted wsol address - AND p.minute = date_trunc('minute', block_time) - {% if is_incremental() or true %} - AND {{ incremental_predicate('p.minute') }} - {% endif %} +SELECT * +FROM all_fees \ No newline at end of file diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/gas_solana_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/gas_solana_schema.yml index 644cb6d2970..7763dde6468 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/gas_solana_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/gas_solana_schema.yml @@ -14,40 +14,40 @@ models: columns: - name: blockchain - tests: + data_tests: - accepted_values: values: ['solana'] - name: block_month - tests: + data_tests: - not_null - name: block_date - tests: + data_tests: - not_null - name: block_time - tests: + data_tests: - not_null - name: block_slot - tests: + data_tests: - not_null - name: tx_hash - tests: + data_tests: - not_null - unique - name: signer - tests: + data_tests: - not_null - name: compute_unit_price description: Compute unit price in lamports - name: compute_limit description: Compute units used (or limit set) - name: tx_fee_raw - tests: + data_tests: - not_null - name: tx_fee - tests: + data_tests: - not_null - name: tx_fee_usd - tests: + data_tests: - not_null - name: tx_fee_breakdown_raw description: Breakdown of fee into base_fee and prioritization_fee @@ -56,7 +56,7 @@ models: - name: tx_fee_breakdown_usd description: Breakdown of fee in USD - name: tx_fee_currency - tests: + data_tests: - not_null - name: leader description: Validator that proposed this block, known as leader in Solana diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/gas_solana_tx_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/gas_solana_tx_fees.sql new file mode 100644 index 00000000000..c6f6cd7e463 --- /dev/null +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/gas_solana_tx_fees.sql @@ -0,0 +1,85 @@ +{{ config( + schema = 'gas_solana', + alias = 'tx_fees', + tags = ['prod_exclude'], + partition_by = ['block_date', 'block_hour'], + materialized = 'incremental', + file_format = 'delta', + incremental_strategy = 'delete+insert', + unique_key = ['block_date', 'block_slot', 'tx_index'] +) }} + +WITH base_model AS ( + SELECT + t.id AS tx_hash, + t.block_date, + t.block_slot, + t.index as tx_index, + t.block_time, + t.signer, + t.fee AS tx_fee_raw, + (COALESCE(cl.compute_limit, 200000) * COALESCE(up.compute_unit_price/ 1e6, 0)) AS prioritization_fee_raw, + COALESCE(up.compute_unit_price/ 1e6, 0) AS compute_unit_price, + COALESCE(cl.compute_limit, 200000) AS compute_limit, + 'So11111111111111111111111111111111111111112' AS tx_fee_currency, + b.leader + FROM {{ source('solana', 'transactions') }} t + LEFT JOIN {{ ref('solana_compute_limit') }} cl + ON t.id = cl.tx_id + AND t.block_date = cl.block_date + {% if is_incremental() %} + AND {{ incremental_predicate('cl.block_date') }} + {% endif %} + LEFT JOIN {{ ref('solana_compute_unit_price') }} up + ON t.id = up.tx_id + AND t.block_date = up.block_date + {% if is_incremental() %} + AND {{ incremental_predicate('up.block_date') }} + {% endif %} + LEFT JOIN {{ source('solana_utils', 'block_leaders') }} b + ON t.block_slot = b.slot + AND t.block_date = b.date + {% if is_incremental() %} + AND {{ incremental_predicate('b.date') }} + {% endif %} + {% if is_incremental() %} + WHERE {{ incremental_predicate('t.block_date') }} + {% endif %} +) + +SELECT + 'solana' AS blockchain, + CAST(date_trunc('month', block_time) AS DATE) AS block_month, + block_date, + date_trunc('hour', block_time) AS block_hour, + block_time, + block_slot, + tx_index, + tx_hash, + signer, + compute_unit_price, + compute_limit, + p.symbol AS currency_symbol, + tx_fee_raw + coalesce(prioritization_fee_raw,0) AS tx_fee_raw, + (tx_fee_raw + coalesce(prioritization_fee_raw,0)) / pow(10, 9) AS tx_fee, + (tx_fee_raw + coalesce(prioritization_fee_raw,0)) / pow(10, 9) * p.price AS tx_fee_usd, + map(array['base_fee', 'prioritization_fee'], array[coalesce(tx_fee_raw, 0), coalesce(prioritization_fee_raw, 0)]) AS tx_fee_breakdown_raw, + transform_values( + map(array['base_fee', 'prioritization_fee'], array[coalesce(tx_fee_raw, 0), coalesce(prioritization_fee_raw, 0)]), + (k, v) -> CAST(v AS double) / pow(10, 9) + ) AS tx_fee_breakdown, + transform_values( + map(array['base_fee', 'prioritization_fee'], array[coalesce(tx_fee_raw, 0), coalesce(prioritization_fee_raw, 0)]), + (k, v) -> CAST(v AS double) / pow(10, 9) * p.price + ) AS tx_fee_breakdown_usd, + tx_fee_currency, + leader +FROM base_model +LEFT JOIN {{ source('prices','usd_forward_fill') }} p + ON p.blockchain = 'solana' + AND p.contract_address = 0x069b8857feab8184fb687f634618c035dac439dc1aeb3b5598a0f00000000001 + AND p.minute = date_trunc('minute', block_time) + AND date_trunc('day', p.minute) = block_date + {% if is_incremental() %} + AND {{ incremental_predicate("date_trunc('day',p.minute)")}} + {% endif %} diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/solana_compute_limit.sql b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/solana_compute_limit.sql new file mode 100644 index 00000000000..e2a66041ac7 --- /dev/null +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/solana_compute_limit.sql @@ -0,0 +1,32 @@ +{{ config( + schema = 'gas_solana', + alias = 'compute_limit', + partition_by = ['block_date', 'block_hour'], + materialized = 'incremental', + file_format = 'delta', + incremental_strategy = 'delete+insert', + unique_key = ['block_date', 'block_slot', 'tx_id'] +) }} + +-- this is just decoding program data, could be moved into decoding pipeline +-- trigger model + +SELECT + tx_id, + block_date, + date_trunc('hour', block_time) AS block_hour, + block_time, + block_slot, + tx_index, + bytearray_to_bigint( + bytearray_reverse( + bytearray_substring(data, 2, 8) + ) + ) as compute_limit +FROM {{ source('solana', 'instruction_calls') }} +WHERE executing_account = 'ComputeBudget111111111111111111111111111111' +AND bytearray_substring(data,1,1) = 0x02 +AND inner_instruction_index is null +{% if is_incremental() %} + AND {{ incremental_predicate('block_date') }} +{% endif %} diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/solana_compute_unit_price.sql b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/solana_compute_unit_price.sql new file mode 100644 index 00000000000..9dda5f7f45b --- /dev/null +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/solana_compute_unit_price.sql @@ -0,0 +1,32 @@ +{{ config( + schema = 'gas_solana', + alias = 'compute_unit_price', + partition_by = ['block_date', 'block_hour'], + materialized = 'incremental', + file_format = 'delta', + incremental_strategy = 'delete+insert', + unique_key = ['block_date', 'block_slot', 'tx_id'] +) }} + +-- this is just decoding program data, could be moved into decoding pipeline +-- trigger CI + +SELECT + tx_id, + block_date, + date_trunc('hour', block_time) AS block_hour, + block_time, + block_slot, + tx_index, + bytearray_to_bigint( + bytearray_reverse( + bytearray_substring(data, 2, 8) + ) + ) AS compute_unit_price +FROM {{ source('solana', 'instruction_calls') }} +WHERE executing_account = 'ComputeBudget111111111111111111111111111111' +AND bytearray_substring(data,1,1) = 0x03 +AND inner_instruction_index is null +{% if is_incremental() %} + AND {{ incremental_predicate('block_date') }} +{% endif %} diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/solana_vote_fees.sql b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/solana_vote_fees.sql new file mode 100644 index 00000000000..0a3d79ea7b1 --- /dev/null +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/solana/solana_vote_fees.sql @@ -0,0 +1,75 @@ +{{ config( + schema = 'gas_solana', + alias = 'vote_fees', + tags = ['prod_exclude'], + partition_by = ['block_date', 'block_hour'], + materialized = 'incremental', + file_format = 'delta', + incremental_strategy = 'delete+insert', + unique_key = ['block_date', 'block_slot', 'tx_index'] +) }} + +WITH base_model AS ( + SELECT + 'vote' as tx_type, + vt.id AS tx_hash, + vt.block_date, + vt.block_slot, + vt.index as tx_index, + vt.block_time, + vt.signer, + vt.fee AS tx_fee_raw, + CAST(null AS bigint) AS prioritization_fee_raw, + CAST(null AS double) AS compute_unit_price, + CAST(null AS bigint) AS compute_limit, + 'So11111111111111111111111111111111111111112' AS tx_fee_currency, + b.leader + FROM {{ source('solana', 'vote_transactions') }} vt + LEFT JOIN {{ source('solana_utils', 'block_leaders') }} b + ON vt.block_slot = b.slot + AND vt.block_date = b.date + {% if is_incremental() %} + AND {{ incremental_predicate('b.date') }} + {% endif %} + {% if is_incremental() %} + WHERE {{ incremental_predicate('vt.block_date') }} + {% endif %} +) + +SELECT + 'solana' AS blockchain, + CAST(date_trunc('month', block_time) AS DATE) AS block_month, + block_date, + date_trunc('hour', block_time) AS block_hour, + block_time, + block_slot, + tx_index, + tx_hash, + signer, + compute_unit_price, + compute_limit, + p.symbol AS currency_symbol, + tx_fee_raw + coalesce(prioritization_fee_raw,0) AS tx_fee_raw, + (tx_fee_raw + coalesce(prioritization_fee_raw,0)) / pow(10, 9) AS tx_fee, + (tx_fee_raw + coalesce(prioritization_fee_raw,0)) / pow(10, 9) * p.price AS tx_fee_usd, + map(array['base_fee', 'prioritization_fee'], array[coalesce(tx_fee_raw, 0), coalesce(prioritization_fee_raw, 0)]) AS tx_fee_breakdown_raw, + transform_values( + map(array['base_fee', 'prioritization_fee'], array[coalesce(tx_fee_raw, 0), coalesce(prioritization_fee_raw, 0)]), + (k, v) -> CAST(v AS double) / pow(10, 9) + ) AS tx_fee_breakdown, + transform_values( + map(array['base_fee', 'prioritization_fee'], array[coalesce(tx_fee_raw, 0), coalesce(prioritization_fee_raw, 0)]), + (k, v) -> CAST(v AS double) / pow(10, 9) * p.price + ) AS tx_fee_breakdown_usd, + tx_fee_currency, + leader, + tx_type +FROM base_model +LEFT JOIN {{ source('prices','usd_forward_fill') }} p + ON p.blockchain = 'solana' + AND p.contract_address = 0x069b8857feab8184fb687f634618c035dac439dc1aeb3b5598a0f00000000001 + AND p.minute = date_trunc('minute', block_time) + AND date_trunc('day', p.minute) = block_date + {% if is_incremental() %} + AND {{ incremental_predicate("date_trunc('day',p.minute)")}} + {% endif %} diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zkevm/gas_zkevm_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zkevm/gas_zkevm_schema.yml index 8f071083351..a05d3ca6d0a 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zkevm/gas_zkevm_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zkevm/gas_zkevm_schema.yml @@ -10,7 +10,7 @@ models: tags: ['zkevm', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zksync/gas_zksync_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zksync/gas_zksync_schema.yml index 31b2c3c654e..db510720b0f 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zksync/gas_zksync_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zksync/gas_zksync_schema.yml @@ -10,7 +10,7 @@ models: tags: ['zksync', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zora/gas_zora_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zora/gas_zora_schema.yml index fd01fe4764c..a707a9e9b78 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zora/gas_zora_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/gas/fees/zora/gas_zora_schema.yml @@ -10,7 +10,7 @@ models: tags: ['zora', 'gas', 'fees'] description: > Gas Fees on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_month diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/_schema.yml index 133d891e50d..96f33a133ce 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['lending', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'celo', 'base', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'scroll', 'zksync', 'info'] description: > Lending DEXs info - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/_schema.yml index dd5cf5f857c..055ff825c56 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'compound', 'ethereum', 'celo', 'polygon', 'optimism', 'base', 'arbitrum', 'avalanche_c', 'fantom', 'gnosis', 'scroll', 'zksync'] description: "All lending transactions involving borrow transactions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -24,22 +24,22 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &symbol name: symbol @@ -47,7 +47,7 @@ models: - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -73,24 +73,24 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/arbitrum/_schema.yml index fb2e13e8c06..415e082dede 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'compound', 'arbitrum'] description: "All lending borrow transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_arbitrum_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'arbitrum'] description: "Aave v3 borrow transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'arbitrum'] description: "Compound v3 borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -170,7 +170,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'radiant', 'arbitrum'] description: "Radiant borrow transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -206,7 +206,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'lodestar', 'arbitrum'] description: "Lodestar v0 borrow transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -244,7 +244,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'lodestar', 'arbitrum'] description: "Lodestar v1 borrow transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -282,7 +282,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'granary', 'arbitrum'] description: "Granary borrow transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/avalanche_c/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/avalanche_c/_schema.yml index 63be36330bd..65608b6bbfd 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/avalanche_c/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'avalanche_c'] description: "All lending borrow transactions on Avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v2_avalanche_c_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'avalanche_c'] description: "Aave v2 borrow transactions on Avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -134,7 +134,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'avalanche_c'] description: "Aave v3 borrow transactions on Avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -172,7 +172,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'benqi', 'avalanche_c'] description: "Benqi borrow transactions on Avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -208,7 +208,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'granary', 'avalanche_c'] description: "Granary borrow transactions on Avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/base/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/base/_schema.yml index b469e696bb1..41a25a6121d 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/base/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/base/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'compound', 'base'] description: "All lending borrow transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_base_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'base'] description: "Aave v3 borrow transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'base'] description: "Compound v3 borrow transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -170,7 +170,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'seamlessprotocol', 'base'] description: "Seamless Protocol borrow transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -206,7 +206,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'moonwell', 'base'] description: "Moonwell borrow transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -242,7 +242,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'sonne_finance', 'base'] description: "Sonne Finance borrow transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -278,7 +278,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'granary', 'base'] description: "Granary borrow transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/bnb/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/bnb/_schema.yml index 0e18add0839..c0417fdd507 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/bnb/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/bnb/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'bnb'] description: "All lending borrow transactions on bnb" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: radiant_bnb_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'radiant', 'bnb'] description: "Radiant borrow transactions on bnb" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'bnb'] description: "Aave v3 borrow transactions on bnb" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -168,7 +168,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'granary', 'bnb'] description: "Granary borrow transactions on bnb" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/celo/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/celo/_schema.yml index 528ef22d1eb..091b64b27ea 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/celo/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/celo/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'moola'] description: "All Moola borrow transactions on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: moola_celo_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'moola'] description: "Moola borrow transactions on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/ethereum/_schema.yml index c747736bf26..fb2d4926cd2 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'compound', 'ethereum'] description: "Aave v1 borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v1_ethereum_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'ethereum'] description: "All Aave borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -134,7 +134,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'v2', 'ethereum'] description: "Aave v2 borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -172,7 +172,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'v3', 'ethereum'] description: "Aave v3 borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -210,7 +210,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'lido', 'v3', 'ethereum'] description: "Aave v3 borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -248,7 +248,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'etherfi', 'v3', 'ethereum'] description: "Aave v3 borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -286,7 +286,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'v1', 'ethereum'] description: "Compound v1 borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -320,7 +320,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'v2', 'ethereum'] description: "Compound v2 borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -358,7 +358,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'v3', 'ethereum'] description: "Compound v3 borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -396,7 +396,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'radiant', 'ethereum'] description: "Radiant borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -432,7 +432,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'uwulend', 'ethereum'] description: "Uwulend borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -468,7 +468,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'spark', 'ethereum'] description: "Spark Protocol borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -504,7 +504,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'fluxfinance', 'ethereum'] description: "Flux Finance borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -540,7 +540,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'strike', 'ethereum'] description: "Strike borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -576,7 +576,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'granary', 'ethereum'] description: "Granary borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -613,7 +613,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'morpho', 'ethereum'] description: "Morpho borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/fantom/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/fantom/_schema.yml index 25833c19e12..33748e4e4e5 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/fantom/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/fantom/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'fantom'] description: "All lending borrow transactions on Fantom" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_fantom_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'fantom'] description: "Aave v3 borrow transactions on Fantom" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'granary', 'fantom'] description: "Granary borrow transactions on Fantom" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/gnosis/_schema.yml index b5831fa6992..972b68905c7 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'gnosis'] description: "All lending borrow transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: agave_gnosis_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'agave', 'gnosis'] description: "Agave borrow transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'gnosis'] description: "Aave v3 borrow transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -168,7 +168,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'realt_rmm', 'gnosis'] description: "RealT RMM v1 borrow transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -206,7 +206,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'realt_rmm', 'gnosis'] description: "RealT RMM v2 borrow transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/optimism/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/optimism/_schema.yml index 76adeb84f73..983e3572383 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/optimism/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/optimism/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'optimism'] description: "All Aave borrow transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_optimism_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'optimism'] description: "Aave v3 borrow transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'borrow', 'sonne_finance', 'compound', 'optimism'] description: "Sonne Finance borrow transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -168,7 +168,7 @@ models: config: tags: ['lending', 'borrow', 'granary', 'aave', 'optimism'] description: "Granary borrow transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/polygon/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/polygon/_schema.yml index ccc26877458..f02ab7d1091 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/polygon/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/polygon/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'compound', 'polygon'] description: "All lending borrow transactions on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v2_polygon_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'polygon'] description: "Aave v2 borrow transactions on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -134,7 +134,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'polygon'] description: "Aave v3 borrow transactions on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -172,7 +172,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'polygon'] description: "Compound v3 borrow transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/scroll/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/scroll/_schema.yml index e5eecc6859c..e357691cfec 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/scroll/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/scroll/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'compound', 'scroll'] description: "All lending borrow transactions on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_scroll_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'scroll'] description: "Aave v3 borrow transactions on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'borrow', 'compound', 'layer_bank', 'scroll'] description: "LayerBank borrow transactions on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/zksync/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/zksync/_schema.yml index ecd9d32807f..bc19690a235 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/zksync/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/borrow/zksync/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'zksync'] description: "All lending borrow transactions on zkSync" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &borrower name: borrower @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: zerolend_zksync_base_borrow @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'borrow', 'aave', 'zerolend', 'zksync'] description: "Zerolend borrow transactions on zkSync" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/_schema.yml index b74942cab4b..66d8e027203 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'ethereum', 'celo', 'polygon', 'optimism', 'base', 'arbitrum', 'avalanche_c', 'fantom', 'gnosis', 'scroll', 'zksync'] description: "All lending transactions involving flashloans transactions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -22,27 +22,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &usd_amount name: usd_amount @@ -55,34 +55,34 @@ models: - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_month name: block_month description: "Block month column used to partition data in this table" - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/arbitrum/_schema.yml index b224164f430..bd337098cd5 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'arbitrum'] description: "All lending flashloans transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_arbitrum_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'arbitrum'] description: "Aave v3 flashloans transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -113,7 +113,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'radiant', 'arbitrum'] description: "Radiant flashloans transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -144,7 +144,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'granary', 'arbitrum'] description: "Granary flashloans transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -175,7 +175,7 @@ models: config: tags: ['lending', 'flashloans', 'balancer', 'arbitrum'] description: "Balancer flashloans transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/avalanche_c/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/avalanche_c/_schema.yml index 081f9210da1..508851b5772 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/avalanche_c/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'avalanche_c'] description: "All lending flashloans transactions on Avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v2_avalanche_c_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'avalanche_c'] description: "Aave v2 flashloans transactions on Avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -115,7 +115,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'avalanche_c'] description: "Aave v3 flashloans transactions on Avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -148,7 +148,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'granary', 'avalanche_c'] description: "Granary flashloans transactions on Avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -179,7 +179,7 @@ models: config: tags: ['lending', 'flashloans', 'balancer', 'avalanche_c'] description: "Balancer flashloans transactions on Avalanche" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/base/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/base/_schema.yml index 1ed92ec57f0..17fbdf1de1f 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/base/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/base/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'base'] description: "All lending flashloans transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_base_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'base'] description: "Aave v3 flashloans transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -113,7 +113,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'seamlessprotocol', 'base'] description: "Seamless Protocol flashloans transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -144,7 +144,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'granary', 'base'] description: "Granary flashloans transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -175,7 +175,7 @@ models: config: tags: ['lending', 'flashloans', 'balancer', 'base'] description: "Balancer flashloans transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/bnb/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/bnb/_schema.yml index b49cb29b808..67eb9ab82ac 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/bnb/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/bnb/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'bnb'] description: "All lending flashloans transactions on bnb" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: radiant_bnb_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'radiant', 'bnb'] description: "Radiant flashloans transactions on bnb" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -113,7 +113,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'bnb'] description: "Aave v3 flashloans transactions on bnb" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -144,7 +144,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'granary', 'bnb'] description: "Granary flashloans transactions on bnb" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/celo/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/celo/_schema.yml index f90b0590c35..bcde7f06009 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/celo/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/celo/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'moola'] description: "All lending flashloans transactions on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: moola_celo_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'moola'] description: "Moola flashloans transactions on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/ethereum/_schema.yml index 03c9fd84722..fbadc4129f1 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'ethereum'] description: "All lending flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v1_ethereum_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'ethereum'] description: "Aave v1 flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -115,7 +115,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'ethereum'] description: "Aave v2 flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -148,7 +148,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'ethereum'] description: "Aave v3 flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -181,7 +181,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'lido', 'ethereum'] description: "Aave v3 flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -214,7 +214,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'etherfi', 'ethereum'] description: "Aave v3 flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -247,7 +247,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'radiant', 'ethereum'] description: "Radiant flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -278,7 +278,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'uwulend', 'ethereum'] description: "Uwulend flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -309,7 +309,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'spark', 'ethereum'] description: "Spark Protocol flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -340,7 +340,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'granary', 'ethereum'] description: "Granary flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -371,7 +371,7 @@ models: config: tags: ['lending', 'flashloans', 'balancer', 'ethereum'] description: "Balancer flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -400,7 +400,7 @@ models: config: tags: ['lending', 'flashloans', 'morpho', 'ethereum'] description: "Morpho flashloans transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/fantom/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/fantom/_schema.yml index bfd34b1bd5f..91e906f3c50 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/fantom/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/fantom/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'fantom'] description: "All lending flashloans transactions on Fantom" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_fantom_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'fantom'] description: "Aave v3 flashloans transactions on Fantom" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -113,7 +113,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'granary', 'fantom'] description: "Granary flashloans transactions on Fantom" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/gnosis/_schema.yml index 65c46b6828e..29082a98b7d 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'gnosis'] description: "All lending flashloans transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: agave_gnosis_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'agave', 'gnosis'] description: "Agave flashloans transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -113,7 +113,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'gnosis'] description: "Aave flashloans transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -144,7 +144,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'realt_rmm', 'gnosis'] description: "RealT RMM v1 flashloans transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -177,7 +177,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'realt_rmm', 'gnosis'] description: "RealT RMM v2 flashloans transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -210,7 +210,7 @@ models: config: tags: ['lending', 'flashloans', 'balancer', 'gnosis'] description: "Balancer flashloans transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/optimism/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/optimism/_schema.yml index a395ada4874..e456eb4cee8 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/optimism/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/optimism/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'optimism'] description: "All lending flashloans transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_optimism_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'optimism'] description: "Aave v3 flashloans transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -113,7 +113,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'granary', 'optimism'] description: "Granary flashloans transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -144,7 +144,7 @@ models: config: tags: ['lending', 'flashloans', 'balancer', 'optimism'] description: "Balancer flashloans transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/polygon/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/polygon/_schema.yml index ed61afbbffb..444ba2f17b2 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/polygon/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/polygon/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'polygon'] description: "All lending flashloans transactions on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v2_polygon_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'polygon'] description: "Aave v2 flashloans transactions on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -115,7 +115,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'polygon'] description: "Aave v3 flashloans transactions on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -148,7 +148,7 @@ models: config: tags: ['lending', 'flashloans', 'balancer', 'polygon'] description: "Balancer flashloans transactions on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/scroll/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/scroll/_schema.yml index dcf3984f378..7646c7a32e2 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/scroll/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/scroll/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'scroll'] description: "All lending flashloans transactions on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_scroll_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'scroll'] description: "Aave v3 flashloans transactions on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/zkevm/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/zkevm/_schema.yml index 163b10093f4..9b03cadcb50 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/zkevm/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/zkevm/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['lending', 'flashloans', 'zkevm'] description: "All lending flashloans transactions on zkevm" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -18,27 +18,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -49,27 +49,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: balancer_v2_zkevm_base_flashloans @@ -81,7 +81,7 @@ models: config: tags: ['lending', 'flashloans', 'balancer', 'zkevm'] description: "Balancer flashloans transactions on zkevm" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/zksync/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/zksync/_schema.yml index a5efb46a1db..46a809e7ead 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/zksync/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/flashloans/zksync/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'zksync'] description: "All lending flashloans transactions on zkSync" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -19,27 +19,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &recipient name: recipient description: "recipient wallet address" - tests: + data_tests: - not_null - &amount name: amount description: "Token amount present in the transaction" - tests: + data_tests: - not_null - &fee name: fee @@ -50,27 +50,27 @@ models: name: token_address - &project_contract_address name: project_contract_address - tests: + data_tests: - not_null - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: zerolend_zksync_base_flashloans @@ -82,7 +82,7 @@ models: config: tags: ['lending', 'flashloans', 'aave', 'zerolend', 'zksync'] description: "Zerolend flashloans transactions on zkSync" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/_schema.yml index 2a794ba079e..11fdd147f39 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'compound', 'ethereum', 'celo', 'polygon', 'optimism', 'base', 'arbitrum', 'avalanche_c', 'fantom', 'gnosis', 'scroll', 'zksync'] description: "All lending transactions involving supply transactions" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -24,22 +24,22 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &symbol name: symbol @@ -47,7 +47,7 @@ models: - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -73,25 +73,25 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/arbitrum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/arbitrum/_schema.yml index 5d4ab1ebffc..7d36f607f3b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/arbitrum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'compound', 'arbitrum'] description: "All lending supply transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_arbitrum_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'arbitrum'] description: "Aave v3 supply transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'arbitrum'] description: "Compound v3 supply transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -170,7 +170,7 @@ models: config: tags: ['lending', 'supply', 'radiant', 'arbitrum'] description: "Radiant supply transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -206,7 +206,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'lodestar', 'arbitrum'] description: "Lodestar v0 supply transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -244,7 +244,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'lodestar', 'arbitrum'] description: "Lodestar v1 supply transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -282,7 +282,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'granary', 'arbitrum'] description: "Granary supply transactions on Arbitrum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/avalanche_c/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/avalanche_c/_schema.yml index b13494a460e..3b2e02f6a4b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/avalanche_c/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'avalanche_c'] description: "All lending supply transactions on avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v2_avalanche_c_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'avalanche_c'] description: "Aave v2 supply transactions on avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -134,7 +134,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'avalanche_c'] description: "Aave v3 supply transactions on avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -172,7 +172,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'benqi', 'avalanche_c'] description: "Benqi supply transactions on avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -208,7 +208,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'granary', 'avalanche_c'] description: "Granary supply transactions on avalanche_c" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/base/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/base/_schema.yml index d4cc27662eb..e8a8728189b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/base/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/base/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'compound', 'base'] description: "All lending supply transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_base_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'base'] description: "Aave v3 supply transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'base'] description: "Compound v3 supply transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -170,7 +170,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'seamlessprotocol', 'base'] description: "Seamless Protocol supply transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -206,7 +206,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'moonwell', 'base'] description: "Moonwell supply transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -242,7 +242,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'sonne_finance', 'base'] description: "Sonne Finance supply transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -278,7 +278,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'granary', 'base'] description: "Granary supply transactions on Base" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/bnb/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/bnb/_schema.yml index 48b9964f23f..9ab40fe70e0 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/bnb/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/bnb/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'compound', 'bnb'] description: "All lending supply transactions on BNB" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: radiant_bnb_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'radiant', 'bnb'] description: "Radiant supply transactions on BNB" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'bnb'] description: "Aave v3 supply transactions on BNB" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -168,7 +168,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'granary', 'bnb'] description: "Granary supply transactions on BNB" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/celo/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/celo/_schema.yml index 905d7168b0a..12d79cba66e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/celo/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/celo/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'moola', 'celo'] description: "All lending supply transactions on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: moola_celo_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'moola', 'aave_v3', 'celo'] description: "Moola supply transactions on Celo" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/ethereum/_schema.yml index 933ab8dfeb2..1b07cc1df1c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'compound', 'ethereum'] description: "All lending supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v1_ethereum_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'ethereum'] description: "Aave v1 supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -134,7 +134,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'ethereum'] description: "Aave v2 supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -172,7 +172,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'ethereum'] description: "Aave v3 supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -210,7 +210,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'lido', 'ethereum'] description: "Aave v3 supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -248,7 +248,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'etherfi', 'ethereum'] description: "Aave v3 supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -286,7 +286,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'ethereum'] description: "Compound v2 supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -324,7 +324,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'ethereum'] description: "Compound v3 supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -362,7 +362,7 @@ models: config: tags: ['lending', 'supply', 'radiant', 'ethereum'] description: "Radiant supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -398,7 +398,7 @@ models: config: tags: ['lending', 'supply', 'uwulend', 'ethereum'] description: "Uwulend supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -434,7 +434,7 @@ models: config: tags: ['lending', 'supply', 'spark', 'ethereum'] description: "Spark Protocol supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -470,7 +470,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'fluxfinance', 'ethereum'] description: "Flux Finance supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -506,7 +506,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'strike', 'ethereum'] description: "Strike supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -542,7 +542,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'granary', 'ethereum'] description: "Granary supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -578,7 +578,7 @@ models: config: tags: ['lending', 'supply', 'morpho', 'ethereum'] description: "Morpho supply transactions on Ethereum" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/fantom/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/fantom/_schema.yml index ee677057c8b..068e08ee868 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/fantom/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/fantom/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'fantom'] description: "All lending supply transactions on Fantom" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_fantom_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'fantom'] description: "Aave v3 supply transactions on Fantom" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'granary', 'fantom'] description: "Granary supply transactions on Fantom" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/gnosis/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/gnosis/_schema.yml index 04b00630501..1981474e422 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/gnosis/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/gnosis/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'compound', 'gnosis'] description: "All lending supply transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: agave_gnosis_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'agave', 'gnosis'] description: "Agave supply transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'gnosis'] description: "Aave v3 supply transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -168,7 +168,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'realt_rmm', 'gnosis'] description: "RealT RMM v1 supply transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -206,7 +206,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'realt_rmm', 'gnosis'] description: "RealT RMM v2 supply transactions on Gnosis" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/optimism/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/optimism/_schema.yml index 07b8fc121cf..a279cc4a33b 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/optimism/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/optimism/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'optimism'] description: "All lending supply transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_optimism_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'optimism'] description: "Aave v3 supply transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'supply', 'sonne_finance', 'compound', 'optimism'] description: "Sonne Finance supply transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -168,7 +168,7 @@ models: config: tags: ['lending', 'supply', 'granary', 'compound', 'optimism'] description: "Granary supply transactions on Optimism" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/polygon/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/polygon/_schema.yml index 6249d9d3d6c..01c2a1217d5 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/polygon/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/polygon/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'polygon'] description: "All lending supply transactions on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v2_polygon_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'polygon'] description: "Aave v2 supply transactions on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -134,7 +134,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'polygon'] description: "Aave v3 supply transactions on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -172,7 +172,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'v3', 'polygon'] description: "Compound v3 supply transactions on Polygon" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/scroll/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/scroll/_schema.yml index 6d569987f6e..3b50892f054 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/scroll/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/scroll/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'compound', 'scroll'] description: "All lending supply transactions on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: aave_v3_scroll_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'scroll'] description: "Aave v3 supply transactions on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -132,7 +132,7 @@ models: config: tags: ['lending', 'supply', 'compound', 'layer_bank', 'scroll'] description: "LayerBank supply transactions on Scroll" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/zksync/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/zksync/_schema.yml index ad103d5c5be..e5b4b2c38a4 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/zksync/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/lending/supply/zksync/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['lending', 'supply', 'aave', 'compound', 'zksync'] description: "All lending supply transactions on zkSync" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type @@ -21,27 +21,27 @@ models: - &blockchain name: blockchain description: "Blockchain name" - tests: + data_tests: - not_null - &project name: project description: "Project name" - tests: + data_tests: - not_null - &version name: version description: "Version of the contract built and deployed by the lending project" - tests: + data_tests: - not_null - &transaction_type name: transaction_type description: "Transaction type" - tests: + data_tests: - not_null - &token_address name: token_address description: "Token contract address" - tests: + data_tests: - not_null - &depositor name: depositor @@ -64,27 +64,27 @@ models: - &block_time name: block_time description: "Timestamp for block event time in UTC" - tests: + data_tests: - not_null - &block_number name: block_number description: "Event block number" - tests: + data_tests: - not_null - &project_contract_address name: project_contract_address description: "Project contract address" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "Transaction hash of the event" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: zerolend_zksync_base_supply @@ -96,7 +96,7 @@ models: config: tags: ['lending', 'supply', 'zerolend', 'zksync'] description: "Zerolend supply transactions on zkSync" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - transaction_type diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/perpetual_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/perpetual_schema.yml index 0bfc64ccb13..60603313999 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/perpetual_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/perpetual_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism', 'avalanche_c', 'arbitrum', 'perpetuals', 'perps', 'cross-chain', 'pika', 'perpetual-protocol', 'synthetix'] description: > Perpetual swaps/trades table - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/avt/optimism/avt_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/avt/optimism/avt_optimism_schema.yml index 2d2f7a3af2d..2e2c86baf25 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/avt/optimism/avt_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/avt/optimism/avt_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'avt', 'perpetuals', 'perps'] description: > avt v1 perpetual trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -45,7 +45,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/basemax_finance/base/basemax_finance_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/basemax_finance/base/basemax_finance_base_schema.yml index 964aac7018e..cddd7c73ba3 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/basemax_finance/base/basemax_finance_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/basemax_finance/base/basemax_finance_base_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base','perpetual', 'basemax_finance','perps'] description: > basemax_finance perpetual data on base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/bmx/base/bmx_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/bmx/base/bmx_base_schema.yml index 6a46d679848..f269dd28e35 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/bmx/base/bmx_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/bmx/base/bmx_base_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base','perpetual', 'bmx','perps'] description: > Base decoded table for bmx protocol - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/emdx/avalanche_c/emdx_avalanche_c_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/emdx/avalanche_c/emdx_avalanche_c_schema.yml index 86d87390f78..b50bb8288e3 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/emdx/avalanche_c/emdx_avalanche_c_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/emdx/avalanche_c/emdx_avalanche_c_schema.yml @@ -11,7 +11,7 @@ models: tags: ['avalanche_c', 'emdx', 'perpetuals', 'perps'] description: > Emdx perpetuals trades/swaps on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/fxdx/optimism/fxdx_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/fxdx/optimism/fxdx_optimism_schema.yml index 543cd447b79..d8d8ae1b6af 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/fxdx/optimism/fxdx_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/fxdx/optimism/fxdx_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'fxdx', 'perpetuals', 'perps'] description: > fxdx v2 perpetual trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -45,7 +45,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/gmx/gmx_arbitrum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/gmx/gmx_arbitrum_schema.yml index 9594f8e067b..bb393058818 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/gmx/gmx_arbitrum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/gmx/gmx_arbitrum_schema.yml @@ -11,7 +11,7 @@ models: tags: ['arbitrum', 'gmx', 'perpetuals', 'perps'] description: > gmx perpetuals trades/swaps on arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/gmx/gmx_avalanche_c_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/gmx/gmx_avalanche_c_schema.yml index 5640f4852fe..4479b318d55 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/gmx/gmx_avalanche_c_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/gmx/gmx_avalanche_c_schema.yml @@ -11,7 +11,7 @@ models: tags: ['avalanche_c', 'gmx', 'perpetuals', 'perps'] description: > gmx perpetuals trades/swaps on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/hubble_exchange/avalanche_c/hubble_exchange_avalanche_c_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/hubble_exchange/avalanche_c/hubble_exchange_avalanche_c_schema.yml index fcad50776bc..061daba0986 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/hubble_exchange/avalanche_c/hubble_exchange_avalanche_c_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/hubble_exchange/avalanche_c/hubble_exchange_avalanche_c_schema.yml @@ -11,7 +11,7 @@ models: tags: ['avalanche_c', 'hubble_exchange', 'perpetuals', 'perps'] description: > Hubble exchange perpetuals trades/swaps on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/immortalx/celo/immortalx_celo_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/immortalx/celo/immortalx_celo_schema.yml index fb3b520ba51..203e1f89c0c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/immortalx/celo/immortalx_celo_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/immortalx/celo/immortalx_celo_schema.yml @@ -11,7 +11,7 @@ models: tags: ['celo', 'immortalx', 'perpetuals', 'perps'] description: > ImmortalX perpetuals trades on Celo - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/meridian/base/meridian_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/meridian/base/meridian_base_schema.yml index fb3ce401ce3..1a29b1d7657 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/meridian/base/meridian_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/meridian/base/meridian_base_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base','perpetual', 'meridian','perps'] description: > meridian perpetual data on base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/minerva_money/minerva_money_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/minerva_money/minerva_money_optimism_schema.yml index 34b679abd86..20147f92b3f 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/minerva_money/minerva_money_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/minerva_money/minerva_money_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'minerva_money', 'perpetuals', 'perps'] description: > minerva_money v1 perpetual trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -45,7 +45,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mummy_finance/base/mummy_finance_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mummy_finance/base/mummy_finance_base_schema.yml index aa983efb634..f94dd2d6cce 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mummy_finance/base/mummy_finance_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mummy_finance/base/mummy_finance_base_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base','perpetual', 'mummy_finance','perps'] description: > mummy_finance perpetual data on base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mummy_finance/optimism/mummy_finance_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mummy_finance/optimism/mummy_finance_optimism_schema.yml index 31b1f6fdc1c..29850621048 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mummy_finance/optimism/mummy_finance_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mummy_finance/optimism/mummy_finance_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'mummy_finance', 'perpetuals', 'perps', trades] description: > Mummy Finance v1 perpetuals trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -45,7 +45,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mux_protocol/optimism/mux_protocol_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mux_protocol/optimism/mux_protocol_optimism_schema.yml index 05d6b2e8a80..0fbf909b6b0 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mux_protocol/optimism/mux_protocol_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/mux_protocol/optimism/mux_protocol_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism'] description: > Perpetual swaps/trades table - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/nether_fi/base/nether_fi_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/nether_fi/base/nether_fi_base_schema.yml index db12a2b431a..3271c0db0f4 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/nether_fi/base/nether_fi_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/nether_fi/base/nether_fi_base_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base','perpetual', 'nether_fi','perps'] description: > nether_fi perpetual data on base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/nex/nex_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/nex/nex_optimism_schema.yml index 56345e9e22a..0896288542e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/nex/nex_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/nex/nex_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'nex', 'perpetuals', 'perps'] description: > nex perpetual trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -45,7 +45,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/opx_finance/optimism/opx_finance_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/opx_finance/optimism/opx_finance_optimism_schema.yml index 50d35acd767..429757cd181 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/opx_finance/optimism/opx_finance_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/opx_finance/optimism/opx_finance_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'opx_finance', 'perpetuals', 'perps', trades] description: > OPX Finance v1 perpetuals trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -45,7 +45,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/perpetual_protocol/optimism/perpetual_protocol_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/perpetual_protocol/optimism/perpetual_protocol_optimism_schema.yml index 94f697007f4..adc66c934ea 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/perpetual_protocol/optimism/perpetual_protocol_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/perpetual_protocol/optimism/perpetual_protocol_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'perpetual', 'perpetuals', 'perps'] description: > Perpetual v2 perpetuals trades/swaps on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/pika/optimism/pika_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/pika/optimism/pika_optimism_schema.yml index eab818126c7..eb0636ed181 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/pika/optimism/pika_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/pika/optimism/pika_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'pika, pika_v1', 'perpetuals', 'perps'] description: > Pika_v1 perpetuals trades/swaps on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd @@ -98,7 +98,7 @@ models: tags: ['optimism', 'pika, pika_v2', 'perpetuals', 'perps'] description: > Pika_v2 perpetuals trades/swaps on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -139,7 +139,7 @@ models: tags: ['optimism', 'pika, pika_v3', 'perpetuals', 'perps'] description: > Pika_v3 perpetuals trades/swaps on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/synthetix/base/synthetix_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/synthetix/base/synthetix_base_schema.yml index 7f186f9d8da..3e8fde088e4 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/synthetix/base/synthetix_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/synthetix/base/synthetix_base_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base', 'synthetix', 'perpetuals', 'perps'] description: > Synthetix perpetuals trades/swaps on base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/synthetix/optimism/synthetix_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/synthetix/optimism/synthetix_optimism_schema.yml index e8504282dd7..fa9eb70b4b5 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/synthetix/optimism/synthetix_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/synthetix/optimism/synthetix_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'synthetix', 'kwenta', 'perpetuals', 'perps'] description: > Synthetix perpetuals trades/swaps on Optimism via Kwenta and Decentrex - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -46,7 +46,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd @@ -102,7 +102,7 @@ models: tags: ['optimism', 'synthetix', 'kwenta', 'decentrex', 'perpetuals', 'perps'] description: > Synthetix perpetuals trades/swaps on Optimism via Kwenta and Decentrex - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/events/tigris_arbitrum_events_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/events/tigris_arbitrum_events_schema.yml index 294a2a24ce5..64bea475d06 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/events/tigris_arbitrum_events_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/events/tigris_arbitrum_events_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > pairs added for trading on tigris on arbitrum on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - protocol_version @@ -36,7 +36,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > open position events for tigris events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -110,7 +110,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > add margin events for tigris events on v1 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -146,7 +146,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > modify margin events for tigris events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -184,7 +184,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > close position events for tigris events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -220,7 +220,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > liquidate position events for tigris events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -251,7 +251,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > limit order events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -288,7 +288,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > tigris trading contracts and their corresponding positions contract - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - trading_contract @@ -314,7 +314,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > limit cancelled events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -343,7 +343,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > options open position across all versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -396,7 +396,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > options close position across all versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -438,7 +438,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > options limit order across all versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -477,7 +477,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > options limit cancel across all versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -516,7 +516,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > fees distributed events - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -545,7 +545,7 @@ models: tags: [ 'tigris', 'optionss', 'margin' ] description: > fees distributed events - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/positions/tigris_arbitrum_positions_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/positions/tigris_arbitrum_positions_schema.yml index 692a262f63c..cf0d6fa0d12 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/positions/tigris_arbitrum_positions_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/positions/tigris_arbitrum_positions_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > combined leverage data to get up to get most recent on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -49,7 +49,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: "data on close posititions that includes margin on v1 & v2" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -104,7 +104,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > margin change data on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -129,7 +129,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > liquidation data on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/tigris_arbitrum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/tigris_arbitrum_schema.yml index e248d924933..2de31fe7e90 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/tigris_arbitrum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/arbitrum/tigris_arbitrum_schema.yml @@ -12,7 +12,7 @@ models: tags: ['arbitrum', 'tigris', 'perpetuals', 'perps'] description: > Tigris perpetuals trades/swaps on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -108,7 +108,7 @@ models: tags: ['arbitrum', 'tigris', 'trades', 'perps', 'dex'] description: > tigirstrades on Arbitrum v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -182,7 +182,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > Tigris Options Trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/events/tigris_polygon_events_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/events/tigris_polygon_events_schema.yml index 9a1a01cfce5..ae5dd85655f 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/events/tigris_polygon_events_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/events/tigris_polygon_events_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > pairs added for trading on tigris on polygon on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - protocol_version @@ -36,7 +36,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > open position events for tigris events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -110,7 +110,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > add margin events for tigris events on v1 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -146,7 +146,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > modify margin events for tigris events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -184,7 +184,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > close position events for tigris events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -220,7 +220,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > liquidate position events for tigris events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -251,7 +251,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > limit order events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -288,7 +288,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > tigris trading contracts and their corresponding positions contract - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - trading_contract @@ -314,7 +314,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > limit cancelled events on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -343,7 +343,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > options open position across all versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -396,7 +396,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > options close position across all versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -435,7 +435,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > options limit order across all versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -474,7 +474,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > options limit cancel across all versions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -513,7 +513,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > fees distributed events - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -542,7 +542,7 @@ models: tags: [ 'tigris', 'options', 'margin' ] description: > fees distributed events - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/positions/tigris_polygon_positions_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/positions/tigris_polygon_positions_schema.yml index 14692bf89c4..76df286128e 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/positions/tigris_polygon_positions_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/positions/tigris_polygon_positions_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > combined leverage data to get up to get most recent on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -49,7 +49,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: "data on close posititions that includes margin on v1 & v2" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_tx_hash @@ -104,7 +104,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > margin change data on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -129,7 +129,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > liquidation data on v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/tigris_polygon_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/tigris_polygon_schema.yml index d7dbc335e4d..fdf38fe243c 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/tigris_polygon_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/polygon/tigris_polygon_schema.yml @@ -12,7 +12,7 @@ models: tags: ['polygon', 'tigris', 'perpetuals', 'perps'] description: > Tigris perpetuals trades/swaps on avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -108,7 +108,7 @@ models: tags: ['polygon', 'tigris', 'trades', 'perps', 'dex'] description: > tigirstrades on polygon v1 & v2 - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time @@ -176,7 +176,7 @@ models: tags: [ 'tigris', 'perps', 'margin' ] description: > Tigris Options Trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/tigris_trades_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/tigris_trades_schema.yml index 0e0261ce72e..63382945d62 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/tigris_trades_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/tigris/tigris_trades_schema.yml @@ -205,7 +205,7 @@ models: tags: ['polygon', 'arbitrum', 'tigris', 'trades', 'perps', 'dex'] description: > tigirstrades pnl on arbitrum & polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - evt_block_time diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/unidex/optimism/unidex_optimism_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/unidex/optimism/unidex_optimism_schema.yml index eb1c8039466..e55f3fe9d32 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/unidex/optimism/unidex_optimism_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/unidex/optimism/unidex_optimism_schema.yml @@ -11,7 +11,7 @@ models: tags: ['optimism', 'unidex', 'unidex_v1', 'perpetuals', 'perps'] description: > Unidex_v1 perpetuals trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd @@ -98,7 +98,7 @@ models: tags: ['optimism', 'unidex', 'unidex_v2', 'perpetuals', 'perps'] description: > Unidex_v2 perpetuals trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -139,7 +139,7 @@ models: tags: ['optimism', 'unidex', 'unidex_v3', 'perpetuals', 'perps'] description: > Unidex_v3 perpetuals trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/vela_exchange/arbitrum/vela_exchange_arbitrum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/vela_exchange/arbitrum/vela_exchange_arbitrum_schema.yml index c3d76ae862a..2c24abfa029 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/vela_exchange/arbitrum/vela_exchange_arbitrum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/vela_exchange/arbitrum/vela_exchange_arbitrum_schema.yml @@ -11,7 +11,7 @@ models: tags: ['arbitrum','perpetual', 'vela_exchange','perps'] description: > Vela Exchange Perpetual Data On arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/vela_exchange/base/vela_exchange_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/vela_exchange/base/vela_exchange_base_schema.yml index 01c195a1f8b..f43e57c5e01 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/vela_exchange/base/vela_exchange_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/vela_exchange/base/vela_exchange_base_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base','perpetual', 'vela_exchange','perps'] description: > Vela Exchange Perpetual Data On Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/voodoo_trade/base/voodoo_trade_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/voodoo_trade/base/voodoo_trade_base_schema.yml index 93516b0913d..b25fa3aff11 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/voodoo_trade/base/voodoo_trade_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/voodoo_trade/base/voodoo_trade_base_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base','perpetual', 'voodoo_trade','perps'] description: > voodoo_trade Perpetual Data On Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -42,7 +42,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/xena_finance/base/xena_finance_base_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/xena_finance/base/xena_finance_base_schema.yml index 1c4516398eb..2ac421cb3c8 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/xena_finance/base/xena_finance_base_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/perpetual/projects/xena_finance/base/xena_finance_base_schema.yml @@ -11,7 +11,7 @@ models: tags: ['base', 'xena_finance', 'perpetuals', 'perps'] description: > xena_finance perpetual trades on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -45,7 +45,7 @@ models: - &market_address name: market_address description: "Contract address of the market" - tests: + data_tests: - perpetual_trades_market_address: perpetual_trades_seed: ref('perpetual_trades_seed') - &volume_usd diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/prices/prices_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/prices/prices_schema.yml index eee8b745ae2..2eea26ffef4 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/prices/prices_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/prices/prices_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'usd', 'latest'] description: "Latest price data for tokens in USD" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -37,7 +37,7 @@ models: config: tags: [ 'prices', 'usd', 'forward_fill' ] description: "View on prices that does a forward fill on the last 24h till the current timestamp" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - minute @@ -62,7 +62,8 @@ models: description: "Token decimals" - name: price description: "USD price of a token" - test: not_null + data_tests: + - not_null - name: prices_usd_daily meta: @@ -72,7 +73,7 @@ models: config: tags: ['prices', 'usd', 'daily'] description: "Daily aggregated prices table across blockchains" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/_schema.yml index 1059fd663aa..8f3b3299364 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['rollup', 'l2'] description: Gas fees paid by rollups for posting transaction data or state updates on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -59,7 +59,7 @@ models: config: tags: ['rollup', 'l2'] description: "Gas fees earned by rollup on L2" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_blob_fees/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_blob_fees/_schema.yml index 78d2cefc266..849a841b166 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_blob_fees/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_blob_fees/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by rollups for blob gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/_schema.yml index 1faa07f9250..7b1248c2f48 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by rollups for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/_schema.yml index af52bcc314e..2c7f9cbb0ba 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_data_fees/chains/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Arbitrum for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -62,7 +62,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by IMX for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -90,7 +90,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Linea for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -118,7 +118,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Loopring for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -146,7 +146,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Mantle for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -174,7 +174,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Optimism for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -202,7 +202,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Scroll for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -230,7 +230,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Starknet for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -258,7 +258,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Polygon zkEVM for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -286,7 +286,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by ZKsync Era for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -314,7 +314,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by ZKsync Lite for calldata gas on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/_schema.yml index 0466ea6ae1c..dba1cb849ba 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by rollups for proof verification on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/_schema.yml index 523fb763ca2..acf33df5627 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/rollup_economics/ethereum/l1_verification_fees/chains/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Linea for proof verification on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -62,7 +62,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Scroll for proof verification on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -90,7 +90,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Starknet for proof verification on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -118,7 +118,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by Polygon zkEVM for proof verification on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name @@ -146,7 +146,7 @@ models: config: tags: ['rollup', 'l2'] description: Fees spent by ZKsync Era for proof verification on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - name diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/staking/ethereum/entities/staking_ethereum_entities_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/staking/ethereum/entities/staking_ethereum_entities_schema.yml index b057beb1b2f..db97c1b3dda 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/staking/ethereum/entities/staking_ethereum_entities_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/staking/ethereum/entities/staking_ethereum_entities_schema.yml @@ -9,14 +9,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: Ethereum staking identified depositor entities (where a contract is called and the ETH comes from a different address) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - depositor_address columns: - name: depositor_address description: "Address of identified depositor entity" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -24,7 +24,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -36,14 +36,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: Coinbase's Ethereum staking identified depositor entities - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - depositor_address columns: - name: depositor_address description: "Address of identified depositor entity" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -51,7 +51,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -63,14 +63,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: Binance's Ethereum staking identified depositor entities - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - depositor_address columns: - name: depositor_address description: "Address of identified depositor entity" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -78,7 +78,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -90,14 +90,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: Bitcoin Suisse's Ethereum staking identified depositor entities - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - depositor_address columns: - name: depositor_address description: "Address of identified depositor entity" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -105,7 +105,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -117,14 +117,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: Batch staking contracts identified depositor entities - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_from columns: - name: tx_from description: "Transaction sender of identified depositor entity" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -132,7 +132,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -144,14 +144,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: Batch staking contracts identified depositor entities - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pubkey columns: - name: pubkey description: "Pubkey of identified depositor entity" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -159,7 +159,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -171,14 +171,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: Depositor entities identified through withdrawal credentials - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - withdrawal_credentials columns: - name: withdrawal_credentials description: "Withdrawal Credentials of identified depositor entity" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -186,7 +186,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -198,14 +198,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: Ethereum staking identified depositor entities - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - depositor_address columns: - name: depositor_address description: "Address of identified depositor entity" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -213,7 +213,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -225,14 +225,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: Ethereum staking identified tx_from entities - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_from columns: - name: tx_from description: "Address that initiated the deposit transaction(s)" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -240,7 +240,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -252,14 +252,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: DARMA Capital's Ethereum staking identified depositor entities - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - depositor_address columns: - name: depositor_address description: "Address of identified depositor entity" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -267,7 +267,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -279,14 +279,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: StakeWise v3 Ethereum staking vaults identified - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - depositor_address columns: - name: depositor_address description: "Address of identified depositor entity" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -294,7 +294,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -306,14 +306,14 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: Chorus One's Ethereum staking identified depositor entities - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - pubkey columns: - name: pubkey description: "Pubkey of identified validator" - tests: + data_tests: - unique - name: entity description: "Identified entity name" @@ -321,6 +321,6 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] \ No newline at end of file diff --git a/dbt_subprojects/hourly_spellbook/models/_sector/staking/ethereum/staking_ethereum_schema.yml b/dbt_subprojects/hourly_spellbook/models/_sector/staking/ethereum/staking_ethereum_schema.yml index d3eab2b7533..b695d7537db 100644 --- a/dbt_subprojects/hourly_spellbook/models/_sector/staking/ethereum/staking_ethereum_schema.yml +++ b/dbt_subprojects/hourly_spellbook/models/_sector/staking/ethereum/staking_ethereum_schema.yml @@ -11,7 +11,7 @@ models: config: tags: ['ethereum', 'staking', 'entities'] description: Ethereum staking identified depositor entities - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - depositor_address @@ -21,25 +21,25 @@ models: columns: - name: depositor_address description: "Address of identified depositor entity" - tests: + data_tests: - unique: config: where: "depositor_address is not null" - name: tx_from description: "Address that initiated the ETH staking deposit" - tests: + data_tests: - unique: config: where: "tx_from is not null" - name: pubkey description: "Pubkey of identified validator" - tests: + data_tests: - unique: config: where: "pubkey is not null" - name: withdrawal_credentials description: "Withdrawal Credentials of identified validator" - tests: + data_tests: - unique: config: where: "withdrawal_credentials is not null" @@ -49,7 +49,7 @@ models: description: "Unique name of identified entity" - name: category description: "Category of entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] - name: sub_entity @@ -58,7 +58,7 @@ models: description: "Unique name of identified sub entity" - name: sub_entity_category description: "Category of sub entity" - tests: + data_tests: - accepted_values: values: ['CEX', 'Staking Pool', 'Liquid Staking', 'Liquid Restaking', 'Solo Staker', 'Batch Staking Contract', 'Others', NULL] @@ -70,7 +70,7 @@ models: config: tags: ['ethereum', 'staking', 'deposits'] description: Ethereum staking deposits - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -180,7 +180,7 @@ models: tags: ['staking', 'ethereum', 'info'] description: > Ethereum staking entities info - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - entity diff --git a/dbt_subprojects/hourly_spellbook/package-lock.yml b/dbt_subprojects/hourly_spellbook/package-lock.yml index 9159e5ec7e2..17c0350a1cf 100644 --- a/dbt_subprojects/hourly_spellbook/package-lock.yml +++ b/dbt_subprojects/hourly_spellbook/package-lock.yml @@ -1,4 +1,4 @@ packages: -- package: dbt-labs/dbt_utils - version: 1.3.0 -sha1_hash: e60f3271d7a9f853b7ff6316d14feb1341ef78ea + - package: dbt-labs/dbt_utils + version: 1.3.0 +sha1_hash: 226ae69cdfbc9367e2aa2c472b01f99dbce11de0 diff --git a/dbt_subprojects/nft/dbt_project.yml b/dbt_subprojects/nft/dbt_project.yml index 44a463c85e0..f26a684eeb9 100644 --- a/dbt_subprojects/nft/dbt_project.yml +++ b/dbt_subprojects/nft/dbt_project.yml @@ -3,6 +3,7 @@ name: "nft" version: "1.0.0" config-version: 2 +require-dbt-version: ">=1.8.0" quoting: database: false @@ -34,7 +35,7 @@ clean-targets: # directories to be removed by `dbt clean` # Configuring tests # Full documentation: https://docs.getdbt.com/reference/test-configs -tests: +data_tests: nft: +store_failures: true # store failures for all tests diff --git a/dbt_subprojects/nft/models/_sector/aggregators/_schema.yml b/dbt_subprojects/nft/models/_sector/aggregators/_schema.yml index eb906076b4a..33921e530c5 100644 --- a/dbt_subprojects/nft/models/_sector/aggregators/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/aggregators/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['nft', 'aggregators'] description: > NFT aggregators - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address diff --git a/dbt_subprojects/nft/models/_sector/aggregators/chains/_schema.yml b/dbt_subprojects/nft/models/_sector/aggregators/chains/_schema.yml index f14839b1ab5..c0ff55c7111 100644 --- a/dbt_subprojects/nft/models/_sector/aggregators/chains/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/aggregators/chains/_schema.yml @@ -6,7 +6,7 @@ models: - &contract_address name: contract_address description: "Aggregator project's contract address" - tests: + data_tests: - unique - &name name: name @@ -45,7 +45,7 @@ models: columns: - name: contract_address description: "Aggregator project's contract address" - tests: + data_tests: - unique - name: name description: "Aggregator project's name" @@ -62,7 +62,7 @@ models: columns: - name: hash_marker description: "Hash used to identify an aggregator" - tests: + data_tests: - unique - name: aggregator_name description: "Name of aggregator tied to the hash_marker" @@ -83,7 +83,7 @@ models: columns: - name: contract_address description: "Aggregator project's contract address" - tests: + data_tests: - unique - name: name description: "Aggregator project's name" @@ -100,7 +100,7 @@ models: columns: - name: contract_address description: "Aggregator project's contract address" - tests: + data_tests: - unique - name: name description: "Aggregator project's name" diff --git a/dbt_subprojects/nft/models/_sector/approvals/_schema.yml b/dbt_subprojects/nft/models/_sector/approvals/_schema.yml index 47d137edb16..b45edc57c85 100644 --- a/dbt_subprojects/nft/models/_sector/approvals/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/approvals/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['nft', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'celo', 'base', 'zksync', 'approvals'] description: > NFT approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -19,7 +19,7 @@ models: columns: - name: blockchain description: "Blockchain" - tests: + data_tests: - not_null - name: block_time description: "UTC event block time" @@ -27,14 +27,14 @@ models: description: "UTC event block date" - name: block_month description: "UTC event block month" - tests: + data_tests: - not_null - name: block_number description: "event block number" - name: address description: "Address for which NFTs were approved" - name: token_standard - tests: + data_tests: - accepted_values: values: ['erc721', 'erc1155', 'bep721', 'bep1155'] - name: approval_for_all @@ -49,9 +49,9 @@ models: description: "Operator address" - name: tx_hash description: "transaction hash" - tests: + data_tests: - not_null - name: evt_index description: "Event index" - tests: + data_tests: - not_null diff --git a/dbt_subprojects/nft/models/_sector/approvals/chains/_schema.yml b/dbt_subprojects/nft/models/_sector/approvals/chains/_schema.yml index 7dcaec2aec6..d03a102371a 100644 --- a/dbt_subprojects/nft/models/_sector/approvals/chains/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/approvals/chains/_schema.yml @@ -4,7 +4,7 @@ models: # limiting this schema file to a minimal column set that needs any testing. # the full schema can be found in the nft_approvals schema file. - name: nft_arbitrum_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -14,30 +14,30 @@ models: - &blockchain name: blockchain description: "Blockchain" - tests: + data_tests: - not_null - &token_standard name: token_standard - tests: + data_tests: - accepted_values: values: ['erc721', 'erc1155', 'bep721', 'bep1155'] - &block_month name: block_month description: " block month date" - tests: + data_tests: - not_null - &tx_hash name: tx_hash description: "transaction hash" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "Event index" - tests: + data_tests: - not_null - name: nft_avalanche_c_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -51,7 +51,7 @@ models: - *evt_index - name: nft_base_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -65,7 +65,7 @@ models: - *evt_index - name: nft_bnb_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -79,7 +79,7 @@ models: - *evt_index - name: nft_celo_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -93,7 +93,7 @@ models: - *evt_index - name: nft_ethereum_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -107,7 +107,7 @@ models: - *evt_index - name: nft_fantom_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -121,7 +121,7 @@ models: - *evt_index - name: nft_gnosis_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -135,7 +135,7 @@ models: - *evt_index - name: nft_goerli_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -149,7 +149,7 @@ models: - *evt_index - name: nft_optimism_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -163,7 +163,7 @@ models: - *evt_index - name: nft_polygon_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -177,7 +177,7 @@ models: - *evt_index - name: nft_scroll_approvals - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/nft/models/_sector/lending/_schema.yml b/dbt_subprojects/nft/models/_sector/lending/_schema.yml index 30232b8f54b..9301e5f1c75 100644 --- a/dbt_subprojects/nft/models/_sector/lending/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/lending/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum','nft', 'lending'] description: > nft lending events (repay & borrow) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/nft/models/_sector/lending/ethereum/_schema.yml b/dbt_subprojects/nft/models/_sector/lending/ethereum/_schema.yml index 78953851ed7..bc69139853e 100644 --- a/dbt_subprojects/nft/models/_sector/lending/ethereum/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/lending/ethereum/_schema.yml @@ -127,7 +127,7 @@ models: tags: ['ethereum','astaria','v1','lending'] description: > Astaria lending (repay & borrow & liquidation) on ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -215,7 +215,7 @@ models: tags: ['ethereum','bend_dao','v1','lending'] description: > bend_dao lending (repay & borrow) on ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/nft/models/_sector/mints/_schema.yml b/dbt_subprojects/nft/models/_sector/mints/_schema.yml index ddb268cff47..2ff790ba16c 100644 --- a/dbt_subprojects/nft/models/_sector/mints/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/mints/_schema.yml @@ -12,7 +12,7 @@ models: tags: ['nft', 'opensea', 'looksrare', 'x2y2', 'magiceden', 'sudoswap', 'foundation', 'element', 'zora', 'ethereum', 'bnb', 'solana', 'events', 'polygon', 'optimism', 'arbitrum', 'rarible', 'aavegotchi', 'oneplanet', 'fractal', 'zksync'] description: > NFT mints - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -41,7 +41,7 @@ models: - &amount_usd name: amount_usd description: "USD value of the trade at time of execution" - tests: + data_tests: - dbt_utils.accepted_range: max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early - &token_standard diff --git a/dbt_subprojects/nft/models/_sector/mints/native/_schema.yml b/dbt_subprojects/nft/models/_sector/mints/native/_schema.yml index c4be0c45601..8a0463d07da 100644 --- a/dbt_subprojects/nft/models/_sector/mints/native/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/mints/native/_schema.yml @@ -11,7 +11,7 @@ models: tags: [ 'nft','ethereum' ] description: > NFT native (i.e., non-platform) mints - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -22,27 +22,27 @@ models: - &tx_hash name: tx_hash description: "tx_hash" - tests: + data_tests: - not_null - &evt_index name: evt_index description: "evt_index" - tests: + data_tests: - not_null - &token_id name: token_id description: "token_id version" - tests: + data_tests: - not_null - &number_of_items name: number_of_items description: "number_of_items" - tests: + data_tests: - not_null - &amount_usd name: amount_usd description: "USD value of the trade at time of execution" - tests: + data_tests: - dbt_utils.accepted_range: max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early @@ -55,7 +55,7 @@ models: tags: [ 'nft','optimism' ] description: > NFT native (i.e., non-platform) mints - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -78,7 +78,7 @@ models: tags: [ 'nft','base' ] description: > NFT native (i.e., non-platform) mints - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -101,7 +101,7 @@ models: tags: [ 'nft','zora' ] description: > NFT native (i.e., non-platform) mints - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -124,7 +124,7 @@ models: tags: [ 'nft','zksync' ] description: > NFT native (i.e., non-platform) mints - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/nft/models/_sector/mints/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/mints/platforms/_schema.yml index 9a1cef569e4..a1a5f7aa2a6 100644 --- a/dbt_subprojects/nft/models/_sector/mints/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/mints/platforms/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['zora', 'ethereum', 'mints'] description: > Zora Mints on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -55,7 +55,7 @@ models: tags: ['zora', 'optimism', 'mints'] description: > Zora Mints on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -100,7 +100,7 @@ models: tags: ['base', 'optimism', 'mints'] description: > Zora Mints on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -145,7 +145,7 @@ models: tags: ['zora', 'mints'] description: > Zora Mints on Zora - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/arbitrum/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/arbitrum/platforms/_schema.yml index 65126e51fdf..9571c075d7b 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/arbitrum/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/arbitrum/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['arbitrum', 'nft', 'trades', 'tofu'] description: "Tofu base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -24,7 +24,7 @@ models: tags: [ 'arbitrum','stealcam','v1','trades' ] description: > Stealcam v1 trades on Arbitrum - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -38,7 +38,7 @@ models: config: tags: [ 'trove', 'treasure', 'nft', 'trades' ] description: "NFT trades on trove v1 on arbitrum blockchain" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -52,7 +52,7 @@ models: config: tags: [ 'trove', 'treasure', 'nft', 'trades' ] description: "NFT trades on trove v2 on arbitrum blockchain" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -66,7 +66,7 @@ models: config: tags: [ 'element', 'nft', 'trades' ] description: "NFT trades on Element v1 on arbitrum blockchain" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -103,7 +103,7 @@ models: columns: - name: pool_address description: 'Address of the pool' - tests: + data_tests: - unique - name: sudoswap_v2_arbitrum_base_trades @@ -115,7 +115,7 @@ models: config: tags: [ 'arbitrum', 'nft', 'trades', 'sudoswap' ] description: "sudoswap v2 base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -143,7 +143,7 @@ models: config: tags: [ 'arbitrum', 'nft', 'trades', 'zonic' ] description: "zonic base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -171,7 +171,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v3) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -204,7 +204,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v4) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/avalanche_c/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/avalanche_c/platforms/_schema.yml index 2784c610327..b2802c228c6 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/avalanche_c/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/avalanche_c/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['avalanche', 'nft', 'trades', 'chikn'] description: "chikn base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -36,7 +36,7 @@ models: config: tags: ['avalanche', 'nft', 'trades', 'campfore'] description: "Campfire base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -62,7 +62,7 @@ models: config: tags: ['avalanche', 'nft', 'trades', 'campfore'] description: "hyperspace base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -88,7 +88,7 @@ models: config: tags: ['avalanche', 'nft', 'trades', 'joepegs'] description: "Joepegs base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -115,7 +115,7 @@ models: tags: [ 'avalanche_c','element','trades' ] description: > Element events on Avalanche - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -129,7 +129,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v3) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -162,7 +162,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v4) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -195,7 +195,7 @@ models: config: tags: ['avalanche', 'nft', 'trades', 'salvor'] description: "Salvor base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -222,7 +222,7 @@ models: config: tags: ['avalanche', 'nft', 'trades', 'superchief'] description: "Superchief base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/base/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/base/platforms/_schema.yml index c396cea8980..453baa8985e 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/base/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/base/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'base', 'nft', 'trades', 'alienswap' ] description: "AlienSwap base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -38,7 +38,7 @@ models: config: tags: [ 'base', 'nft', 'trades', 'element' ] description: "element base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -72,7 +72,7 @@ models: config: tags: [ 'base', 'nft', 'trades', 'zonic' ] description: "Zonic base trades on Base" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -106,7 +106,7 @@ models: columns: - name: pool_address description: 'Address of the pool' - tests: + data_tests: - unique - name: sudoswap_v2_base_base_trades @@ -118,7 +118,7 @@ models: config: tags: [ 'base', 'nft', 'trades', 'sudoswap' ] description: "sudoswap v2 base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -146,7 +146,7 @@ models: config: tags: [ 'magiceden', 'nft', 'trades' ] description: "NFT trades on Magic Eden on base" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -160,7 +160,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v4) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/blast/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/blast/platforms/_schema.yml index e0c7ac25b8c..87d3af9b7b1 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/blast/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/blast/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['blast', 'nft', 'trades', 'fantasy'] description: "Fantasy base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -24,7 +24,7 @@ models: config: tags: ['blast', 'nft', 'trades', 'blur'] description: "Blur on blast base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -38,7 +38,7 @@ models: config: tags: ['blast', 'nft', 'trades', 'opensea'] description: "OpenSea on blast base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/bnb/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/bnb/platforms/_schema.yml index 70abc5d6720..7a0c4c7c7e7 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/bnb/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/bnb/platforms/_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'bnb','tofu','v1','events' ] description: > Tofu v1 events on BSC - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -24,7 +24,7 @@ models: config: tags: [ 'liquidifty', 'nft', 'trades' ] description: "NFT trades on liquidifty on BNB blockchain" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -38,7 +38,7 @@ models: tags: [ 'bnb','nftb','v1','events' ] description: > nftb v1 events on bnb - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -52,7 +52,7 @@ models: tags: [ 'bnb','nftrade','v1','events' ] description: > nftrade v1 events on bnb - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/celo/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/celo/platforms/_schema.yml index dd80bd77e6c..2b1bdec9a99 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/celo/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/celo/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['celo', 'nft', 'trades', 'tofu'] description: "Tofu base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/ethereum/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/ethereum/platforms/_schema.yml index a0777b4ce7a..96fff34768f 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/ethereum/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/ethereum/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['ethereum', 'nft', 'trades', 'archipelago'] description: "Archipelago base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -42,7 +42,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'superrare' ] description: "Superrare base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -71,7 +71,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'foundation' ] description: "foundation base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -107,7 +107,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'cyptopunks' ] description: "cyptopunks base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -139,7 +139,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'blur' ] description: "Blur base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -167,7 +167,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'blur' ] description: "Blur base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -195,7 +195,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'blur' ] description: "Blur v2 base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -223,7 +223,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'element' ] description: "element base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -257,7 +257,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'x2y2' ] description: "x2y2 base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -288,7 +288,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'looksrare' ] description: "looksrare v1 base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -320,7 +320,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'looksrare' ] description: "looksrare v2 base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -352,7 +352,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'looksrare' ] description: "looksrare's seaport base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -380,7 +380,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'zora' ] description: "zora v1 base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -408,7 +408,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'zora' ] description: "zora v2 base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -439,7 +439,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'zora' ] description: "zora v3 base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -480,7 +480,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'sudoswap' ] description: "sudoswap base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -511,7 +511,7 @@ models: columns: - name: pool_address # unique description: 'Address of the pool' - tests: + data_tests: - unique - name: sudoswap_v2_ethereum_base_trades @@ -523,7 +523,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'sudoswap' ] description: "sudoswap v2 base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -553,7 +553,7 @@ models: collectionswap v1 pools on ethereum columns: - name: pool_address - tests: + data_tests: - unique @@ -566,7 +566,7 @@ models: config: tags: [ 'ethereum', 'nft', 'trades', 'collectionswap' ] description: "collectionswap base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -594,7 +594,7 @@ models: config: tags: [ 'trove', 'treasure', 'nft', 'trades' ] description: "NFT trades on trove on ethereum" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -608,7 +608,7 @@ models: config: tags: [ 'liquidifty', 'nft', 'trades' ] description: "NFT trades on liquidifty on ethereum" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -622,7 +622,7 @@ models: config: tags: [ 'magiceden', 'nft', 'trades' ] description: "NFT trades on Magic Eden on ethereum" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -636,7 +636,7 @@ models: config: tags: [ 'opensea', 'nft', 'trades' ] description: "NFT trades on opensea v1 on ethereum" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -662,7 +662,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v3) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -695,7 +695,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v4) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/fantom/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/fantom/platforms/_schema.yml index 1ba5f6cddf8..c6a46a4c853 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/fantom/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/fantom/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'fantom', 'nft', 'trades', 'paintswap' ] description: "PaintSwap base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] \ No newline at end of file diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/linea/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/linea/platforms/_schema.yml index 177f6bd8734..393a86a5a1a 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/linea/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/linea/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'linea', 'nft', 'trades', 'element' ] description: "element base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/nova/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/nova/platforms/_schema.yml index 323f612205b..3e9071cb26d 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/nova/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/nova/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'nova', 'nft', 'trades', 'king_of_destiny' ] description: "king_of_destiny base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -24,7 +24,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v3) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -41,7 +41,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v4) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/optimism/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/optimism/platforms/_schema.yml index cfb000a85fe..18ad52c9e31 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/optimism/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/optimism/platforms/_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'optimism','tofu','v1','trades' ] description: > Tofu v1 trades on Optimism - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -24,7 +24,7 @@ models: tags: [ 'optimism','zonic', 'trades' ] description: > Zonic events on Optimism - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -38,7 +38,7 @@ models: tags: [ 'optimism','quix', 'trades' ] description: > Quix trades on Optimism - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -52,7 +52,7 @@ models: tags: [ 'optimism','quix', 'trades' ] description: > Quix trades on Optimism - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -66,7 +66,7 @@ models: tags: [ 'optimism','quix', 'trades' ] description: > Quix trades on Optimism - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -80,7 +80,7 @@ models: tags: [ 'optimism','quix', 'trades' ] description: > Quix trades on Optimism - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -94,7 +94,7 @@ models: tags: [ 'optimism','quix', 'trades' ] description: > Quix trades on Optimism - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -108,7 +108,7 @@ models: config: tags: [ 'optimism', 'nft', 'trades', 'element' ] description: "element base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -142,7 +142,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v3) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -175,7 +175,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v4) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -208,7 +208,7 @@ models: tags: [ 'optimism','seaport','events','chuxin' ] description: > Quix Seaport events on Optimism - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -222,7 +222,7 @@ models: project: nftearth config: tags: [ 'optimism','nftearth','trades' ] - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/polygon/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/polygon/platforms/_schema.yml index 405c4bcd7dd..ebf2d9c38e2 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/polygon/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/polygon/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['polygon', 'nft', 'trades', 'aurem'] description: "Aurem base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -39,7 +39,7 @@ models: config: tags: ['polygon', 'nft', 'trades', 'dew'] description: "Dew base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -68,7 +68,7 @@ models: tags: [ 'polygon','decentraland','base_trades' ] description: > decentraland events on Polygon - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -82,7 +82,7 @@ models: tags: [ 'polygon','aavegotchi','base_trades' ] description: > Aavegotchi events on Polygon - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -96,7 +96,7 @@ models: tags: [ 'polygon','element','base_trades' ] description: > Element events on polygon - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -110,7 +110,7 @@ models: tags: [ 'polygon','fractal','base_trades' ] description: > Fractal events on Polygon - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -124,7 +124,7 @@ models: tags: [ 'polygon','rarible','base_trades' ] description: > Rarible events on Polygon - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -138,7 +138,7 @@ models: tags: [ 'polygon','tofu','v1','base_trades' ] description: > Tofu v1 base_trades on Polygon - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -152,7 +152,7 @@ models: tags: [ 'magiceden','polygon','events' ] description: > Magic Eden events on Polygon - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -166,7 +166,7 @@ models: config: tags: [ 'magiceden', 'nft', 'trades' ] description: "NFT trades on Magic Eden on polygon" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -180,7 +180,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v3) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -213,7 +213,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v4) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -246,7 +246,7 @@ models: config: tags: [ 'opensea', 'nft', 'trades' ] description: "NFT trades on opensea on polygon" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -271,7 +271,7 @@ models: tags: [ 'polygon','mooar','events','springzh' ] description: > Mooar events on Polygon - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -285,7 +285,7 @@ models: tags: [ 'polygon','oneplanet','events','springzh' ] description: > OnePlanet events on Polygon - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/scroll/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/scroll/platforms/_schema.yml index 99a6d310f5e..d60b771f600 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/scroll/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/scroll/platforms/_schema.yml @@ -10,7 +10,7 @@ models: tags: [ 'scroll','zonic', 'trades' ] description: > Zonic events on Scroll - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -24,7 +24,7 @@ models: tags: [ 'scroll','element', 'trades' ] description: > Element events on Scroll - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/zksync/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/zksync/platforms/_schema.yml index ff7113b20d8..609c3ca276e 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/zksync/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/zksync/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: [ 'zksync', 'nft', 'trades', 'tevaera' ] description: "Tevaera base trades on zkSync" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -41,7 +41,7 @@ models: config: tags: [ 'zksync', 'nft', 'trades', 'zonic' ] description: "Zonic base trades on zkSync" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -72,7 +72,7 @@ models: tags: [ 'zksync','kreatorland','base_trades' ] description: > Kreatorland trades on zksync - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -86,7 +86,7 @@ models: config: tags: [ 'zksync', 'nft', 'trades', 'zk_markets' ] description: "zkMarkets base trades on zkSync" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -114,7 +114,7 @@ models: tags: [ 'zksync','element','base_trades' ] description: > Element trades on zksync - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'block_number','tx_hash','sub_tx_trade_id' ] @@ -128,7 +128,7 @@ models: config: tags: [ 'zksync', 'nft', 'trades', 'mint_square' ] description: "Mint Square base trades on zkSync" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] diff --git a/dbt_subprojects/nft/models/_sector/trades/chains/zora/platforms/_schema.yml b/dbt_subprojects/nft/models/_sector/trades/chains/zora/platforms/_schema.yml index 92a8d1fcc11..2643c7a2de5 100644 --- a/dbt_subprojects/nft/models/_sector/trades/chains/zora/platforms/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/chains/zora/platforms/_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ['zora', 'nft', 'trades', 'zonic'] description: "zonic base trades" - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: ['block_number','tx_hash','sub_tx_trade_id'] @@ -38,7 +38,7 @@ models: tags: [ 'opensea','base_trades','seaport' ] description: > Opensea base trades from seaport (v4) - tests: + data_tests: - check_columns_nft_base_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: diff --git a/dbt_subprojects/nft/models/_sector/trades/schema.yml b/dbt_subprojects/nft/models/_sector/trades/schema.yml index bf8da98ab36..9221b702e91 100644 --- a/dbt_subprojects/nft/models/_sector/trades/schema.yml +++ b/dbt_subprojects/nft/models/_sector/trades/schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['ethereum', 'nft', 'trades', 'beta'] description: "New nft trades model" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: ['project','project_version','block_number','tx_hash','sub_tx_trade_id'] @@ -22,7 +22,7 @@ models: tags: [ 'nft', 'opensea', 'looksrare', 'x2y2', 'magiceden', 'sudoswap', 'foundation', 'element', 'zora', 'ethereum', 'bnb', 'solana', 'events', 'polygon', 'optimism', 'arbitrum', 'rarible', 'aavegotchi', 'oneplanet', 'fractal' ] description: > NFT events - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - unique_trade_id @@ -49,7 +49,7 @@ models: - &amount_usd name: amount_usd description: "USD value of the trade at time of execution" - tests: + data_tests: - dbt_utils.accepted_range: max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early - &token_standard @@ -153,7 +153,7 @@ models: tags: [ 'nft', 'opensea', 'looksrare', 'x2y2', 'magiceden', 'sudoswap', 'foundation', 'element', 'zora', 'ethereum', 'bnb', 'solana', 'optimism', 'arbitrum', 'trades','superrare', 'polygon', 'rarible', 'aavegotchi', 'oneplanet', 'fractal' ] description: > The nft.trades table on Dune captures Non-Fungible Token (NFT) trades and swaps across various marketplaces. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - unique_trade_id @@ -196,7 +196,7 @@ models: tags: [ 'nft', 'opensea', 'looksrare', 'x2y2', 'magiceden', 'sudoswap', 'foundation', 'element', 'zora', 'ethereum', 'bnb', 'solana', 'fees','superrare', 'polygon', 'rarible', 'aavegotchi', 'oneplanet', 'fractal' ] description: > NFT fees - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - unique_trade_id diff --git a/dbt_subprojects/nft/models/_sector/transfers/_schema.yml b/dbt_subprojects/nft/models/_sector/transfers/_schema.yml index 84062474cd0..e28d91c834d 100644 --- a/dbt_subprojects/nft/models/_sector/transfers/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/transfers/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['nft', 'ethereum', 'base', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'celo', 'zksync', 'zora', 'scroll', 'mantle', 'blast', 'sei', 'transfers'] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -30,7 +30,7 @@ models: description: "Block number in which the transaction was executed" - &token_standard name: token_standard - tests: + data_tests: - accepted_values: values: ['erc721', 'erc1155', 'bep721', 'bep1155'] config: @@ -38,7 +38,7 @@ models: description: "Token standard" - &transfer_type name: transfer_type - tests: + data_tests: - accepted_values: values: ['single', 'batch'] config: @@ -70,7 +70,7 @@ models: description: "Transaction hash" - &unique_transfer_id name: unique_transfer_id - tests: + data_tests: - unique: config: where: "block_time > now() - interval '7' day" @@ -85,7 +85,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -107,7 +107,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -129,7 +129,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -151,7 +151,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -173,7 +173,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -195,7 +195,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -217,7 +217,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -239,7 +239,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -261,7 +261,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -283,7 +283,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -305,7 +305,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -327,7 +327,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -349,7 +349,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -371,7 +371,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -393,7 +393,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -415,7 +415,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -437,7 +437,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash @@ -459,7 +459,7 @@ models: tags: [ 'nft', 'transfers' ] description: > NFT transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_hash diff --git a/dbt_subprojects/nft/models/_sector/wash_trades/_schema.yml b/dbt_subprojects/nft/models/_sector/wash_trades/_schema.yml index dc2a68fc3ac..3bba5701df4 100644 --- a/dbt_subprojects/nft/models/_sector/wash_trades/_schema.yml +++ b/dbt_subprojects/nft/models/_sector/wash_trades/_schema.yml @@ -89,7 +89,7 @@ models: description: "Address that received the transaction" - &unique_trade_id name: unique_trade_id - tests: + data_tests: - unique: config: where: "unique_trade_id is not null and block_date >= NOW() - interval '2' day" diff --git a/dbt_subprojects/nft/models/nft_metrics/ethereum/metadata/nft_ethereum_metadata_schema.yml b/dbt_subprojects/nft/models/nft_metrics/ethereum/metadata/nft_ethereum_metadata_schema.yml index 21a6dc5f953..5109764d635 100644 --- a/dbt_subprojects/nft/models/nft_metrics/ethereum/metadata/nft_ethereum_metadata_schema.yml +++ b/dbt_subprojects/nft/models/nft_metrics/ethereum/metadata/nft_ethereum_metadata_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: token_id description: "Token ID" - tests: + data_tests: - unique - &token_id_short name: token_id_short @@ -68,7 +68,7 @@ models: columns: - name: token_id description: "Token ID" - tests: + data_tests: - unique - &color_direction name: color_direction @@ -116,7 +116,7 @@ models: columns: - name: token_id description: "Token ID" - tests: + data_tests: - unique - &mode name: mode @@ -167,7 +167,7 @@ models: columns: - name: token_id description: "Token ID" - tests: + data_tests: - unique - name: background description: "background" @@ -236,7 +236,7 @@ models: description: "If Curated collection, season it was launched in. Else N/A" - name: art_collection_unique_id description: "Unique identifier - contract address and project id" - tests: + data_tests: - unique - name: nft_ethereum_metadata_bright_moments @@ -263,7 +263,7 @@ models: description: "City collection launched in, if applicable" - name: art_collection_unique_id description: "Unique identifier - contract address and project id" - tests: + data_tests: - unique - name: nft_ethereum_metadata_proof_grails_i @@ -292,7 +292,7 @@ models: description: "Grail ID pre-reveal" - name: art_collection_unique_id description: "Unique identifier - contract address and project id" - tests: + data_tests: - unique - name: nft_ethereum_metadata_proof_grails_ii @@ -321,7 +321,7 @@ models: description: "Grail ID pre-reveal" - name: art_collection_unique_id description: "Unique identifier - contract address and project id" - tests: + data_tests: - unique - name: nft_ethereum_metadata_braindrops @@ -346,7 +346,7 @@ models: description: "Name of artist" - name: art_collection_unique_id description: "Unique identifier - contract address and project id" - tests: + data_tests: - unique - name: nft_ethereum_metadata_verse @@ -371,7 +371,7 @@ models: description: "Name of artist" - name: art_collection_unique_id description: "Unique identifier - contract address and project id" - tests: + data_tests: - unique - name: nft_ethereum_metadata_fellowship_gallery @@ -386,7 +386,7 @@ models: columns: - name: contract_address description: "Collection contract address" - tests: + data_tests: - unique - name: collection_name description: "Name of collection" @@ -421,7 +421,7 @@ models: description: "Name of project" - name: art_collection_unique_id description: "Unique identifier - contract address and project id" - tests: + data_tests: - unique - name: nft_ethereum_metadata_art_platform_collections @@ -459,7 +459,7 @@ models: columns: - name: title description: "Unique identifier - title of piece" - tests: + data_tests: - unique - name: art_type description: "Type - 1/1, edition, etc." diff --git a/dbt_subprojects/nft/models/nft_metrics/ethereum/nft_ethereum_schema.yml b/dbt_subprojects/nft/models/nft_metrics/ethereum/nft_ethereum_schema.yml index fc77f35b25f..0f0fefda626 100644 --- a/dbt_subprojects/nft/models/nft_metrics/ethereum/nft_ethereum_schema.yml +++ b/dbt_subprojects/nft/models/nft_metrics/ethereum/nft_ethereum_schema.yml @@ -34,7 +34,7 @@ models: tags: ['nft', 'ethereum', 'top minters'] description: > Top 50 NFT minters - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - nft_contract_address @@ -60,7 +60,7 @@ models: tags: ['nft', 'ethereum', 'wallet pnl'] description: > Top 50 nft traders based on profit from nft.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - wallet @@ -90,7 +90,7 @@ models: tags: ['nft','ethereum', 'sales stats','volume'] description: > This spell aggregates nft collections trading stats (volume, floor price) and pulls the data from nft.trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -125,7 +125,7 @@ models: columns: - name: wallet description: "NFT trader's wallet address" - tests: + data_tests: - unique - name: unique_collections_traded description: "Count of unqiue collections/ERC721-contracts traded" diff --git a/dbt_subprojects/nft/models/nft_metrics/nft_schema.yml b/dbt_subprojects/nft/models/nft_metrics/nft_schema.yml index 88f857fbe90..3dcd9c3b9f2 100644 --- a/dbt_subprojects/nft/models/nft_metrics/nft_schema.yml +++ b/dbt_subprojects/nft/models/nft_metrics/nft_schema.yml @@ -10,7 +10,7 @@ models: tags: ['nft', 'opensea', 'looksrare', 'x2y2', 'magiceden', 'sudoswap', 'ethereum', 'solana', 'address'] description: > NFT linked addresses. Addresses that buy and sell NFTs from each other. By definition (master address < alt address) alphabetically. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -34,7 +34,7 @@ models: tags: ['nft', 'ethereum', 'polygon', 'bnb', 'avalanche_c', 'gnosis', 'optimism', 'arbitrum', 'fantom', 'goerli', 'info'] description: > NFT marketplaces info - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project diff --git a/dbt_subprojects/nft/models/seaport/arbitrum/seaport_arbitrum_schema.yml b/dbt_subprojects/nft/models/seaport/arbitrum/seaport_arbitrum_schema.yml index 409a10373b1..7a36a4279f7 100644 --- a/dbt_subprojects/nft/models/seaport/arbitrum/seaport_arbitrum_schema.yml +++ b/dbt_subprojects/nft/models/seaport/arbitrum/seaport_arbitrum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['arbitrum','seaport','base_pairs','sohwak'] description: > Exploded table from Seaport trade events with `offer` and `consideration` array columns - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -122,7 +122,7 @@ models: tags: ['arbitrum','seaport','base_pairs','sohwak'] description: > Seaport trades on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -278,7 +278,7 @@ models: tags: ['seaport', 'arbitrum', 'traces'] description: > Seaport emitted event traces on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -297,7 +297,7 @@ models: - name: block_number description: "Block number in which the transaction was executed" - name: trace_side - tests: + data_tests: - accepted_values: values: ['consideration', 'offer'] description: "Side of the trace" @@ -306,7 +306,7 @@ models: - name: tx_hash description: "Transaction hash" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20', 'erc721', 'erc1155'] description: "Token standard" @@ -340,7 +340,7 @@ models: tags: ['seaport', 'arbitrum', 'tagging'] description: > Seaport tagging to identify the different protocols using Seaport on Arbitrum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -351,7 +351,7 @@ models: description: "Blockchain" - name: tagging_method description: "Identification method" - tests: + data_tests: - accepted_values: values: ['zone', 'fee_recipient', 'tx_data_salt'] - name: identifier diff --git a/dbt_subprojects/nft/models/seaport/avalanche_c/seaport_avalanche_c_schema.yml b/dbt_subprojects/nft/models/seaport/avalanche_c/seaport_avalanche_c_schema.yml index d2ec5500fa9..452b3c7baea 100644 --- a/dbt_subprojects/nft/models/seaport/avalanche_c/seaport_avalanche_c_schema.yml +++ b/dbt_subprojects/nft/models/seaport/avalanche_c/seaport_avalanche_c_schema.yml @@ -10,7 +10,7 @@ models: tags: ['avalanche_c','seaport','base_pairs','sohwak'] description: > Exploded table from Seaport trade events with `offer` and `consideration` array columns - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -122,7 +122,7 @@ models: tags: ['avalanche_c','seaport','base_pairs','sohwak'] description: > Seaport trades on Avalanche_c - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -278,7 +278,7 @@ models: tags: ['seaport', 'avalanche_c', 'traces'] description: > Seaport emitted event traces on Avalanche C-chain - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -297,7 +297,7 @@ models: - name: block_number description: "Block number in which the transaction was executed" - name: trace_side - tests: + data_tests: - accepted_values: values: ['consideration', 'offer'] description: "Side of the trace" @@ -306,7 +306,7 @@ models: - name: tx_hash description: "Transaction hash" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20', 'erc721', 'erc1155'] description: "Token standard" @@ -340,7 +340,7 @@ models: tags: ['seaport', 'avalanche_c', 'tagging'] description: > Seaport tagging to identify the different protocols using Seaport on Avalanche C-chain - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -351,7 +351,7 @@ models: description: "Blockchain" - name: tagging_method description: "Identification method" - tests: + data_tests: - accepted_values: values: ['zone', 'fee_recipient', 'tx_data_salt'] - name: identifier diff --git a/dbt_subprojects/nft/models/seaport/base/seaport_base_schema.yml b/dbt_subprojects/nft/models/seaport/base/seaport_base_schema.yml index bd1d21c81aa..5626acc68c5 100644 --- a/dbt_subprojects/nft/models/seaport/base/seaport_base_schema.yml +++ b/dbt_subprojects/nft/models/seaport/base/seaport_base_schema.yml @@ -10,7 +10,7 @@ models: tags: ['seaport', 'base', 'traces'] description: > Seaport emitted event traces on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -29,7 +29,7 @@ models: - name: block_number description: "Block number in which the transaction was executed" - name: trace_side - tests: + data_tests: - accepted_values: values: ['consideration', 'offer'] description: "Side of the trace" @@ -38,7 +38,7 @@ models: - name: tx_hash description: "Transaction hash" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20', 'erc721', 'erc1155'] description: "Token standard" @@ -72,7 +72,7 @@ models: tags: ['seaport', 'base', 'tagging'] description: > Seaport tagging to identify the different protocols using Seaport on Base - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -83,7 +83,7 @@ models: description: "Blockchain" - name: tagging_method description: "Identification method" - tests: + data_tests: - accepted_values: values: ['zone', 'fee_recipient', 'tx_data_salt'] - name: identifier diff --git a/dbt_subprojects/nft/models/seaport/bnb/seaport_bnb_schema.yml b/dbt_subprojects/nft/models/seaport/bnb/seaport_bnb_schema.yml index 4be28b3048d..f4ecdfcc5e8 100644 --- a/dbt_subprojects/nft/models/seaport/bnb/seaport_bnb_schema.yml +++ b/dbt_subprojects/nft/models/seaport/bnb/seaport_bnb_schema.yml @@ -10,7 +10,7 @@ models: tags: ['bnb','seaport','base_pairs','sohwak'] description: > Exploded table from Seaport trade events with `offer` and `consideration` array columns - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -122,7 +122,7 @@ models: tags: ['bnb','seaport','base_pairs','sohwak'] description: > Seaport trades on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -278,7 +278,7 @@ models: tags: ['seaport', 'bnb', 'traces'] description: > Seaport emitted event traces on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -297,7 +297,7 @@ models: - name: block_number description: "Block number in which the transaction was executed" - name: trace_side - tests: + data_tests: - accepted_values: values: ['consideration', 'offer'] description: "Side of the trace" @@ -306,7 +306,7 @@ models: - name: tx_hash description: "Transaction hash" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'bep20', 'bep721', 'bep1155'] description: "Token standard" @@ -340,7 +340,7 @@ models: tags: ['seaport', 'bnb', 'tagging'] description: > Seaport tagging to identify the different protocols using Seaport on BNB - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -351,7 +351,7 @@ models: description: "Blockchain" - name: tagging_method description: "Identification method" - tests: + data_tests: - accepted_values: values: ['zone', 'fee_recipient', 'tx_data_salt'] - name: identifier diff --git a/dbt_subprojects/nft/models/seaport/ethereum/seaport_ethereum_schema.yml b/dbt_subprojects/nft/models/seaport/ethereum/seaport_ethereum_schema.yml index 97c90755622..b09c9bd397e 100644 --- a/dbt_subprojects/nft/models/seaport/ethereum/seaport_ethereum_schema.yml +++ b/dbt_subprojects/nft/models/seaport/ethereum/seaport_ethereum_schema.yml @@ -10,7 +10,7 @@ models: tags: ['ethereum','seaport','base_pairs','sohwak'] description: > Exploded table from Seaport trade events with `offer` and `consideration` array columns - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -99,7 +99,7 @@ models: tags: ['ethereum','seaport','trades','sohwak'] description: > Seaport trades on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -256,7 +256,7 @@ models: tags: ['ethereum','seaport','base_pairs','sohwak'] description: > Seaport trades on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -349,7 +349,7 @@ models: tags: ['ethereum','seaport','base_pairs','sohwak'] description: > Seaport trades on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -438,7 +438,7 @@ models: tags: ['seaport', 'ethereum', 'traces'] description: > Seaport emitted event traces on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -457,7 +457,7 @@ models: - name: block_number description: "Block number in which the transaction was executed" - name: trace_side - tests: + data_tests: - accepted_values: values: ['consideration', 'offer'] description: "Side of the trace" @@ -466,7 +466,7 @@ models: - name: tx_hash description: "Transaction hash" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20', 'erc721', 'erc1155'] description: "Token standard" @@ -500,7 +500,7 @@ models: tags: ['seaport', 'ethereum', 'tagging'] description: > Seaport tagging to identify the different protocols using Seaport on Ethereum - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -511,7 +511,7 @@ models: description: "Blockchain" - name: tagging_method description: "Identification method" - tests: + data_tests: - accepted_values: values: ['zone', 'fee_recipient', 'tx_data_salt'] - name: identifier diff --git a/dbt_subprojects/nft/models/seaport/optimism/seaport_optimism_schema.yml b/dbt_subprojects/nft/models/seaport/optimism/seaport_optimism_schema.yml index a88cd741bf9..885543aeb81 100644 --- a/dbt_subprojects/nft/models/seaport/optimism/seaport_optimism_schema.yml +++ b/dbt_subprojects/nft/models/seaport/optimism/seaport_optimism_schema.yml @@ -10,7 +10,7 @@ models: tags: ['optimism','seaport','base_pairs','sohwak'] description: > Exploded table from Seaport trade events with `offer` and `consideration` array columns - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -125,7 +125,7 @@ models: tags: ['optimism','seaport','base_pairs','sohwak'] description: > Seaport trades on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -280,7 +280,7 @@ models: tags: ['seaport', 'optimism', 'traces'] description: > Seaport emitted event traces on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -299,7 +299,7 @@ models: - name: block_number description: "Block number in which the transaction was executed" - name: trace_side - tests: + data_tests: - accepted_values: values: ['consideration', 'offer'] description: "Side of the trace" @@ -308,7 +308,7 @@ models: - name: tx_hash description: "Transaction hash" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20', 'erc721', 'erc1155'] description: "Token standard" @@ -342,7 +342,7 @@ models: tags: ['seaport', 'optimism', 'tagging'] description: > Seaport tagging to identify the different protocols using Seaport on Optimism - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -353,7 +353,7 @@ models: description: "Blockchain" - name: tagging_method description: "Identification method" - tests: + data_tests: - accepted_values: values: ['zone', 'fee_recipient', 'tx_data_salt'] - name: identifier diff --git a/dbt_subprojects/nft/models/seaport/polygon/seaport_polygon_schema.yml b/dbt_subprojects/nft/models/seaport/polygon/seaport_polygon_schema.yml index d1d1a981a1c..cf6d81bad0b 100644 --- a/dbt_subprojects/nft/models/seaport/polygon/seaport_polygon_schema.yml +++ b/dbt_subprojects/nft/models/seaport/polygon/seaport_polygon_schema.yml @@ -10,7 +10,7 @@ models: tags: ['polygon','seaport','base_pairs','sohwak'] description: > Exploded table from Seaport trade events with `offer` and `consideration` array columns - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -125,7 +125,7 @@ models: tags: ['polygon','seaport','base_pairs','sohwak'] description: > Seaport trades on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -280,7 +280,7 @@ models: tags: ['seaport', 'polygon', 'traces'] description: > Seaport emitted event traces on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_number @@ -299,7 +299,7 @@ models: - name: block_number description: "Block number in which the transaction was executed" - name: trace_side - tests: + data_tests: - accepted_values: values: ['consideration', 'offer'] description: "Side of the trace" @@ -308,7 +308,7 @@ models: - name: tx_hash description: "Transaction hash" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20', 'erc721', 'erc1155'] description: "Token standard" @@ -342,7 +342,7 @@ models: tags: ['seaport', 'polygon', 'tagging'] description: > Seaport tagging to identify the different protocols using Seaport on Polygon - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -353,7 +353,7 @@ models: description: "Blockchain" - name: tagging_method description: "Identification method" - tests: + data_tests: - accepted_values: values: ['zone', 'fee_recipient', 'tx_data_salt'] - name: identifier diff --git a/dbt_subprojects/nft/models/seaport/seaport_schema.yml b/dbt_subprojects/nft/models/seaport/seaport_schema.yml index 1db862a52cd..0a10e6696ff 100644 --- a/dbt_subprojects/nft/models/seaport/seaport_schema.yml +++ b/dbt_subprojects/nft/models/seaport/seaport_schema.yml @@ -10,7 +10,7 @@ models: tags: ['seaport', 'arbitrum', 'avalanche_c', 'base', 'bnb', 'ethereum', 'optimism', 'polygon', 'traces'] description: > Seaport emitted event traces across chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -30,7 +30,7 @@ models: - name: block_number description: "Block number in which the transaction was executed" - name: trace_side - tests: + data_tests: - accepted_values: values: ['consideration', 'offer'] description: "Side of the trace" @@ -39,7 +39,7 @@ models: - name: tx_hash description: "Transaction hash" - name: token_standard - tests: + data_tests: - accepted_values: values: ['native', 'erc20', 'erc721', 'erc1155', 'bep20', 'bep721', 'bep1155'] description: "Token standard" @@ -73,7 +73,7 @@ models: tags: ['seaport', 'arbitrum', 'avalanche_c', 'base', 'bnb', 'ethereum', 'optimism', 'polygon', 'tagging'] description: > Seaport tagging to identify the different protocols using Seaport across chains - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -84,7 +84,7 @@ models: description: "Blockchain" - name: tagging_method description: "Identification method" - tests: + data_tests: - accepted_values: values: ['zone', 'fee_recipient', 'tx_data_salt'] - name: identifier diff --git a/dbt_subprojects/nft/package-lock.yml b/dbt_subprojects/nft/package-lock.yml index c0962720778..17c0350a1cf 100644 --- a/dbt_subprojects/nft/package-lock.yml +++ b/dbt_subprojects/nft/package-lock.yml @@ -1,4 +1,4 @@ packages: -- package: dbt-labs/dbt_utils - version: 1.1.1 -sha1_hash: 23451c207c1d4dd71b5925f12a5cd66f2ebb2b3b + - package: dbt-labs/dbt_utils + version: 1.3.0 +sha1_hash: 226ae69cdfbc9367e2aa2c472b01f99dbce11de0 diff --git a/dbt_subprojects/solana/dbt_project.yml b/dbt_subprojects/solana/dbt_project.yml index b5d2e7c03da..ed3a13af12f 100644 --- a/dbt_subprojects/solana/dbt_project.yml +++ b/dbt_subprojects/solana/dbt_project.yml @@ -3,6 +3,7 @@ name: "solana" version: "1.0.0" config-version: 2 +require-dbt-version: ">=1.8.0" quoting: database: false @@ -31,7 +32,7 @@ clean-targets: # directories to be removed by `dbt clean` # Configuring tests # Full documentation: https://docs.getdbt.com/reference/test-configs -tests: +data_tests: solana: +store_failures: true # store failures for all tests diff --git a/dbt_subprojects/solana/models/_sector/dex/_schema.yml b/dbt_subprojects/solana/models/_sector/dex/_schema.yml index 79f9ce36a3c..f3e04d283ed 100644 --- a/dbt_subprojects/solana/models/_sector/dex/_schema.yml +++ b/dbt_subprojects/solana/models/_sector/dex/_schema.yml @@ -9,7 +9,7 @@ models: tags: [ 'solana','dex' ] description: > all raw dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month'] @@ -23,7 +23,7 @@ models: tags: ['solana','dex'] description: > The dex_solana.trades table captures detailed data on decentralized exchange (DEX) trades on the Solana blockchain, recording all trade events across various protocols. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month'] columns: @@ -69,7 +69,7 @@ models: - &amount_usd name: amount_usd description: "USD value of the trade at time of execution" - tests: + data_tests: - dbt_utils.accepted_range: max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early severity: warn @@ -118,7 +118,7 @@ models: tags: ['solana','dex', 'price'] description: > All token price in Orca pool - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/solana/models/_sector/dex/bot_trades/solana/_schema.yml b/dbt_subprojects/solana/models/_sector/dex/bot_trades/solana/_schema.yml index 7b3cb551e7d..ddbacdb2eb1 100644 --- a/dbt_subprojects/solana/models/_sector/dex/bot_trades/solana/_schema.yml +++ b/dbt_subprojects/solana/models/_sector/dex/bot_trades/solana/_schema.yml @@ -103,7 +103,7 @@ models: tags: ["solana", "dex", "bonkbot", "trades"] description: > Bonkbot trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -125,7 +125,7 @@ models: tags: ["solana", "dex", "bot", "trojan", "trades"] description: > Trojan trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -147,7 +147,7 @@ models: tags: ["solana", "dex", "banana_gun", "trades"] description: > Banana Gun trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -169,7 +169,7 @@ models: tags: ["solana", "dex", "soltradingbot", "trades"] description: > Sol Trading Bot trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -191,7 +191,7 @@ models: tags: ["solana", "dex", "pepeboost", "trades"] description: > Pepe Boost trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -213,7 +213,7 @@ models: tags: ["solana", "dex", "maestro", "trades"] description: > Maestro trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -235,7 +235,7 @@ models: tags: ["solana", "dex", "shuriken", "trades"] description: > Shuriken trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -257,7 +257,7 @@ models: tags: ["solana", "dex", "magnum", "trades"] description: > Magnum trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -279,7 +279,7 @@ models: tags: ["solana", "dex", "readyswap", "trades"] description: > Readyswap trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -301,7 +301,7 @@ models: tags: ["solana", "dex", "solgun", "trades"] description: > SolGun trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -323,7 +323,7 @@ models: tags: ["solana", "dex", "looter", "trades"] description: > Looter trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -345,7 +345,7 @@ models: tags: ["solana", "dex", "consortium_key", "trades"] description: > Consortium Key trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -367,7 +367,7 @@ models: tags: ["solana", "dex", "wifbot", "trades"] description: > Wifbot trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -389,7 +389,7 @@ models: tags: ["solana", "dex", "soul_sniper", "trades"] description: > Soul Sniper trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -413,8 +413,8 @@ models: tags: ["solana", "dex", "bot_trades"] columns: - name: user - tests: unique - tests: + data_tests: unique + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - user @@ -431,7 +431,7 @@ models: tags: ["solana", "dex", "bot_trades"] columns: - name: user - tests: unique + data_tests: unique - name: tirador_solana_bot_trades meta: @@ -443,7 +443,7 @@ models: tags: ["solana", "dex", "tirador", "trades"] description: > Tirador trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -465,7 +465,7 @@ models: tags: ["solana", "dex", "unibot", "trades"] description: > Unibot trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -487,7 +487,7 @@ models: tags: ["solana", "dex", "mev_x", "trades"] description: > MevX trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -509,7 +509,7 @@ models: tags: ["solana", "dex", "alpha_dex", "trades"] description: > Alpha Dex trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -533,7 +533,7 @@ models: tags: ["solana", "dex", "bot_trades"] columns: - name: user - tests: unique + data_tests: unique - name: jupbot_solana_bot_trades meta: @@ -545,7 +545,7 @@ models: tags: ["solana", "dex", "jupbot", "trades"] description: > Jupbot trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/solana/models/_sector/dex/goosefx/_schema.yml b/dbt_subprojects/solana/models/_sector/dex/goosefx/_schema.yml index 943705c15e9..d2eee14a205 100644 --- a/dbt_subprojects/solana/models/_sector/dex/goosefx/_schema.yml +++ b/dbt_subprojects/solana/models/_sector/dex/goosefx/_schema.yml @@ -9,7 +9,7 @@ models: tags: [ 'solana','dex' ] description: > all goosefx ssl v2 dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month' ] diff --git a/dbt_subprojects/solana/models/_sector/dex/lifinity/schema.yml b/dbt_subprojects/solana/models/_sector/dex/lifinity/schema.yml index 39e2dfc8850..319349855f1 100644 --- a/dbt_subprojects/solana/models/_sector/dex/lifinity/schema.yml +++ b/dbt_subprojects/solana/models/_sector/dex/lifinity/schema.yml @@ -9,7 +9,7 @@ models: tags: [ 'solana','dex' ] description: > all raw lifinity v1 dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month' ] @@ -116,7 +116,7 @@ models: tags: [ 'solana','dex' ] description: > all raw lifinity v2 dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month' ] diff --git a/dbt_subprojects/solana/models/_sector/dex/meteora/_schema.yml b/dbt_subprojects/solana/models/_sector/dex/meteora/_schema.yml index e9ad50c0d5c..b65e3ac4378 100644 --- a/dbt_subprojects/solana/models/_sector/dex/meteora/_schema.yml +++ b/dbt_subprojects/solana/models/_sector/dex/meteora/_schema.yml @@ -9,7 +9,7 @@ models: tags: [ 'solana','dex' ] description: > all meteora amm dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month' ] @@ -21,7 +21,7 @@ models: tags: [ 'solana','dex' ] description: > all meteora amm dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month' ] diff --git a/dbt_subprojects/solana/models/_sector/dex/orca_whirlpool/orca_whirlpool_schema.yml b/dbt_subprojects/solana/models/_sector/dex/orca_whirlpool/orca_whirlpool_schema.yml index 2eb319d5473..e3b1cafb980 100644 --- a/dbt_subprojects/solana/models/_sector/dex/orca_whirlpool/orca_whirlpool_schema.yml +++ b/dbt_subprojects/solana/models/_sector/dex/orca_whirlpool/orca_whirlpool_schema.yml @@ -9,7 +9,7 @@ models: tags: [ 'solana','dex' ] description: > all raw whirlpool dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month' ] @@ -22,7 +22,7 @@ models: tags: [ 'solana','dex' ] description: > all raw whirlpool dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month' ] @@ -108,7 +108,7 @@ models: tags: ['solana','dex', 'price'] description: > All token price in Orca pool - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -138,7 +138,7 @@ models: tags: ['solana','dex', 'price'] description: > All token price in Orca pool - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/solana/models/_sector/dex/phoenix/schema.yml b/dbt_subprojects/solana/models/_sector/dex/phoenix/schema.yml index 604ff4b6b2b..0260f1a4d04 100644 --- a/dbt_subprojects/solana/models/_sector/dex/phoenix/schema.yml +++ b/dbt_subprojects/solana/models/_sector/dex/phoenix/schema.yml @@ -9,7 +9,7 @@ models: tags: ['solana','dex'] description: > all phoenix v1 dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month' ] diff --git a/dbt_subprojects/solana/models/_sector/dex/pumpdotfun/solana/schema.yml b/dbt_subprojects/solana/models/_sector/dex/pumpdotfun/solana/schema.yml index d3a2cd8e326..556893ff4f9 100644 --- a/dbt_subprojects/solana/models/_sector/dex/pumpdotfun/solana/schema.yml +++ b/dbt_subprojects/solana/models/_sector/dex/pumpdotfun/solana/schema.yml @@ -9,7 +9,7 @@ models: tags: [ 'solana','dex' ] description: > all raw pumpdotfun dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month' ] diff --git a/dbt_subprojects/solana/models/_sector/dex/raydium/schema.yml b/dbt_subprojects/solana/models/_sector/dex/raydium/schema.yml index 551f89b3c34..b7f4a788ce3 100644 --- a/dbt_subprojects/solana/models/_sector/dex/raydium/schema.yml +++ b/dbt_subprojects/solana/models/_sector/dex/raydium/schema.yml @@ -9,7 +9,7 @@ models: tags: [ 'solana','dex' ] description: > all raw raydium_v3 CLAMM dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month' ] @@ -68,7 +68,7 @@ models: - &amount_usd name: amount_usd description: "USD value of the trade at time of execution" - tests: + data_tests: - dbt_utils.accepted_range: max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early severity: warn @@ -120,7 +120,7 @@ models: tags: [ 'solana','dex' ] description: > all raw raydium_v4 hybrid amm dex trades on Solana - tests: + data_tests: - check_columns_solana_dex_trades - dbt_utils.unique_combination_of_columns: combination_of_columns: [ 'tx_id', 'outer_instruction_index', 'inner_instruction_index', 'tx_index', 'block_month' ] diff --git a/dbt_subprojects/solana/models/_sector/dex/sandwiches/solana/_schema.yml b/dbt_subprojects/solana/models/_sector/dex/sandwiches/solana/_schema.yml index 7e7a3f18393..d8c7bdbda80 100644 --- a/dbt_subprojects/solana/models/_sector/dex/sandwiches/solana/_schema.yml +++ b/dbt_subprojects/solana/models/_sector/dex/sandwiches/solana/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['dex', 'mev', 'sandwiches', 'solana'] description: > DEX MEV Sandwich Trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -103,7 +103,7 @@ models: tags: ['dex', 'mev', 'sandwiched', 'solana'] description: > DEX MEV Sandwiched Trades on Solana - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/solana/models/_sector/nft/nft_solana_trades_schema.yml b/dbt_subprojects/solana/models/_sector/nft/nft_solana_trades_schema.yml index ef899441055..0f5f0937e37 100644 --- a/dbt_subprojects/solana/models/_sector/nft/nft_solana_trades_schema.yml +++ b/dbt_subprojects/solana/models/_sector/nft/nft_solana_trades_schema.yml @@ -45,7 +45,7 @@ models: - &amount_usd name: amount_usd description: "USD value of the trade at time of execution" - tests: + data_tests: - dbt_utils.accepted_range: max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early - &amount_original diff --git a/dbt_subprojects/solana/models/_sector/nft/old/_schema.yml b/dbt_subprojects/solana/models/_sector/nft/old/_schema.yml index 32618cd7f37..e250c7a5b04 100644 --- a/dbt_subprojects/solana/models/_sector/nft/old/_schema.yml +++ b/dbt_subprojects/solana/models/_sector/nft/old/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['magiceden','solana','events'] description: > Magic Eden events on Solana - tests: + data_tests: - check_columns_nft_old_events - dbt_utils.unique_combination_of_columns: combination_of_columns: @@ -25,5 +25,5 @@ models: tags: [ 'solana','opensea','events' ] description: > OpenSea events on Solana - tests: + data_tests: - check_columns_nft_old_events diff --git a/dbt_subprojects/solana/models/_sector/nft/platforms/_schema.yml b/dbt_subprojects/solana/models/_sector/nft/platforms/_schema.yml index 04bd5c8bc66..7d869fed3a1 100644 --- a/dbt_subprojects/solana/models/_sector/nft/platforms/_schema.yml +++ b/dbt_subprojects/solana/models/_sector/nft/platforms/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['magiceden','solana','nft'] description: > magiceden solana trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -151,12 +151,12 @@ models: - &outer_instruction_index name: outer_instruction_index description: "outer index of instruction call" - tests: + data_tests: - not_null - &inner_instruction_index name: inner_instruction_index description: "inner index of instruction call" - tests: + data_tests: - not_null - name: magiceden_v3_solana_trades @@ -168,7 +168,7 @@ models: tags: [ 'magiceden','solana','nft' ] description: > magiceden solana trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - instruction @@ -240,7 +240,7 @@ models: tags: [ 'magiceden','solana','nft' ] description: > magiceden solana trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -314,7 +314,7 @@ models: tags: [ 'tensorswap','solana','nft' ] description: > tensorswap solana trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project @@ -389,7 +389,7 @@ models: tags: [ 'tensorswap','solana','nft' ] description: > tensorswap solana trades - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - project diff --git a/dbt_subprojects/solana/models/_sector/staking/solana/_schema.yml b/dbt_subprojects/solana/models/_sector/staking/solana/_schema.yml index 05d323714a6..96e4228a0fc 100644 --- a/dbt_subprojects/solana/models/_sector/staking/solana/_schema.yml +++ b/dbt_subprojects/solana/models/_sector/staking/solana/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['solana', 'staking', 'actions'] description: Solana Stake11111 program actions - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -22,7 +22,7 @@ models: columns: - name: stake description: amount in stake moved - tests: + data_tests: - not_null - name: action description: withdraw, merge, or split stake @@ -45,7 +45,7 @@ models: config: tags: ['solana', 'staking', 'delegate'] description: Solana stake account vote delegations over time - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_time @@ -68,7 +68,7 @@ models: config: tags: ['solana', 'staking', 'delegate'] description: Solana validator stake accounts delegated for each epoch (includes only accounts delegated BEFORE epoch started) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - epoch @@ -93,7 +93,7 @@ models: config: tags: ['solana', 'staking', 'delegate'] description: Solana validator stake accounts delegated for each epoch (includes only accounts delegated BEFORE epoch started) - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - epoch diff --git a/dbt_subprojects/solana/models/_sector/staking/solana/staking_solana_validator_stake_account_epochs.sql b/dbt_subprojects/solana/models/_sector/staking/solana/staking_solana_validator_stake_account_epochs.sql index f3adfd2b2e3..877b50cfa82 100644 --- a/dbt_subprojects/solana/models/_sector/staking/solana/staking_solana_validator_stake_account_epochs.sql +++ b/dbt_subprojects/solana/models/_sector/staking/solana/staking_solana_validator_stake_account_epochs.sql @@ -1,11 +1,7 @@ {{ config( schema = 'staking_solana' , alias = 'validator_stake_account_epochs' - , materialized = 'incremental' - , file_format = 'delta' - , incremental_strategy = 'merge' - , unique_key = ['epoch', 'epoch_time', 'stake_account', 'vote_account'] - , incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.epoch_time')] + , materialized = 'table' , post_hook='{{ expose_spells(\'["solana"]\', "sector", "staking", @@ -24,7 +20,4 @@ FROM {{ ref('staking_solana_validator_stake_account_epochs_raw')}} b LEFT JOIN {{ ref('solana_utils_daily_balances')}} bal ON bal.address = b.stake_account AND bal.token_mint_address is null AND bal.day <= date_trunc('day', b.epoch_time) -{% if is_incremental() %} -WHERE {{incremental_predicate('b.epoch_time')}} -{% endif %} -GROUP BY 1,2,3,4,5,6 \ No newline at end of file +GROUP BY 1,2,3,4,5,6 diff --git a/dbt_subprojects/solana/models/hivemapper/hivemapper_solana_schema.yml b/dbt_subprojects/solana/models/hivemapper/hivemapper_solana_schema.yml index 0ad95a4d00a..21f3fe0059e 100644 --- a/dbt_subprojects/solana/models/hivemapper/hivemapper_solana_schema.yml +++ b/dbt_subprojects/solana/models/hivemapper/hivemapper_solana_schema.yml @@ -8,7 +8,7 @@ models: contributors: [ilemi, alexus98] config: tags: ['hivemapper', 'solana', 'reward', 'honey'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - tx_id @@ -25,7 +25,7 @@ models: - name: block_slot - name: action - name: amount - tests: + data_tests: - dbt_utils.accepted_range: max_value: 1000000000000000 # maximum reward of 1 million HONEY * 1e9 (9 decimal places) min_value: 0 diff --git a/dbt_subprojects/solana/models/jupiter/jupiter_solana_schema.yml b/dbt_subprojects/solana/models/jupiter/jupiter_solana_schema.yml index 5c9903411e3..9a5e3784561 100644 --- a/dbt_subprojects/solana/models/jupiter/jupiter_solana_schema.yml +++ b/dbt_subprojects/solana/models/jupiter/jupiter_solana_schema.yml @@ -2,7 +2,7 @@ version: 2 models: - name: jupiter_solana_perp_events - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - position_change @@ -50,7 +50,7 @@ models: - name: tx_id - name: jupiter_solana_aggregator_swaps - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - log_index diff --git a/dbt_subprojects/solana/models/solana_utils/_schema.yml b/dbt_subprojects/solana/models/solana_utils/_schema.yml index b5f939b63a1..b9d4369d8d2 100644 --- a/dbt_subprojects/solana/models/solana_utils/_schema.yml +++ b/dbt_subprojects/solana/models/solana_utils/_schema.yml @@ -30,7 +30,7 @@ models: columns: - name: block_time - name: block_slot - tests: + data_tests: - unique - name: epoch - name: first_block_epoch @@ -115,7 +115,7 @@ models: tags: ['solana','block_leaders'] description: > get the block leaders for each slot - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - slot diff --git a/dbt_subprojects/solana/models/tokens/solana/_schema.yml b/dbt_subprojects/solana/models/tokens/solana/_schema.yml index 30ecd93c96b..c545fa84785 100644 --- a/dbt_subprojects/solana/models/tokens/solana/_schema.yml +++ b/dbt_subprojects/solana/models/tokens/solana/_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: token_mint_address description: "fungible token mint address on Solana" - tests: + data_tests: - unique - name: symbol description: "token symbol" @@ -37,7 +37,7 @@ models: config: tags: ['table', 'metadata', 'fess', 'solana'] description: "fee updates on token2022 tokens" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - account_mint diff --git a/dbt_subprojects/solana/package-lock.yml b/dbt_subprojects/solana/package-lock.yml index 709885d7a0b..17c0350a1cf 100644 --- a/dbt_subprojects/solana/package-lock.yml +++ b/dbt_subprojects/solana/package-lock.yml @@ -1,4 +1,4 @@ packages: -- package: dbt-labs/dbt_utils - version: 1.2.0 -sha1_hash: eb1031c07e7c89332527e572f2e44613ce5b62bf + - package: dbt-labs/dbt_utils + version: 1.3.0 +sha1_hash: 226ae69cdfbc9367e2aa2c472b01f99dbce11de0 diff --git a/dbt_subprojects/tokens/dbt_project.yml b/dbt_subprojects/tokens/dbt_project.yml index 38efe8f47ad..9ec35c4c768 100644 --- a/dbt_subprojects/tokens/dbt_project.yml +++ b/dbt_subprojects/tokens/dbt_project.yml @@ -3,6 +3,7 @@ name: "tokens" version: "1.0.0" config-version: 2 +require-dbt-version: ">=1.8.0" quoting: database: false diff --git a/dbt_subprojects/tokens/models/aave/aave_schema.yml b/dbt_subprojects/tokens/models/aave/aave_schema.yml index fc7d33ac67a..c6daa1a7b75 100644 --- a/dbt_subprojects/tokens/models/aave/aave_schema.yml +++ b/dbt_subprojects/tokens/models/aave/aave_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['cross-chain', 'aave', 'aave_v3','tokens','lending', 'borrowing'] description: "Aave aToken list and mappings to underlying tokens" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/tokens/models/decent/optimism/decent_optimism_edition_metadata_schema.yml b/dbt_subprojects/tokens/models/decent/optimism/decent_optimism_edition_metadata_schema.yml index 34e4b0aac24..917ed8d7f97 100644 --- a/dbt_subprojects/tokens/models/decent/optimism/decent_optimism_edition_metadata_schema.yml +++ b/dbt_subprojects/tokens/models/decent/optimism/decent_optimism_edition_metadata_schema.yml @@ -16,7 +16,7 @@ models: - &nft_contract_address name: nft_contract_address description: "NFT (token) Address" - tests: + data_tests: - unique - &created_tx_hash name: created_tx_hash diff --git a/dbt_subprojects/tokens/models/mirror/optimism/mirror_optimism_edition_metadata_schema.yml b/dbt_subprojects/tokens/models/mirror/optimism/mirror_optimism_edition_metadata_schema.yml index 3f8568b2b22..819f510cf0c 100644 --- a/dbt_subprojects/tokens/models/mirror/optimism/mirror_optimism_edition_metadata_schema.yml +++ b/dbt_subprojects/tokens/models/mirror/optimism/mirror_optimism_edition_metadata_schema.yml @@ -16,7 +16,7 @@ models: - &edition_address name: edition_address description: "Edition (token) Address" - tests: + data_tests: - unique - &created_tx_hash name: created_tx_hash diff --git a/dbt_subprojects/tokens/models/ovm/optimism/ovm_optimism_schema.yml b/dbt_subprojects/tokens/models/ovm/optimism/ovm_optimism_schema.yml index cbfa5a8a9a0..b489cc9abb5 100644 --- a/dbt_subprojects/tokens/models/ovm/optimism/ovm_optimism_schema.yml +++ b/dbt_subprojects/tokens/models/ovm/optimism/ovm_optimism_schema.yml @@ -11,7 +11,7 @@ models: config: tags: ['cross-chain', 'optimism', 'tokens'] description: "Tokens created by Optimism's L2 Token Factory" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - l1_token diff --git a/dbt_subprojects/tokens/models/prices/_schema.yml b/dbt_subprojects/tokens/models/prices/_schema.yml index a3830649a71..90fd1f0c07c 100644 --- a/dbt_subprojects/tokens/models/prices/_schema.yml +++ b/dbt_subprojects/tokens/models/prices/_schema.yml @@ -1,9 +1,14 @@ version: 2 models: + - name: prices_day + description: "Token prices aggregated to the daily level across all chains traded on a DEX" + - name: prices_hour + description: "Token prices aggregated to the hourly level across all chains traded on a DEX" + - name: prices_tokens meta: - blockchain: arbitrum, avalanche_c, gnosis, polygon, optimism, ethereum, bnb, solana, fantom, celo, base, zksync, zora, linea, zkevm, blast, sei, nova, worldchain + blockchain: arbitrum, avalanche_c, gnosis, polygon, optimism, ethereum, bnb, solana, fantom, celo, base, zksync, zora, linea, zkevm, blast, sei, nova, worldchain, kaia sector: prices contributors: aalan3, hildobby, pipistrella, viniabussafi, jeff-dude, hosuke config: @@ -19,7 +24,7 @@ models: - &contract_address name: contract_address description: "Contract address of the token, if any" - tests: + data_tests: - not_zero_address - &symbol name: symbol @@ -30,13 +35,13 @@ models: - name: prices_native_tokens meta: - blockchain: arbitrum, avalanche_c, gnosis, polygon, optimism, ethereum, bnb, solana, fantom, celo, zksync, zora, sei, nova, worldchain + blockchain: arbitrum, avalanche_c, gnosis, polygon, optimism, ethereum, bnb, solana, fantom, celo, zksync, zora, sei, nova, worldchain, kaia sector: prices contributors: aalan3, jeff-dude config: tags: ['prices', 'tokens', 'usd'] description: "Price tokens for native tokens for all chains" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - symbol @@ -60,7 +65,7 @@ models: sector: prices contributors: jeff-dude description: "Subset of minute-level prices from CoinPaprika API, only containing the list of trusted tokens across blockchains" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/tokens/models/prices/arbitrum/prices_arbitrum_schema.yml b/dbt_subprojects/tokens/models/prices/arbitrum/prices_arbitrum_schema.yml index b44fa668c9d..ad67bae5697 100644 --- a/dbt_subprojects/tokens/models/prices/arbitrum/prices_arbitrum_schema.yml +++ b/dbt_subprojects/tokens/models/prices/arbitrum/prices_arbitrum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'arbitrum'] description: "Price tokens on arbitrum chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "arbitrum" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/avalanche_c/prices_avalanche_c_schema.yml b/dbt_subprojects/tokens/models/prices/avalanche_c/prices_avalanche_c_schema.yml index 00cff7fab2f..ade2aa97bd9 100644 --- a/dbt_subprojects/tokens/models/prices/avalanche_c/prices_avalanche_c_schema.yml +++ b/dbt_subprojects/tokens/models/prices/avalanche_c/prices_avalanche_c_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'avalanche_c'] description: "Price tokens on avalanche_c chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "avalanche_c" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/base/prices_base_schema.yml b/dbt_subprojects/tokens/models/prices/base/prices_base_schema.yml index cfef1a75cc7..38368722a9e 100644 --- a/dbt_subprojects/tokens/models/prices/base/prices_base_schema.yml +++ b/dbt_subprojects/tokens/models/prices/base/prices_base_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'base'] description: "Price tokens on base chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "base" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/bitcoin/prices_bitcoin_schema.yml b/dbt_subprojects/tokens/models/prices/bitcoin/prices_bitcoin_schema.yml index 7daa2fb386a..5bad8131d10 100644 --- a/dbt_subprojects/tokens/models/prices/bitcoin/prices_bitcoin_schema.yml +++ b/dbt_subprojects/tokens/models/prices/bitcoin/prices_bitcoin_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'bitcoin' ] description: "Price tokens on bitcoin chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/tokens/models/prices/blast/prices_blast_schema.yml b/dbt_subprojects/tokens/models/prices/blast/prices_blast_schema.yml index c4a560cf1c0..209c27a198c 100644 --- a/dbt_subprojects/tokens/models/prices/blast/prices_blast_schema.yml +++ b/dbt_subprojects/tokens/models/prices/blast/prices_blast_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'blast'] description: "Price tokens on blast chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "blast" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/bnb/prices_bnb_schema.yml b/dbt_subprojects/tokens/models/prices/bnb/prices_bnb_schema.yml index 71674533979..2f9747c5be3 100644 --- a/dbt_subprojects/tokens/models/prices/bnb/prices_bnb_schema.yml +++ b/dbt_subprojects/tokens/models/prices/bnb/prices_bnb_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'bnb'] description: "Price tokens on bnb chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "bnb" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/cardano/prices_cardano_schema.yml b/dbt_subprojects/tokens/models/prices/cardano/prices_cardano_schema.yml index e66d7e5d65d..07d05ece931 100644 --- a/dbt_subprojects/tokens/models/prices/cardano/prices_cardano_schema.yml +++ b/dbt_subprojects/tokens/models/prices/cardano/prices_cardano_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'cardano' ] description: "Price tokens on cardano chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/tokens/models/prices/celo/prices_celo_schema.yml b/dbt_subprojects/tokens/models/prices/celo/prices_celo_schema.yml index c9df033b5f9..48641deae00 100644 --- a/dbt_subprojects/tokens/models/prices/celo/prices_celo_schema.yml +++ b/dbt_subprojects/tokens/models/prices/celo/prices_celo_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'celo'] description: "Price tokens on celo chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "celo" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/ethereum/prices_ethereum_schema.yml b/dbt_subprojects/tokens/models/prices/ethereum/prices_ethereum_schema.yml index 06e42cf326e..b84ed56e3a5 100644 --- a/dbt_subprojects/tokens/models/prices/ethereum/prices_ethereum_schema.yml +++ b/dbt_subprojects/tokens/models/prices/ethereum/prices_ethereum_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'ethereum'] description: "Price tokens on ethereum chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "ethereum" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/fantom/prices_fantom_schema.yml b/dbt_subprojects/tokens/models/prices/fantom/prices_fantom_schema.yml index 2dda8befd8b..efae90c7dc5 100644 --- a/dbt_subprojects/tokens/models/prices/fantom/prices_fantom_schema.yml +++ b/dbt_subprojects/tokens/models/prices/fantom/prices_fantom_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'fantom'] description: "Price tokens on fantom chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "fantom" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/gnosis/prices_gnosis_schema.yml b/dbt_subprojects/tokens/models/prices/gnosis/prices_gnosis_schema.yml index 62b6fcbb85e..34f896d49c4 100644 --- a/dbt_subprojects/tokens/models/prices/gnosis/prices_gnosis_schema.yml +++ b/dbt_subprojects/tokens/models/prices/gnosis/prices_gnosis_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'gnosis'] description: "Price tokens on gnosis chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "gnosis" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/kaia/_schema.yml b/dbt_subprojects/tokens/models/prices/kaia/_schema.yml new file mode 100644 index 00000000000..87354d6e845 --- /dev/null +++ b/dbt_subprojects/tokens/models/prices/kaia/_schema.yml @@ -0,0 +1,29 @@ +version: 2 + +models: + - name: prices_kaia_tokens + meta: + blockchain: kaia + sector: prices + contributors: jeff-dude + config: + tags: ['prices', 'tokens', 'usd', 'kaia'] + description: "Price tokens on kaia EVM chain" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - contract_address + columns: + - name: token_id + description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." + - name: blockchain + description: "Native blockchain of the token, if any" + data_tests: + - accepted_values: + values: [ "kaia" ] + - name: contract_address + description: "Contract address of the token, if any" + - name: symbol + description: "Token symbol" + - name: decimals + description: "Number of decimals for the token contract" \ No newline at end of file diff --git a/dbt_subprojects/tokens/models/prices/kaia/prices_kaia_tokens.sql b/dbt_subprojects/tokens/models/prices/kaia/prices_kaia_tokens.sql new file mode 100644 index 00000000000..23e3eab64c7 --- /dev/null +++ b/dbt_subprojects/tokens/models/prices/kaia/prices_kaia_tokens.sql @@ -0,0 +1,45 @@ +{% set blockchain = 'kaia' %} + +{{ config( + schema = 'prices_' + blockchain, + alias = 'tokens', + materialized = 'table', + file_format = 'delta', + tags = ['static'] + ) +}} + +SELECT + token_id + , '{{ blockchain }}' as blockchain + , symbol + , contract_address + , decimals +FROM +( + VALUES + --below 10 from: https://kaiascope.com/tokens?sort=descVolume + ('usdt-tether', 'oUSDT', 0xcee8faf64bb97a73bb51e115aa89c17ffa8dd167, 6) + , ('klay-klaytn', 'WKLAY', 0x19aac5f612f524b754ca7e7c41cbfa2e981a4432, 18) + , ('eth-ethereum', 'oETH', 0x34d21b1e550d73cee41151c77f3c73359527a396, 18) + , ('usdc-usd-coin', 'oUSDC', 0x754288077d0ff82af7a5317c7cb8c444d421d103, 6) + , ('bnb-binance-coin', 'oBNB', 0x574e9c26bda8b95d7329505b4657103710eb32ea, 18) + , ('xrp-xrp', 'oXRP', 0x9eaefb09fe4aabfbe6b1ca316a3c36afc83a393f, 6) + , ('busd-binance-usd', 'oBUSD', 0x210bc03f49052169d5588a52c317f71cf2078b85, 18) + , ('bora-bora', 'BORA', 0x02cbe46fb8a1f579254a9b485788f2d86cad51aa, 18) + --below 14 from: https://coinpaprika.com/tag/klaytn-token/home-overview/?all=true + , ('mbx-marblex', 'MBX', 0xd068c52d81f4409b9502da926ace3301cc41f623, 18) + , ('isk-iskra-token', 'ISK', 0x17d2628d30f8e9e966c9ba831c9b9b01ea8ea75c, 18) + , ('ksp-klayswap-protocol', 'KSP', 0xc6a2ad8cc6e4a7e08fc37cc5954be07d499e7654, 18) + , ('wiken-project-with', 'WIKEN', 0x275f942985503d8ce9558f8377cc526a3aba3566, 18) + , ('dice-klaydice', 'DICE', 0x089ebd525949ee505a48eb14eecba653bc8d1b97, 18) + , ('hibs-hiblocks', 'HIBS', 0xe06b40df899b9717b4e6b50711e1dc72d08184cf, 18) + , ('selo-selo', 'SELO', 0x342633c4a7f91094096e15b513f039af52e960d9, 8) + , ('clb-cloudbric', 'CLBK', 0xc4407f7dc4b37275c9ce0f839652b393e13ff3d1, 18) + , ('jum-jumoney', 'JUM', 0x3eef2b8d8050197e409b69f09462f49eab562979, 18) + , ('mooi-mooi-network', 'MOOI', 0x4b734a4d5bf19d89456ab975dfb75f02762dda1d, 18) + , ('kai-kai-protocol', 'KAI', 0xe950bdcfa4d1e45472e76cf967db93dbfc51ba3e, 18) + , ('gram-norma-in-metaland', 'GRAM', 0x02518a2a6af8133b59f69a8c162f112f76bb0d96, 18) + , ('box-box', 'BOX', 0x656f86dd0f3bc25af2d15855f2a2f142f9eaed87, 18) + , ('mdus-medieus', 'MDUS', 0xab9cb20a28f97e189ca0b666b8087803ad636b3c, 18) +) as temp (token_id, symbol, contract_address, decimals) \ No newline at end of file diff --git a/dbt_subprojects/tokens/models/prices/linea/prices_linea_schema.yml b/dbt_subprojects/tokens/models/prices/linea/prices_linea_schema.yml index 6a6daaa1571..254a4dba219 100644 --- a/dbt_subprojects/tokens/models/prices/linea/prices_linea_schema.yml +++ b/dbt_subprojects/tokens/models/prices/linea/prices_linea_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'linea'] description: "Price tokens on Linea L2 chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "linea" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/mantle/prices_mantle_schema.yml b/dbt_subprojects/tokens/models/prices/mantle/prices_mantle_schema.yml index 86821c761ca..6090f7d60d3 100644 --- a/dbt_subprojects/tokens/models/prices/mantle/prices_mantle_schema.yml +++ b/dbt_subprojects/tokens/models/prices/mantle/prices_mantle_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'mantle'] description: "Price tokens on mantle L2 chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "mantle" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/nova/_schema.yml b/dbt_subprojects/tokens/models/prices/nova/_schema.yml index 7d3fdea3299..47728db2265 100644 --- a/dbt_subprojects/tokens/models/prices/nova/_schema.yml +++ b/dbt_subprojects/tokens/models/prices/nova/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'nova'] description: "Price tokens on nova EVM chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "nova" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/optimism/prices_optimism_schema.yml b/dbt_subprojects/tokens/models/prices/optimism/prices_optimism_schema.yml index 961f444fe2a..7c73ec871a2 100644 --- a/dbt_subprojects/tokens/models/prices/optimism/prices_optimism_schema.yml +++ b/dbt_subprojects/tokens/models/prices/optimism/prices_optimism_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'optimism'] description: "Price tokens on optimism chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "optimism" ] - name: contract_address @@ -36,7 +36,7 @@ models: config: tags: [ 'prices', 'tokens', 'usd', 'optimism' ] description: "Price tokens on optimism chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -45,7 +45,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "optimism" ] - name: contract_address @@ -63,7 +63,7 @@ models: config: tags: [ 'prices', 'tokens', 'usd', 'optimism' ] description: "Price tokens on optimism chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -72,7 +72,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "optimism" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/polygon/prices_polygon_schema.yml b/dbt_subprojects/tokens/models/prices/polygon/prices_polygon_schema.yml index 30e0272fd31..e30659a3975 100644 --- a/dbt_subprojects/tokens/models/prices/polygon/prices_polygon_schema.yml +++ b/dbt_subprojects/tokens/models/prices/polygon/prices_polygon_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'polygon'] description: "Price tokens on polygon chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "polygon" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/prices_day.sql b/dbt_subprojects/tokens/models/prices/prices_day.sql new file mode 100644 index 00000000000..2c741f962a6 --- /dev/null +++ b/dbt_subprojects/tokens/models/prices/prices_day.sql @@ -0,0 +1,43 @@ +{{ config( + schema = 'prices', + alias = 'day', + materialized = 'view', + post_hook = + '{{ expose_spells(\'[ + "arbitrum" + , "avalanche_c" + , "base" + , "blast" + , "bnb" + , "celo" + , "ethereum" + , "fantom" + , "gnosis" + , "linea" + , "mantle" + , "nova" + , "optimism" + , "polygon" + , "scroll" + , "sei" + , "zkevm" + , "zksync" + , "zora" + ]\', + "sector", + "prices", + \'["jeff-dude", "couralex"]\') }}' + ) +}} + +select + timestamp + , cast(year as integer) as year + , cast(month as integer) as month + , blockchain + , from_hex(contract_address) as contract_address + , symbol + , decimals + , price +from + {{ source("dune", "prices_day_raw", database="dune") }} \ No newline at end of file diff --git a/dbt_subprojects/tokens/models/prices/prices_hour.sql b/dbt_subprojects/tokens/models/prices/prices_hour.sql new file mode 100644 index 00000000000..bddd5624c50 --- /dev/null +++ b/dbt_subprojects/tokens/models/prices/prices_hour.sql @@ -0,0 +1,43 @@ +{{ config( + schema = 'prices', + alias = 'hour', + materialized = 'view', + post_hook = + '{{ expose_spells(\'[ + "arbitrum" + , "avalanche_c" + , "base" + , "blast" + , "bnb" + , "celo" + , "ethereum" + , "fantom" + , "gnosis" + , "linea" + , "mantle" + , "nova" + , "optimism" + , "polygon" + , "scroll" + , "sei" + , "zkevm" + , "zksync" + , "zora" + ]\', + "sector", + "prices", + \'["jeff-dude", "couralex"]\') }}' + ) +}} + +select + timestamp + , cast(year as integer) as year + , cast(month as integer) as month + , blockchain + , from_hex(contract_address) as contract_address + , symbol + , decimals + , price +from + {{ source("dune", "prices_hour_raw", database="dune") }} \ No newline at end of file diff --git a/dbt_subprojects/tokens/models/prices/prices_native_tokens.sql b/dbt_subprojects/tokens/models/prices/prices_native_tokens.sql index 460a27cd633..de7cb2a03d6 100644 --- a/dbt_subprojects/tokens/models/prices/prices_native_tokens.sql +++ b/dbt_subprojects/tokens/models/prices/prices_native_tokens.sql @@ -78,7 +78,8 @@ FROM ('flr-flare-network', null, 'FLR', null, null), ('ar-arweave', null, 'AR', null, null), ('glmr-moonbeam', null, 'GLMR', null, null), - ('klay-klaytn', null, 'KLAY', null, null), + ('klay-klaytn', null, 'KLAY', null, null), --old symbol was KLAY, new symbol is KAIA, keep for existing queries downstream + ('klay-klaytn', null, 'KAIA', null, null), --coinpaprika hasn't updated token yet post-migration ('fuse-fuse-network', null, 'FUSE', null, null), ('zel-zelcash', null, 'FLUX', null, null), ('myria-myria', null, 'MYRIA', null, null), diff --git a/dbt_subprojects/tokens/models/prices/prices_tokens.sql b/dbt_subprojects/tokens/models/prices/prices_tokens.sql index 9048beecea5..9d9f338b74d 100644 --- a/dbt_subprojects/tokens/models/prices/prices_tokens.sql +++ b/dbt_subprojects/tokens/models/prices/prices_tokens.sql @@ -4,7 +4,31 @@ materialized='table', file_format = 'delta', tags = ['static'], - post_hook = '{{ expose_spells(\'["ethereum", "solana", "arbitrum", "gnosis", "optimism", "bnb", "avalanche_c", "polygon", "fantom", "celo", "base", "zksync", "zora", "bitcoin", "cardano","blast"]\', + post_hook = '{{ expose_spells(\'[ + "arbitrum" + , "avalanche_c" + , "base" + , "bitcoin" + , "blast" + , "bnb" + , "cardano" + , "celo" + , "ethereum" + , "fantom" + , "gnosis" + , "kaia" + , "linea" + , "nova" + , "optimism" + , "polygon" + , "scroll" + , "sei" + , "solana" + , "worldchain" + , "zksync" + , "zkevm" + , "zora" + ]\', "sector", "prices", \'["aalan3", "jeff-dude", "umer_h_adil", "0xBoxer", "rantum", "lgingerich", "hildobby", "cryptokoryo", "0xRob", "hosuke", "Henrystats"]\') }}' @@ -36,6 +60,7 @@ ref('prices_native_tokens') ,ref('prices_sei_tokens') ,ref('prices_nova_tokens') ,ref('prices_worldchain_tokens') +,ref('prices_kaia_tokens') ,ref('prices_tron_tokens') ] %} diff --git a/dbt_subprojects/tokens/models/prices/prices_trusted_tokens.sql b/dbt_subprojects/tokens/models/prices/prices_trusted_tokens.sql index dafdb79ba5f..ceb5e52db97 100644 --- a/dbt_subprojects/tokens/models/prices/prices_trusted_tokens.sql +++ b/dbt_subprojects/tokens/models/prices/prices_trusted_tokens.sql @@ -76,6 +76,11 @@ WITH trusted_tokens AS ( , ('gnosis', 0x8e5bbbb09ed1ebde8674cda39a0c169401db4252) , ('gnosis', 0x44fa8e6f47987339850636f88629646662444217) , ('gnosis', 0xdd96b45877d0e8361a4ddb732da741e97f3191ff) + , ('kaia', 0xcee8faf64bb97a73bb51e115aa89c17ffa8dd167) + , ('kaia', 0x34d21b1e550d73cee41151c77f3c73359527a396) + , ('kaia', 0x754288077d0ff82af7a5317c7cb8c444d421d103) + , ('kaia', 0xc6a2ad8cc6e4a7e08fc37cc5954be07d499e7654) + , ('kaia', 0x19aac5f612f524b754ca7e7c41cbfa2e981a4432) , ('linea', 0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f) , ('linea', 0x176211869ca2b568f2a7d4ee941e073a821ee1ff) , ('linea', 0xa219439258ca9da29e9cc4ce5596924745e12b93) diff --git a/dbt_subprojects/tokens/models/prices/scroll/prices_scroll_schema.yml b/dbt_subprojects/tokens/models/prices/scroll/prices_scroll_schema.yml index 1e7c5eedeac..6ef36c3409b 100644 --- a/dbt_subprojects/tokens/models/prices/scroll/prices_scroll_schema.yml +++ b/dbt_subprojects/tokens/models/prices/scroll/prices_scroll_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'scroll'] description: "Price tokens on scroll chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "scroll" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/scroll/prices_scroll_tokens.sql b/dbt_subprojects/tokens/models/prices/scroll/prices_scroll_tokens.sql index b750d136d72..c1bff12a143 100644 --- a/dbt_subprojects/tokens/models/prices/scroll/prices_scroll_tokens.sql +++ b/dbt_subprojects/tokens/models/prices/scroll/prices_scroll_tokens.sql @@ -34,5 +34,6 @@ FROM ('solvbtc-solv-protocol-solvbtc', 'scroll', 'SolvBTC ', 0x3ba89d490ab1c0c9cc2313385b30710e838370a4, 18), ('pufeth-pufeth', 'scroll', 'pufETH ', 0xc4d46E8402F476F269c379677C99F18E22Ea030e, 18), ('usde-ethena-usde', 'scroll', 'USDe', 0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34, 18), - ('susde-ethena-staked-usde', 'scroll', 'sUSDe', 0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2, 18) + ('susde-ethena-staked-usde', 'scroll', 'sUSDe', 0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2, 18), + ('scr-scroll', 'scroll', 'SCR', 0xd29687c813D741E2F938F4aC377128810E217b1b, 18) ) as temp (token_id, blockchain, symbol, contract_address, decimals) diff --git a/dbt_subprojects/tokens/models/prices/sei/_schema.yml b/dbt_subprojects/tokens/models/prices/sei/_schema.yml index 62ba9cead5f..481616ffd0b 100644 --- a/dbt_subprojects/tokens/models/prices/sei/_schema.yml +++ b/dbt_subprojects/tokens/models/prices/sei/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'sei'] description: "Price tokens on Sei EVM chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "sei" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/solana/prices_solana_schema.yml b/dbt_subprojects/tokens/models/prices/solana/prices_solana_schema.yml index 6ebcd254705..7c98b91a1df 100644 --- a/dbt_subprojects/tokens/models/prices/solana/prices_solana_schema.yml +++ b/dbt_subprojects/tokens/models/prices/solana/prices_solana_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'solana'] description: "Price tokens on solana chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "solana" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/solana/prices_solana_tokens.sql b/dbt_subprojects/tokens/models/prices/solana/prices_solana_tokens.sql index cdaf87de975..37cc907ebd8 100644 --- a/dbt_subprojects/tokens/models/prices/solana/prices_solana_tokens.sql +++ b/dbt_subprojects/tokens/models/prices/solana/prices_solana_tokens.sql @@ -705,5 +705,7 @@ FROM ('wolf-landwolf-sol', 'solana', 'WOLF', 'Faf89929Ni9fbg4gmVZTca7eW6NFg877Jqn6MizT3Gvw', 8), ('jason-jason-derulo', 'solana', 'JASON', '6SUryVEuDz5hqAxab6QrGfbzWvjN8dC7m29ezSvDpump', 6), ('moodeng-moo-deng-moodengsolcom', 'solana', 'MOODENG', 'ED5nyyWEzpPPiWimP8vYm7sD7TD3LAt3Q3gRTWHzPJBY', 6), - ('scf-smoking-chicken-fish', 'solana', 'SCF', 'GiG7Hr61RVm4CSUxJmgiCoySFQtdiwxtqf64MsRppump', 6) + ('scf-smoking-chicken-fish', 'solana', 'SCF', 'GiG7Hr61RVm4CSUxJmgiCoySFQtdiwxtqf64MsRppump', 6), + ('luna-luna-by-virtuals', 'solana', 'LUNA', '9se6kma7LeGcQWyRBNcYzyxZPE3r9t9qWZ8SnjnN3jJ7', 8), + ('goat-goatseus-maximus', 'solana', 'GOAT', 'CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump', 6) ) as temp (token_id, blockchain, symbol, contract_address, decimals) diff --git a/dbt_subprojects/tokens/models/prices/tron/_schema.yml b/dbt_subprojects/tokens/models/prices/tron/_schema.yml index cf5da51ba3a..3ed5d7208a1 100644 --- a/dbt_subprojects/tokens/models/prices/tron/_schema.yml +++ b/dbt_subprojects/tokens/models/prices/tron/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'tron'] description: "Price tokens on TRON chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "tron" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/worldchain/_schema.yml b/dbt_subprojects/tokens/models/prices/worldchain/_schema.yml index efea2624641..cb6ce8d625a 100644 --- a/dbt_subprojects/tokens/models/prices/worldchain/_schema.yml +++ b/dbt_subprojects/tokens/models/prices/worldchain/_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'worldchain'] description: "Price tokens on worldchain EVM chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "worldchain" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/zkevm/prices_zkevm_schema.yml b/dbt_subprojects/tokens/models/prices/zkevm/prices_zkevm_schema.yml index 6e26f113317..be8056921f4 100644 --- a/dbt_subprojects/tokens/models/prices/zkevm/prices_zkevm_schema.yml +++ b/dbt_subprojects/tokens/models/prices/zkevm/prices_zkevm_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'zkevm'] description: "Price tokens on polygon zkevm chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "zkevm" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/zksync/prices_zksync_schema.yml b/dbt_subprojects/tokens/models/prices/zksync/prices_zksync_schema.yml index ccdd14d5f3e..fada843cc85 100644 --- a/dbt_subprojects/tokens/models/prices/zksync/prices_zksync_schema.yml +++ b/dbt_subprojects/tokens/models/prices/zksync/prices_zksync_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'zksync'] description: "Price tokens on zksync chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "zksync" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/prices/zora/prices_zora_schema.yml b/dbt_subprojects/tokens/models/prices/zora/prices_zora_schema.yml index e2d1aa58450..30833bc9643 100644 --- a/dbt_subprojects/tokens/models/prices/zora/prices_zora_schema.yml +++ b/dbt_subprojects/tokens/models/prices/zora/prices_zora_schema.yml @@ -9,7 +9,7 @@ models: config: tags: ['prices', 'tokens', 'usd', 'zora'] description: "Price tokens on zora chain" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - contract_address @@ -18,7 +18,7 @@ models: description: "Id of the token at coinpaprika. This id is required to pull the price feed data. NOTE: Not all tokens are listed at coinpaprika - consider using price data from DEX sources in this case or submit a listing request at coinpaprika." - name: blockchain description: "Native blockchain of the token, if any" - tests: + data_tests: - accepted_values: values: [ "zora" ] - name: contract_address diff --git a/dbt_subprojects/tokens/models/sound_xyz/optimism/sound_xyz_optimism_edition_metadata_schema.yml b/dbt_subprojects/tokens/models/sound_xyz/optimism/sound_xyz_optimism_edition_metadata_schema.yml index ab5d6bfceb2..b5bffebd58d 100644 --- a/dbt_subprojects/tokens/models/sound_xyz/optimism/sound_xyz_optimism_edition_metadata_schema.yml +++ b/dbt_subprojects/tokens/models/sound_xyz/optimism/sound_xyz_optimism_edition_metadata_schema.yml @@ -14,7 +14,7 @@ models: - &edition_address name: edition_address description: "Edition (token) Address" - tests: + data_tests: - unique - &created_tx_hash name: created_tx_hash diff --git a/dbt_subprojects/tokens/models/the_granary/optimism/the_granary_optimism_schema.yml b/dbt_subprojects/tokens/models/the_granary/optimism/the_granary_optimism_schema.yml index 98e0d410f27..424271992ff 100644 --- a/dbt_subprojects/tokens/models/the_granary/optimism/the_granary_optimism_schema.yml +++ b/dbt_subprojects/tokens/models/the_granary/optimism/the_granary_optimism_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['the_granary', 'optimism', 'tokens', 'lending'] description: "Granary aToken list and mappings to underlying tokens" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/tokens/models/tokens/_schema.yml b/dbt_subprojects/tokens/models/tokens/_schema.yml index a3bc5505801..38013964834 100644 --- a/dbt_subprojects/tokens/models/tokens/_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/_schema.yml @@ -3,14 +3,14 @@ version: 2 models: - name: tokens_erc20 meta: - blockchain: arbitrum, avalanche_c, bnb, ethereum, gnosis, mantle, optimism, fantom, polygon, base, blast, sepolia, sei, nova, worldchain + blockchain: arbitrum, avalanche_c, bnb, ethereum, gnosis, mantle, optimism, fantom, polygon, base, blast, sepolia, sei, nova, worldchain, kaia sector: tokens contributors: hildobby, 0xManny, dot2dotseurat, soispoke, mtitus6, wuligy, angus_1, Henrystats, viniabussafi, jeff-dude, rantum, hosuke config: - tags: ['tokens','erc20', 'arbitrum', 'avalanche_c', 'bnb', 'ethereum', 'gnosis', 'mantle', 'optimism', 'fantom', 'base', 'blast', 'sei', 'nova', 'linea', 'worldchain'] + tags: ['tokens','erc20', 'arbitrum', 'avalanche_c', 'bnb', 'ethereum', 'gnosis', 'mantle', 'optimism', 'fantom', 'base', 'blast', 'sei', 'nova', 'linea', 'worldchain', 'kaia'] description: > Crosschain ERC20 tokens - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain @@ -73,7 +73,7 @@ models: tags: ['tokens','stablecoin', 'arbitrum','avalanche_c','bnb','ethereum','fantom','gnosis','optimism','polygon','base', 'blast', 'liena', 'mantle', 'scroll'] description: > Stablecoin (ERC20) tokens - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/tokens/models/tokens/arbitrum/tokens_arbitrum_schema.yml b/dbt_subprojects/tokens/models/tokens/arbitrum/tokens_arbitrum_schema.yml index 01c696367f9..8601d060392 100644 --- a/dbt_subprojects/tokens/models/tokens/arbitrum/tokens_arbitrum_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/arbitrum/tokens_arbitrum_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" @@ -31,7 +31,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" @@ -50,14 +50,14 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" - name: symbol description: "NFT Token Symbol" - name: standard - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] description: > @@ -77,7 +77,7 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." diff --git a/dbt_subprojects/tokens/models/tokens/avalanche_c/tokens_avalanche_c_schema.yml b/dbt_subprojects/tokens/models/tokens/avalanche_c/tokens_avalanche_c_schema.yml index 20ae182a593..ac3c949e3c5 100644 --- a/dbt_subprojects/tokens/models/tokens/avalanche_c/tokens_avalanche_c_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/avalanche_c/tokens_avalanche_c_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address on avalanche c chain" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" @@ -32,7 +32,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on avalanche c chain." - tests: + data_tests: - unique - name: name description: "NFT project name" @@ -51,14 +51,14 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on avalanche c chain." - tests: + data_tests: - unique - name: name description: "NFT project name" - name: symbol description: "NFT project symbol" - name: standard - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] description: > @@ -78,11 +78,11 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] diff --git a/dbt_subprojects/tokens/models/tokens/base/tokens_base_erc20.sql b/dbt_subprojects/tokens/models/tokens/base/tokens_base_erc20.sql index 129e277bbbd..5ade507ec5b 100644 --- a/dbt_subprojects/tokens/models/tokens/base/tokens_base_erc20.sql +++ b/dbt_subprojects/tokens/models/tokens/base/tokens_base_erc20.sql @@ -382,5 +382,16 @@ FROM (VALUES , (0x0066cadd8822f2f260db3395dcfa6015bb9c1042, '🍌', 18) , (0xbb4f69a0fca3f63477b6b3b2a3e8491e5425a356, 'GRASS', 18) , (0x6c240dda6b5c336df09a4d011139beaaa1ea2aa2, 'ETHFI', 18) - , (0x25ea98ac87A38142561eA70143fd44c4772A16b6, 'MORE', 18) + , (0x25ea98ac87A38142561eA70143fd44c4772A16b6, 'MORE', 18) + , (0xc08cd26474722ce93f4d0c34d16201461c10aa8c, 'CARV', 18) + , (0x805aF152eebc7e280628A0Bb30Dd916b5B7716fb, 'cbBTC', 18) + , (0x2a24b9fab1bdaf4ba1c2fed5628cc050181a8c91, 'degen', 18) + , (0x6797b6244fa75f2e78cdffc3a4eb169332b730cc, 'EAI', 18) + , (0xdbcae648ebea8c950b616e10e28da09d1ab4a06d, 'ELIZ', 18) + , (0x0a14ef61afb32e5ca672e021784f71705ac14908, 'NULL', 18) + , (0x7e72d6410803c40e73806f2a72e3eade5d075cc0, 'MOB', 18) + , (0x24da41bae4d7014ec6faf5403d2db0aa1510358d, 'COPY', 18) + , (0x02e79d42c3297cd4154a1b52b4a3b27cd75762f1, 'FFTP', 9) + , (0xc1bf21674a3d782ee552d835863d065b7a89d619, 'MISHA', 18) + , (0xfc21540d6b89667d167d42086e1feb04da3e9b21, 'INFI', 18) ) AS temp_table (contract_address, symbol, decimals) diff --git a/dbt_subprojects/tokens/models/tokens/base/tokens_base_schema.yml b/dbt_subprojects/tokens/models/tokens/base/tokens_base_schema.yml index 85bfcdf06db..1b1b3b6a8fe 100644 --- a/dbt_subprojects/tokens/models/tokens/base/tokens_base_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/base/tokens_base_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address on Base" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" @@ -32,7 +32,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on Optimism." - tests: + data_tests: - unique - name: name description: "NFT Project Name" @@ -49,12 +49,12 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on Optimism." - tests: + data_tests: - unique - name: name description: "NFT Project Name" - name: standard - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] description: > @@ -74,11 +74,11 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155' ] diff --git a/dbt_subprojects/tokens/models/tokens/blast/tokens_blast_erc20.sql b/dbt_subprojects/tokens/models/tokens/blast/tokens_blast_erc20.sql index 725a1f8816f..a9582132f12 100644 --- a/dbt_subprojects/tokens/models/tokens/blast/tokens_blast_erc20.sql +++ b/dbt_subprojects/tokens/models/tokens/blast/tokens_blast_erc20.sql @@ -19,4 +19,7 @@ FROM (VALUES , (0x5ffd9ebd27f2fcab044c0f0a26a45cb62fa29c06, 'PAC', 18) , (0x2416092f143378750bb29b79ed961ab195cceea5, 'ezETH', 18) , (0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A, 'weETH', 18) + , (0x010392305558d58e1Cb0Eec5529a65bf3545f82e, 'MACHI', 18) + , (0x373318cccC1da7934929d8af23eA17641522206B, 'pUSDB-WETH LP', 18) + , (0x1a49351bdB4BE48C0009b661765D01ed58E8C2d8, 'YES', 18) ) AS temp_table (contract_address, symbol, decimals) diff --git a/dbt_subprojects/tokens/models/tokens/blast/tokens_blast_schema.yml b/dbt_subprojects/tokens/models/tokens/blast/tokens_blast_schema.yml index 3363cbebe19..d47a9e57ba7 100644 --- a/dbt_subprojects/tokens/models/tokens/blast/tokens_blast_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/blast/tokens_blast_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" diff --git a/dbt_subprojects/tokens/models/tokens/bnb/tokens_bnb_bep20.sql b/dbt_subprojects/tokens/models/tokens/bnb/tokens_bnb_bep20.sql index d89e61b95c7..5fdf99ac74b 100644 --- a/dbt_subprojects/tokens/models/tokens/bnb/tokens_bnb_bep20.sql +++ b/dbt_subprojects/tokens/models/tokens/bnb/tokens_bnb_bep20.sql @@ -609,4 +609,7 @@ FROM (VALUES , (0xd1b6d02c03e632a845460c8167eb05d2d9e03a35, 'Sorai', 18) , (0x0f327343c7902233c0419724946b17fa664f2fe0, 'LBTC', 18) , (0xd4e17ad949bb0fd99a6e7a5f2dad73baf41d3210, 'WZM', 9) + , (0xf0f14cbd7ce6753bc209eb0d8f67fc84cccb9b2f, 'MSS', 18) + , (0xea2f49a2e6e27b7b47cbef50aff5af11350108d1, 'MAGA', 18) + , (0x19ae49b9f38dd836317363839a5f6bfbfa7e319a, 'STC', 9) ) AS temp_table (contract_address, symbol, decimals) \ No newline at end of file diff --git a/dbt_subprojects/tokens/models/tokens/bnb/tokens_bnb_schema.yml b/dbt_subprojects/tokens/models/tokens/bnb/tokens_bnb_schema.yml index efa478e7176..53d46ac3aca 100644 --- a/dbt_subprojects/tokens/models/tokens/bnb/tokens_bnb_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/bnb/tokens_bnb_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "BEP20 token contract address on BNB" - tests: + data_tests: - unique - name: symbol description: "BEP20 token symbol" @@ -34,7 +34,7 @@ models: description: "NFT Project Name" - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: tokens_bnb_nft @@ -51,10 +51,10 @@ models: description: "NFT Project Name" - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: standard - tests: + data_tests: - accepted_values: values: [ 'bep721', 'bep1155'] description: > @@ -74,11 +74,11 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." - tests: + data_tests: - accepted_values: values: [ 'bep721', 'bep1155' ] diff --git a/dbt_subprojects/tokens/models/tokens/celo/tokens_celo_schema.yml b/dbt_subprojects/tokens/models/tokens/celo/tokens_celo_schema.yml index e6d0f7ce9cb..c77d6db927a 100644 --- a/dbt_subprojects/tokens/models/tokens/celo/tokens_celo_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/celo/tokens_celo_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address on Celo" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" @@ -32,7 +32,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on Optimism." - tests: + data_tests: - unique - name: name description: "NFT Project Name" @@ -49,12 +49,12 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on Optimism." - tests: + data_tests: - unique - name: name description: "NFT Project Name" - name: standard - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] description: > @@ -74,10 +74,10 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155' ] diff --git a/dbt_subprojects/tokens/models/tokens/ethereum/tokens_ethereum_erc20.sql b/dbt_subprojects/tokens/models/tokens/ethereum/tokens_ethereum_erc20.sql index 9e06600e5bc..5e11ea0e443 100644 --- a/dbt_subprojects/tokens/models/tokens/ethereum/tokens_ethereum_erc20.sql +++ b/dbt_subprojects/tokens/models/tokens/ethereum/tokens_ethereum_erc20.sql @@ -4644,5 +4644,12 @@ FROM (VALUES , ( 0xf0a949b935e367a94cdfe0f2a54892c2bc7b2131, 'ultraETHs', 18) , ( 0x5e362eb2c0706bd1d134689ec75176018385430b, 'DVstETH', 18) , ( 0xcbc632833687dacdcc7dfac96f6c5989381f4b47, 'ultraETHs', 18) - , ( 0xa684eaf215ad323452e2b2bf6f817d4aa5c116ab, 'lpETH', 18) + , ( 0xa684eaf215ad323452e2b2bf6f817d4aa5c116ab, 'lpETH', 18) + , ( 0x100db67f41a2df3c32cc7c0955694b98339b7311, 'MONEY', 18) + , ( 0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf, 'cbBTC', 8) + , ( 0x66b5228cfd34d9f4d9f03188d67816286c7c0b74, 'VOLT', 18) + , ( 0x4d1c297d39c5c1277964d0e3f8aa901493664530, 'PUFER', 18) + , ( 0x460372866fe1448de1549cebdb0539f4075a2aa8, 'SHERK', 9) + , ( 0x0a6E7Ba5042B38349e437ec6Db6214AEC7B35676, 'SWELL', 18) + , ( 0xf9B24C9364457Ea85792179D285855753549eBAa, 'slisBNB', 18) ) AS temp_table (contract_address, symbol, decimals) diff --git a/dbt_subprojects/tokens/models/tokens/ethereum/tokens_ethereum_schema.yml b/dbt_subprojects/tokens/models/tokens/ethereum/tokens_ethereum_schema.yml index 52d06246f05..bbe1d127dd3 100644 --- a/dbt_subprojects/tokens/models/tokens/ethereum/tokens_ethereum_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/ethereum/tokens_ethereum_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" @@ -34,7 +34,7 @@ models: columns: - name: contract_address description: "Token contract address" - tests: + data_tests: - unique - name: symbol description: "Token symbol" @@ -51,7 +51,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" @@ -70,14 +70,14 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" - name: symbol description: "NFT Token Symbol" - name: standard - tests: + data_tests: - accepted_values: values: ['erc721', 'erc1155' , 'erc20', 'cryptopunks','superrare'] description: > @@ -120,10 +120,10 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." - tests: + data_tests: - accepted_values: values: ['erc721', 'erc1155' , 'erc20', 'cryptopunks','superrare'] diff --git a/dbt_subprojects/tokens/models/tokens/fantom/tokens_fantom_schema.yml b/dbt_subprojects/tokens/models/tokens/fantom/tokens_fantom_schema.yml index 8ddf73fab1c..6b572f9a410 100644 --- a/dbt_subprojects/tokens/models/tokens/fantom/tokens_fantom_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/fantom/tokens_fantom_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" @@ -35,7 +35,7 @@ models: columns: - name: contract_address description: "Token contract address" - tests: + data_tests: - unique - name: symbol description: "Token symbol" @@ -52,7 +52,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" @@ -71,14 +71,14 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" - name: symbol description: "NFT Token Symbol" - name: standard - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] description: > @@ -121,10 +121,10 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] diff --git a/dbt_subprojects/tokens/models/tokens/fuse/tokens_fuse_schema.yml b/dbt_subprojects/tokens/models/tokens/fuse/tokens_fuse_schema.yml index 05998c88d69..92d580ceb54 100644 --- a/dbt_subprojects/tokens/models/tokens/fuse/tokens_fuse_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/fuse/tokens_fuse_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" diff --git a/dbt_subprojects/tokens/models/tokens/gnosis/tokens_gnosis_schema.yml b/dbt_subprojects/tokens/models/tokens/gnosis/tokens_gnosis_schema.yml index d53675e86d6..0fe56954cb2 100644 --- a/dbt_subprojects/tokens/models/tokens/gnosis/tokens_gnosis_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/gnosis/tokens_gnosis_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" @@ -32,7 +32,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" @@ -51,14 +51,14 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" - name: symbol description: "NFT Token Symbol" - name: standard - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] description: > @@ -79,11 +79,11 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] diff --git a/dbt_subprojects/tokens/models/tokens/goerli/tokens_goerli_schema.yml b/dbt_subprojects/tokens/models/tokens/goerli/tokens_goerli_schema.yml index 4bbda0ba7cb..fa9f2c4027c 100644 --- a/dbt_subprojects/tokens/models/tokens/goerli/tokens_goerli_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/goerli/tokens_goerli_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" @@ -32,7 +32,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" @@ -51,14 +51,14 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" - name: symbol description: "NFT Token Symbol" - name: standard - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] description: > @@ -79,10 +79,10 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] diff --git a/dbt_subprojects/tokens/models/tokens/kaia/_schema.yml b/dbt_subprojects/tokens/models/tokens/kaia/_schema.yml new file mode 100644 index 00000000000..1495ca5e3b0 --- /dev/null +++ b/dbt_subprojects/tokens/models/tokens/kaia/_schema.yml @@ -0,0 +1,21 @@ +version: 2 + +models: + - name: tokens_kaia_erc20 + meta: + blockchain: kaia + sector: tokens + project: erc20 + contributors: jeff-dude + config: + tags: ['table', 'erc20', 'kaia'] + description: "ERC20 Token Addresses, Symbols and Decimals" + columns: + - name: contract_address + description: "ERC20 token contract address" + data_tests: + - unique + - name: symbol + description: "ERC20 token symbol" + - name: decimals + description: "Number of decimals, refers to how divisible an ERC20 token can be" diff --git a/dbt_subprojects/tokens/models/tokens/kaia/tokens_kaia_erc20.sql b/dbt_subprojects/tokens/models/tokens/kaia/tokens_kaia_erc20.sql new file mode 100644 index 00000000000..36281e7cd34 --- /dev/null +++ b/dbt_subprojects/tokens/models/tokens/kaia/tokens_kaia_erc20.sql @@ -0,0 +1,40 @@ +{{ + config( + schema = 'tokens_kaia' + ,alias = 'erc20' + ,tags = ['static'] + ,materialized = 'table' + ) +}} + +SELECT + contract_address + , symbol + , decimals +FROM (VALUES + --below 10 from: https://kaiascope.com/tokens?sort=descVolume + (0xcee8faf64bb97a73bb51e115aa89c17ffa8dd167, 'oUSDT', 6) + , (0x19aac5f612f524b754ca7e7c41cbfa2e981a4432, 'WKLAY', 18) + , (0x34d21b1e550d73cee41151c77f3c73359527a396, 'oETH', 18) + , (0x754288077d0ff82af7a5317c7cb8c444d421d103, 'oUSDC', 6) + , (0x574e9c26bda8b95d7329505b4657103710eb32ea, 'oBNB', 18) + , (0x9eaefb09fe4aabfbe6b1ca316a3c36afc83a393f, 'oXRP', 6) + , (0xfe41102f325deaa9f303fdd9484eb5911a7ba557, 'oORC-S', 18) + , (0x210bc03f49052169d5588a52c317f71cf2078b85, 'oBUSD', 18) + , (0x02cbe46fb8a1f579254a9b485788f2d86cad51aa, 'BORA', 18) + --below 14 from: https://coinpaprika.com/tag/klaytn-token/home-overview/?all=true + , (0xd068c52d81f4409b9502da926ace3301cc41f623, 'MBX', 18) + , (0x17d2628d30f8e9e966c9ba831c9b9b01ea8ea75c, 'ISK', 18) + , (0xc6a2ad8cc6e4a7e08fc37cc5954be07d499e7654, 'KSP', 18) + , (0x275f942985503d8ce9558f8377cc526a3aba3566, 'WIKEN', 18) + , (0x089ebd525949ee505a48eb14eecba653bc8d1b97, 'DICE', 18) + , (0xe06b40df899b9717b4e6b50711e1dc72d08184cf, 'HIBS', 18) + , (0x342633c4a7f91094096e15b513f039af52e960d9, 'SELO', 8) + , (0xc4407f7dc4b37275c9ce0f839652b393e13ff3d1, 'CLBK', 18) + , (0x3eef2b8d8050197e409b69f09462f49eab562979, 'JUM', 18) + , (0x4b734a4d5bf19d89456ab975dfb75f02762dda1d, 'MOOI', 18) + , (0xe950bdcfa4d1e45472e76cf967db93dbfc51ba3e, 'KAI', 18) + , (0x02518a2a6af8133b59f69a8c162f112f76bb0d96, 'GRAM', 18) + , (0x656f86dd0f3bc25af2d15855f2a2f142f9eaed87, 'BOX', 18) + , (0xab9cb20a28f97e189ca0b666b8087803ad636b3c, 'MDUS', 18) +) AS temp_table (contract_address, symbol, decimals) \ No newline at end of file diff --git a/dbt_subprojects/tokens/models/tokens/linea/tokens_linea_schema.yml b/dbt_subprojects/tokens/models/tokens/linea/tokens_linea_schema.yml index 4f1659e727d..03cdd2d9010 100644 --- a/dbt_subprojects/tokens/models/tokens/linea/tokens_linea_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/linea/tokens_linea_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" diff --git a/dbt_subprojects/tokens/models/tokens/mantle/tokens_mantle_schema.yml b/dbt_subprojects/tokens/models/tokens/mantle/tokens_mantle_schema.yml index 6e9631ec3d6..0e5ea8c73fd 100644 --- a/dbt_subprojects/tokens/models/tokens/mantle/tokens_mantle_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/mantle/tokens_mantle_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" diff --git a/dbt_subprojects/tokens/models/tokens/nova/_schema.yml b/dbt_subprojects/tokens/models/tokens/nova/_schema.yml index bfd8384bdb5..7613474123a 100644 --- a/dbt_subprojects/tokens/models/tokens/nova/_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/nova/_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" diff --git a/dbt_subprojects/tokens/models/tokens/optimism/tokens_optimism_schema.yml b/dbt_subprojects/tokens/models/tokens/optimism/tokens_optimism_schema.yml index 9a23a764e8b..e8379e15380 100644 --- a/dbt_subprojects/tokens/models/tokens/optimism/tokens_optimism_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/optimism/tokens_optimism_schema.yml @@ -14,7 +14,7 @@ models: - &contract_address name: contract_address description: "ERC20 token contract address on Optimism" - tests: + data_tests: - unique - &symbol name: symbol @@ -87,7 +87,7 @@ models: tags: ['tokens', 'optimism', 'bridge', 'erc20'] description: > Selection of ERC20 token addresses bridged from Ethereum to Optimism. - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - l1_token @@ -114,7 +114,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on Optimism." - tests: + data_tests: - unique - name: name description: "NFT Project Name" @@ -131,12 +131,12 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on Optimism." - tests: + data_tests: - unique - name: name description: "NFT Project Name" - name: standard - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] description: > @@ -156,7 +156,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on Optimism." - tests: + data_tests: - unique - name: name description: "NFT Project name" @@ -166,7 +166,7 @@ models: description: "NFT Project symbol" - name: contract_address_l1 description: "Bridged project contract address on L1" - tests: + data_tests: - unique - name: tokens_optimism_erc20_stablecoins @@ -204,11 +204,11 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155' ] @@ -224,7 +224,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on Optimism." - tests: + data_tests: - unique - name: name description: "NFT Project name" diff --git a/dbt_subprojects/tokens/models/tokens/polygon/tokens_polygon_schema.yml b/dbt_subprojects/tokens/models/tokens/polygon/tokens_polygon_schema.yml index f19ec34af9a..186bedfa47e 100644 --- a/dbt_subprojects/tokens/models/tokens/polygon/tokens_polygon_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/polygon/tokens_polygon_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address on Polygon" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" @@ -32,7 +32,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on polygon." - tests: + data_tests: - unique - name: name description: "NFT Project Name" @@ -49,12 +49,12 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on polygon." - tests: + data_tests: - unique - name: name description: "NFT Project Name" - name: standard - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155' ] description: > @@ -74,11 +74,11 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155' ] diff --git a/dbt_subprojects/tokens/models/tokens/scroll/tokens_scroll_erc20.sql b/dbt_subprojects/tokens/models/tokens/scroll/tokens_scroll_erc20.sql index 78c0a6f023e..e70e02c4fa3 100644 --- a/dbt_subprojects/tokens/models/tokens/scroll/tokens_scroll_erc20.sql +++ b/dbt_subprojects/tokens/models/tokens/scroll/tokens_scroll_erc20.sql @@ -27,4 +27,8 @@ FROM (VALUES , (0x5300000000000000000000000000000000000004, 'WETH', 18) , (0xaaae8378809bb8815c08d3c59eb0c7d1529ad769, 'NURI', 18) , (0x8731d54e9d02c286767d56ac03e8037c07e01e98, 'STG', 18) + , (0xb0643f7b3e2e2f10fe4e38728a763ec05f4adec3, 'DAPP', 18) + , (0x1a2fcb585b327fadec91f55d45829472b15f17a4, 'TKN', 18) + , (0x2147a89fb4608752807216d5070471c09a0dce32, 'ZP', 18) + , (0xd29687c813d741e2f938f4ac377128810e217b1b, 'SCR', 18) ) AS temp_table (contract_address, symbol, decimals) \ No newline at end of file diff --git a/dbt_subprojects/tokens/models/tokens/scroll/tokens_scroll_schema.yml b/dbt_subprojects/tokens/models/tokens/scroll/tokens_scroll_schema.yml index ada743c5a98..5b22605a4cd 100644 --- a/dbt_subprojects/tokens/models/tokens/scroll/tokens_scroll_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/scroll/tokens_scroll_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" diff --git a/dbt_subprojects/tokens/models/tokens/sei/_schema.yml b/dbt_subprojects/tokens/models/tokens/sei/_schema.yml index c6c389b2f97..9c45ae2355e 100644 --- a/dbt_subprojects/tokens/models/tokens/sei/_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/sei/_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" diff --git a/dbt_subprojects/tokens/models/tokens/sepolia/tokens_sepolia_schema.yml b/dbt_subprojects/tokens/models/tokens/sepolia/tokens_sepolia_schema.yml index 72d0e29e280..03d4582cf36 100644 --- a/dbt_subprojects/tokens/models/tokens/sepolia/tokens_sepolia_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/sepolia/tokens_sepolia_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" diff --git a/dbt_subprojects/tokens/models/tokens/tokens_erc20.sql b/dbt_subprojects/tokens/models/tokens/tokens_erc20.sql index 8ba8626581e..4116ac96b20 100644 --- a/dbt_subprojects/tokens/models/tokens/tokens_erc20.sql +++ b/dbt_subprojects/tokens/models/tokens/tokens_erc20.sql @@ -3,10 +3,35 @@ schema = 'tokens' ,alias = 'erc20' ,materialized = 'table' - ,post_hook='{{ expose_spells(\'["arbitrum","avalanche_c","base","bnb","celo","ethereum","fantom","fuse","gnosis","goerli","mantle","optimism","polygon","scroll","zkevm","zksync","zora","blast","sepolia","sei","nova","linea"]\', - "sector", - "tokens", - \'["bh2smith","0xManny","hildobby","soispoke","dot2dotseurat","mtitus6","wuligy","lgingerich","0xRob","jeff-dude","viniabussafi","IrishLatte19","angus_1","Henrystats","rantum"]\') }}' + ,post_hook='{{ expose_spells(\'[ + "arbitrum" + ,"avalanche_c" + ,"base" + ,"blast" + ,"bnb" + ,"celo" + ,"ethereum" + ,"fantom" + ,"fuse" + ,"gnosis" + ,"goerli" + ,"kaia" + ,"linea" + ,"mantle" + ,"nova" + ,"optimism" + ,"polygon" + ,"scroll" + ,"sei" + ,"sepolia" + ,"worldchain" + ,"zkevm" + ,"zksync" + ,"zora" + ]\', + "sector", + "tokens", + \'["bh2smith","0xManny","hildobby","soispoke","dot2dotseurat","mtitus6","wuligy","lgingerich","0xRob","jeff-dude","viniabussafi","IrishLatte19","angus_1","Henrystats","rantum"]\') }}' ) }} @@ -39,6 +64,7 @@ ,'tokens_nova': {'blockchain': 'nova', 'model': ref('tokens_nova_erc20')} ,'tokens_linea': {'blockchain': 'linea', 'model': ref('tokens_linea_erc20')} ,'tokens_worldchain': {'blockchain': 'worldchain', 'model': ref('tokens_worldchain_erc20')} + ,'tokens_kaia': {'blockchain': 'kaia', 'model': ref('tokens_kaia_erc20')} } %} with automated_source as ( diff --git a/dbt_subprojects/tokens/models/tokens/worldchain/_schema.yml b/dbt_subprojects/tokens/models/tokens/worldchain/_schema.yml index 579cf2aee43..a21212d7f2b 100644 --- a/dbt_subprojects/tokens/models/tokens/worldchain/_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/worldchain/_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" diff --git a/dbt_subprojects/tokens/models/tokens/worldchain/tokens_worldchain_erc20.sql b/dbt_subprojects/tokens/models/tokens/worldchain/tokens_worldchain_erc20.sql index d1b48037db1..75a5ebb61b6 100644 --- a/dbt_subprojects/tokens/models/tokens/worldchain/tokens_worldchain_erc20.sql +++ b/dbt_subprojects/tokens/models/tokens/worldchain/tokens_worldchain_erc20.sql @@ -17,4 +17,5 @@ FROM (VALUES , (0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3, 'WBTC', 8) , (0x4200000000000000000000000000000000000006, 'WETH', 18) , (0x859DBE24b90C9f2f7742083d3cf59cA41f55Be5d, 'sDAI', 18) + , (0xcd1E32B86953D79a6AC58e813D2EA7a1790cAb63, 'ORO', 18) ) AS temp_table (contract_address, symbol, decimals) \ No newline at end of file diff --git a/dbt_subprojects/tokens/models/tokens/zkevm/tokens_zkevm_schema.yml b/dbt_subprojects/tokens/models/tokens/zkevm/tokens_zkevm_schema.yml index eb12ef55487..67b452b501f 100644 --- a/dbt_subprojects/tokens/models/tokens/zkevm/tokens_zkevm_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/zkevm/tokens_zkevm_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address on zkevm" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" diff --git a/dbt_subprojects/tokens/models/tokens/zksync/tokens_zksync_schema.yml b/dbt_subprojects/tokens/models/tokens/zksync/tokens_zksync_schema.yml index 4f73d366bea..6e1d453b045 100644 --- a/dbt_subprojects/tokens/models/tokens/zksync/tokens_zksync_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/zksync/tokens_zksync_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" @@ -32,7 +32,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" @@ -51,14 +51,14 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored." - tests: + data_tests: - unique - name: name description: "NFT Project Name" - name: symbol description: "NFT Token Symbol" - name: standard - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] description: > @@ -79,7 +79,7 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." diff --git a/dbt_subprojects/tokens/models/tokens/zora/tokens_zora_schema.yml b/dbt_subprojects/tokens/models/tokens/zora/tokens_zora_schema.yml index 4caef3b7467..94a731593fb 100644 --- a/dbt_subprojects/tokens/models/tokens/zora/tokens_zora_schema.yml +++ b/dbt_subprojects/tokens/models/tokens/zora/tokens_zora_schema.yml @@ -13,7 +13,7 @@ models: columns: - name: contract_address description: "ERC20 token contract address on zora" - tests: + data_tests: - unique - name: symbol description: "ERC20 token symbol" @@ -32,7 +32,7 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on Optimism." - tests: + data_tests: - unique - name: name description: "NFT Project Name" @@ -49,12 +49,12 @@ models: columns: - name: contract_address description: "The contract address is the unique address of where the NFTs are stored on Optimism." - tests: + data_tests: - unique - name: name description: "NFT Project Name" - name: standard - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155'] description: > @@ -74,11 +74,11 @@ models: columns: - name: contract_address description: "the NFT contract address" - tests: + data_tests: - unique - name: standard description: "The NFT standard erc721/erc1155/..." - tests: + data_tests: - accepted_values: values: [ 'erc721', 'erc1155' ] diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/arbitrum/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/arbitrum/_schema.yml index 2fab2632860..fce647bce08 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/arbitrum/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/arbitrum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'arbitrum'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'arbitrum'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/avalanche_c/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/avalanche_c/_schema.yml index 7f537de0b05..f22addf0de1 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/avalanche_c/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/avalanche_c/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'avalanche_c'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'avalanche_c'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/base/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/base/_schema.yml index 04edc10a04b..2ae9d53019a 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/base/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/base/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'base'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'base'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/bitcoin/transfers_bitcoin_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/bitcoin/transfers_bitcoin_schema.yml index 08add260d55..4fc06002b43 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/bitcoin/transfers_bitcoin_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/bitcoin/transfers_bitcoin_schema.yml @@ -10,7 +10,7 @@ models: config: tags: ["transfers", "bitcoin", "satoshi"] description: "Transfer satoshi in Bitcoin" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - type @@ -49,7 +49,7 @@ models: description: "Transfer satoshi aggregate in Bitcoin by day" config: tags: ['transfers', 'bitcoin', 'satoshi', 'agg_day', 'longnhbkhn'] - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - day diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/blast/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/blast/_schema.yml index 6e80a23498b..3d31ba98c6c 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/blast/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/blast/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'blast'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'blast'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/bnb/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/bnb/_schema.yml index c5a6f2424d9..894ac614df9 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/bnb/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/bnb/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'bnb'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'bnb'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/celo/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/celo/_schema.yml index 89531f5466c..b3a0e5d85c8 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/celo/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/celo/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'celo'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'celo'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/ethereum/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/ethereum/_schema.yml index f7fcdf5c6bf..a59e171c2ce 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/ethereum/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/ethereum/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'ethereum'] description: > Token base transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'ethereum'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/fantom/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/fantom/_schema.yml index 481f976c9cb..6c2d1c48567 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/fantom/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/fantom/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'fantom'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'fantom'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/goerli/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/goerli/_schema.yml index 92d1dad9c0d..f55c71581f5 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/goerli/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/goerli/_schema.yml @@ -10,7 +10,7 @@ goerlils: tags: ['tokens','transfers', 'goerli'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ goerlils: tags: ['tokens','transfers', 'goerli'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/linea/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/linea/_schema.yml index bd7dcf9cc74..ddbc528ef47 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/linea/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/linea/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'linea'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'linea'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/mantle/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/mantle/_schema.yml index 3abf40f6f1f..601c967b3af 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/mantle/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/mantle/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'mantle'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'mantle'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/optimism/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/optimism/_schema.yml index 48a775406ec..3ddb08f571a 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/optimism/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/optimism/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'optimism'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'optimism'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/polygon/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/polygon/_schema.yml index d4265a9b0f6..cce1d1d7c58 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/polygon/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/polygon/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'polygon'] description: > Token base transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'polygon'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/scroll/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/scroll/_schema.yml index 76867f8810e..f95b2731491 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/scroll/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/scroll/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'scroll'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'scroll'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/sei/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/sei/_schema.yml index 4133e73e718..8ad12bec99e 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/sei/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/sei/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'sei'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'sei'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/_schema.yml index f187747c1e7..01758a5431e 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/_schema.yml @@ -10,7 +10,7 @@ sepolials: tags: ['tokens','transfers', 'sepolia'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ sepolials: tags: ['tokens','transfers', 'sepolia'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/zkevm/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/zkevm/_schema.yml index 6ab7613a40a..b0e3de3e493 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/zkevm/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/zkevm/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'zkevm'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'zkevm'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/zksync/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/zksync/_schema.yml index 97fedebaae1..bf3585dc92d 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/zksync/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/zksync/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'zksync'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'zksync'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/zora/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/zora/_schema.yml index 3c171b99c0f..5525abf33a3 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/zora/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/zora/_schema.yml @@ -10,7 +10,7 @@ models: tags: ['tokens','transfers', 'zora'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date @@ -58,7 +58,7 @@ models: tags: ['tokens','transfers', 'zora'] description: > Token transfers - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - block_date diff --git a/dbt_subprojects/tokens/models/yearn/optimism/yearn_optimism_schema.yml b/dbt_subprojects/tokens/models/yearn/optimism/yearn_optimism_schema.yml index 669e9938aa5..b446ea1174a 100644 --- a/dbt_subprojects/tokens/models/yearn/optimism/yearn_optimism_schema.yml +++ b/dbt_subprojects/tokens/models/yearn/optimism/yearn_optimism_schema.yml @@ -12,7 +12,7 @@ models: config: tags: ['yearn', 'tokens', 'optimism', 'yield'] description: "Yearn vault list and mappings to underlying tokens" - tests: + data_tests: - dbt_utils.unique_combination_of_columns: combination_of_columns: - blockchain diff --git a/dbt_subprojects/tokens/models/zora/optimism/zora_optimism_edition_metadata_schema.yml b/dbt_subprojects/tokens/models/zora/optimism/zora_optimism_edition_metadata_schema.yml index eb8375538af..13085d442c6 100644 --- a/dbt_subprojects/tokens/models/zora/optimism/zora_optimism_edition_metadata_schema.yml +++ b/dbt_subprojects/tokens/models/zora/optimism/zora_optimism_edition_metadata_schema.yml @@ -14,7 +14,7 @@ models: - &edition_address name: edition_address description: "Edition (token) Address" - tests: + data_tests: - unique - &created_tx_hash name: created_tx_hash diff --git a/dbt_subprojects/tokens/package-lock.yml b/dbt_subprojects/tokens/package-lock.yml index a3dc0171567..d7138c9b8ac 100644 --- a/dbt_subprojects/tokens/package-lock.yml +++ b/dbt_subprojects/tokens/package-lock.yml @@ -1,8 +1,8 @@ packages: -- package: dbt-labs/dbt_utils - version: 1.1.1 -- package: dbt-labs/codegen - version: 0.12.1 -- package: starburstdata/trino_utils - version: 0.6.0 -sha1_hash: d69e0f3c2585c08a713303dfd8086eb7ba5c4021 + - package: dbt-labs/dbt_utils + version: 1.3.0 + - package: dbt-labs/codegen + version: 0.12.1 + - package: starburstdata/trino_utils + version: 0.6.0 +sha1_hash: 9b90e2caa8f0dbe973100903ae2391c36d0de2de diff --git a/scripts/list_modified_downstream.sh b/scripts/list_modified_downstream.sh new file mode 100755 index 00000000000..ab9d162214d --- /dev/null +++ b/scripts/list_modified_downstream.sh @@ -0,0 +1,47 @@ +#!/bin/bash + +# Check if required environment variables are set +if [ -z "$PROFILE" ] || [ -z "$PROJECT_DIR" ]; then + echo "Error: PROFILE and PROJECT_DIR environment variables must be set" + echo "Example usage:" + echo "PROFILE=myprofile PROJECT_DIR=/path/to/project ./script.sh" + exit 1 +fi + +# Run dbt command and store output +dbt_output=$(dbt ls $PROFILE \ + --quiet \ + --no-print \ + --resource-type model \ + --select state:modified+ \ + --output json \ + --output-keys config \ + --state . \ + --project-dir $PROJECT_DIR) + +# For debugging +#echo "Raw output:" +#echo "$dbt_output" + +# Check for no output or error messages +if [ -z "$dbt_output" ] || echo "$dbt_output" | grep -q "No nodes selected"; then + echo "No modified models found" + exit 0 +fi + +# Process the output line by line and format each JSON object +echo "$dbt_output" | \ + while IFS= read -r line; do + # Skip empty lines + [ -z "$line" ] && continue + # Extract and format each line + echo "$line" | jq -r '"\(.config.materialized) \(.config.schema) \(.config.alias)"' + done | \ + sort | \ + while IFS= read -r line; do + # Split the line into components and format + materialization=$(echo "$line" | cut -d' ' -f1) + schema=$(echo "$line" | cut -d' ' -f2) + alias=$(echo "$line" | cut -d' ' -f3) + echo "[$materialization] - $schema.$alias" + done diff --git a/sources/_base_sources/evm/kaia_base_sources.yml b/sources/_base_sources/evm/kaia_base_sources.yml new file mode 100644 index 00000000000..cdc89e60ef8 --- /dev/null +++ b/sources/_base_sources/evm/kaia_base_sources.yml @@ -0,0 +1,470 @@ +version: 2 + +sources: + # kaia Tables + - name: kaia + description: "raw tables for the chain" + + tables: + - name: transactions + meta: + docs_slug: /evm/kaia/raw/transactions + short_description: The transactions table contains detailed information about transactions on the network. + description: '{{ doc("kaia_transactions_doc") }}' + + columns: + - &block_date + name: block_date + description: "The UTC date of the block in which this transaction was included" + - &block_time + name: block_time + description: "The exact UTC timestamp when the block containing this transaction was added to the chain" + - &value + name: value + description: "Amount of ETH sent from sender to recipient (if any), measured in wei (1 ETH = 10^18 wei)" + - &block_number + name: block_number + description: "The sequential number of the block containing this transaction" + - name: gas_limit + description: "Maximum number of gas units this transaction can consume" + - name: gas_price + description: "Price per unit of gas for this transaction, denominated in wei (1 gwei = 10^9 wei)" + - name: gas_used + description: "Actual amount of gas units consumed by this transaction's execution" + - name: max_fee_per_gas + description: "Maximum total amount per gas unit the initiator is willing to pay, including kaia fee and priority fee" + - name: max_priority_fee_per_gas + description: "Maximum additional fee per gas unit the initiator is willing to pay as a tip to validators" + - name: base_fee_per_gas + description: "Minimum fee per gas unit required for transaction inclusion" + - name: nonce + description: "Sequential number representing the count of transactions sent from the sender's address" + - name: index + description: "Position of this transaction within its containing block" + - &success + name: success + description: "Boolean flag indicating whether the transaction executed successfully (true) or failed (false)" + - &from + name: from + description: "Address of the account that initiated and signed this transaction" + - &to + name: to + description: "Address of the recipient account or contract for this transaction" + - &block_hash + name: block_hash + description: "Unique 256-bit identifier (hash) of the block containing this transaction" + - name: data + description: "Input data for the transaction, which may include function calls or contract interaction data" + - name: hash + description: "Unique 256-bit identifier (hash) of this specific transaction" + - name: type + description: "Type of transaction (e.g., legacy, EIP-1559) indicating its structure and fee mechanism" + - name: access_list + description: "List of addresses and storage keys the transaction plans to access, used for gas optimization in EIP-2930 transactions" + - name: effective_gas_price + description: "Actual price per gas unit paid for this transaction, calculated post-execution" + - name: l1_block_number + description: "Block number on the L1 where this L2 transaction was batch submitted (may be deprecated in kaia)" + - name: l1_fee + description: "L1 Fees that the network pays to submit L2 transactions to kaia L1 " + - name: l1_fee_scalar + description: "Scalar value used to calculate L1 fee, covering potential changes in L1 gas price and network costs" + - name: l1_gas_price + description: "Gas price on the L1 at the time of L2 transaction submission" + - name: l1_gas_used + description: "The gas used on kaia L1 to publish this L2 transaction" + - name: l1_timestamp + description: "The timestamp when the L2 transaction was batched and confirmed on the L1" + - name: l1_tx_origin + description: "L1 transaction origin address for L2 transactions that were initiated on L1" + + - name: traces + meta: + docs_slug: /evm/kaia/raw/traces + short_description: The traces table contains information about traces on the network. + description: '{{ doc("kaia_traces_doc") }}' + columns: + - *block_date + - *block_time + - *block_number + - *value + - name: gas + description: "Amount of gas allocated for this trace's execution (including gas used by child traces)" + - name: gas_used + description: "Actual amount of gas consumed by this trace's execution" + - *block_hash + - name: success + description: "Boolean flag indicating whether this specific trace was executed successfully (true) or reverted (false)" + - &tx_index + name: tx_index + description: "Position of the parent transaction within its containing block" + - name: subtraces + description: "Number of child traces spawned by this trace during execution" + - name: error + description: "Error message or code if the trace execution failed" + - name: tx_success + description: "Boolean flag indicating whether the parent transaction of this trace was successful" + - &tx_hash + name: tx_hash + description: "Unique 256-bit identifier (hash) of the parent transaction" + - name: from + description: "address that sent this trace" + - name: to + description: "address that received this trace" + - name: trace_address + description: "Array indicating the exact position of this trace within the trace tree of the transaction" + - name: type + description: "Type of trace (e.g., call, create, suicide) indicating the nature of the operation" + - name: address + description: "If this trace is a contract creation, this is the address of the deployed contract" + - name: code + description: "If this trace is a contract creation, this is the deployed bytecode of contract" + - name: call_type + description: "Type of call made in this trace (e.g., call, delegatecall, staticcall)" + - name: input + description: "call data provided to this trace, often containing function signatures and parameters" + - name: output + description: "Data returned by this trace after execution" + - name: refund_address + description: "address designated to receive any gas refund from this trace" + + - name: traces_decoded + meta: + docs_slug: /evm/kaia/decoded/traces_decoded + short_description: The `kaia.traces_decoded` table contains decoded traces, including additional information ethereumd on submitted smart contracts and their ABIs. + description: '{{ doc("kaia_traces_decoded_doc") }}' + columns: + - *block_date + - *block_time + - *block_number + - *tx_hash + - name: contract_name + description: "Human-readable name of the smart contract involved in this trace" + - name: function_name + description: "Name of the specific contract function called in this trace" + - name: namespace + description: "Categorical grouping or project name associated with the contract" + - name: signature + description: "8 byte function signature used to identify the function" + - name: to + description: "address of the contract or account receiving this trace" + - name: trace_address + description: "Array indicating the exact position of this trace within the trace tree of the transaction" + + - name: logs + meta: + docs_slug: /evm/kaia/raw/logs + short_description: The `kaia.logs` table contains information about event logs emitted by smart contracts on the kaia blockchain. + description: '{{ doc("kaia_logs_doc") }}' + columns: + - *block_date + - *block_time + - *block_number + - *block_hash + - *tx_index + - *tx_hash + - name: contract_address + description: "Address of the smart contract that emitted this log" + - name: topic0 + description: "First 32-byte topic, typically containing the event signature hash" + - name: topic1 + description: "Second 32-byte topic, often containing indexed event parameters" + - name: topic2 + description: "Third 32-byte topic, often containing indexed event parameters" + - name: topic3 + description: "Fourth 32-byte topic, often containing indexed event parameters" + - name: data + description: "ABI-encoded data of the log, containing non-indexed event parameters" + - name: index + description: "Position of this log within the block" + + - name: logs_decoded + meta: + docs_slug: /evm/kaia/decoded/logs_decoded + short_description: The `kaia.logs_decoded` table contains a subset of all logs for which Dune has the ABI. + description: '{{ doc("kaia_logs_decoded_doc") }}' + columns: + - *block_date + - *block_time + - *block_number + - *tx_hash + - name: index + description: "Position of this log within the block" + - name: contract_address + description: "Address of the smart contract that emitted this log" + - name: namespace + description: "Categorical grouping or project name associated with the contract" + - name: contract_name + description: "name of the smart contract that emitted this log" + - name: event_name + description: "Name of the event emitted in this log" + - name: signature + description: "Topic0 hash of the event signature" + + - name: blocks + meta: + docs_slug: /evm/kaia/raw/blocks + short_description: The `kaia.blocks` table contains information about kaia blocks. Each row represents a single block. + description: '{{ doc("kaia_blocks_doc") }}' + columns: + - name: base_fee_per_gas + description: "Minimum fee per gas unit required for transaction inclusion in this block in the kaia unit wei" + - name: difficulty + description: "Measure of how difficult it was to produce this block (deprecated in kaia)" + - name: total_difficulty + description: "Total chain difficulty up to this block (deprecated in kaia)" + - name: gas_limit + description: "Maximum amount of gas that can be used by all transactions in this block" + - name: gas_used + description: "Total amount of gas actually consumed by all transactions in this block" + - name: hash + description: "Unique 256-bit identifier (hash) of this block" + - name: miner + description: "Address of the sequencer who produced this block (currently just one sequencer)" + - name: nonce + description: "A block's nonce value, used in the consensus mechanism (may be deprecated in kaia)" + - name: number + description: "Sequential position of this block in the blockchain" + - name: parent_hash + description: "Hash of the previous block in the blockchain" + - name: size + description: "Size of this block in bytes" + - name: time + description: "Timestamp when this block was added to the chain" + - name: blob_gas_used + description: "The total amount of blob gas consumed by transactions in the block (not in use for kaia)" + - name: excess_blob_gas + description: "A running total of blob gas consumed in excess of the target, prior to the block. This is used to set blob gas pricing(not in use for kaia)." + + - name: contracts + meta: + docs_slug: /evm/kaia/raw/contracts + short_description: The `kaia.contracts` table tracks decoded contracts on kaia, including associated metadata such as namespace, name, address, ABI. It is populated manually by the Dune Community via [contract decoding submissions](https://dune.com/contracts/new). + description: '{{ doc("kaia_contracts_doc") }}' + columns: + - name: abi_id + description: "Unique identifier for the contract's ABI. This is used to identify the contract across all chains." + - name: abi + description: "JSON representation of the contract's Application Binary Interface (ABI)" + - name: address + description: "Address of the deployed contract" + - name: from + description: "Address that deployed this contract. Can be a contract or EOA." + - name: code + description: "Bytecode of the contract at the time of creation" + - name: name + description: "Name assigned to the contract" + - name: namespace + description: "Categorical grouping or project name associated with the contract" + - name: dynamic + description: "Boolean indicating if this contract was submitted to Dune with the 'dynamic' flag enabled. If yes, our decoder will search for exact matches of the contract's bytecode and decode them into the same namespace as the initial contract." + - name: kaia + description: "Boolean indicating if this is a manual individual submission of a contract." + - name: factory + description: "Boolean indicating if this submission was submitted to Dune with the 'factory' flag enabled. If yes, our decoder will search for contract's deployed by the same factory and decode them into the same namespace as the initial contract." + - name: detection_source + description: "Method used to detect and decode this contract: 'factory', 'kaia', or 'dynamic'. " + - name: created_at + description: "Timestamp of when this contract was first decoded on Dune. This is not the contract creation timestamp." + + - name: creation_traces + meta: + docs_slug: /evm/kaia/raw/creation_traces + short_description: The `kaia.creation_traces` table contains information about contract creation traces on the kaia blockchain. It includes details about newly created contracts, their creators, and the contract code. + description: '{{ doc("kaia_creation_traces_doc") }}' + columns: + - *block_time + - *block_number + - *tx_hash + - name: address + description: "Address of the contract created" + - name: from + description: "Address that created this contract. Can be a contract or EOA." + - name: code + description: "Deployed bytecode of the contract" + + - name: withdrawals + meta: + docs_slug: /kaia/withdrawals + short_description: "This table contains information about withdrawals from the beacon chain to kaia Mainnet." + description: '{{ doc("kaia_withdrawals_doc") }}' + columns: + - name: block_time + description: "The exact UTC timestamp when the block containing this withdrawal was added to the chain" + - name: block_number + description: "The sequential number of the block containing this withdrawal" + - name: index + description: "Position of this withdrawal within its containing block" + - name: validator_index + description: "Unique identifier of the validator associated with this withdrawal" + - name: amount + description: "Amount of ETH withdrawn, measured in wei (1 ETH = 10^18 wei)" + - name: address + description: "Address of the account receiving the withdrawn ETH" + - name: withdrawals_root + description: "Merkle root of all withdrawals in this block, used for verification purposes" + - name: block_hash + description: "Unique 256-bit identifier (hash) of the block containing this withdrawal" + - name: block_date + description: "The UTC date of the block in which this withdrawal was included" + + # ERC Transfer Tables + - name: erc20_kaia + description: "Transfer events for ERC20 tokens on kaia" + tables: + - name: evt_transfer + meta: + docs_slug: /evm/kaia/decoded/interfaces/erc20/evt_transfer + short_description: This table contains individual transfer events for ERC20 tokens on the kaia blockchain. Each row represents a single token transfer event. + description: '{{ doc("erc20_kaia_evt_transfer_doc") }}' + columns: + - name: contract_address + description: "Address of the ERC20 token contract that emitted this event" + - &evt_tx_hash + name: evt_tx_hash + description: "Hash of the transaction containing this event" + - &evt_index + name: evt_index + description: "Index position of this event within the transaction" + - &evt_block_time + name: evt_block_time + description: "Timestamp of the block containing this event" + - &evt_block_number + name: evt_block_number + description: "The block number containing this event" + - *from + - *to + - name: value + description: "Amount of ERC20 tokens transferred, in the token's kaia unit" + + - name: evt_approval + meta: + docs_slug: /evm/kaia/decoded/interfaces/erc20/evt_approval + short_description: The `kaia.evt_approval` table contains approval events for ERC20 tokens on kaia, allowing an address to spend tokens on behalf of the owner. + description: '{{ doc("erc20_kaia_evt_approval_doc") }}' + columns: + - name: contract_address + description: "Address of the ERC20 token contract" + - *evt_tx_hash + - *evt_index + - *evt_block_time + - *evt_block_number + - name: owner + description: "address of the token owner granting approval" + - name: spender + description: "address being granted permission to spend tokens" + - name: value + description: "Amount of ERC20 tokens approved for spending, in the token's smallest unit" + + - name: erc1155_kaia + description: "events related to ERC1155 tokens" + tables: + - name: evt_transfersingle + meta: + docs_slug: /evm/kaia/decoded/interfaces/erc1155/evt_transfersingle + short_description: This table contains single transfer events for ERC1155 tokens on the network. + description: '{{ doc("erc1155_kaia_evt_transfersingle_doc") }}' + columns: + - name: contract_address + description: "address of the ERC1155 token contract" + - *evt_tx_hash + - *evt_index + - *evt_block_time + - *evt_block_number + - name: operator + description: "the address that is authorized to execute the transfer on behalf of the owner" + - *from + - *to + - name: id + description: "Unique identifier of the ERC1155 token being transferred" + - name: value + description: "Quantity of the ERC1155 token transferred" + - name: evt_transferbatch + meta: + docs_slug: /evm/kaia/decoded/interfaces/erc1155/evt_transferbatch + short_description: This table contains all batch transfer events for ERC1155 tokens on the network. + description: '{{ doc("erc1155_ethereum_evt_transferbatch_doc") }}' + columns: + - name: contract_address + description: "Contract address of the ERC1155 token contract" + - *evt_tx_hash + - *evt_index + - *evt_block_time + - *evt_block_number + - name: operator + description: "Contract address authorized to execute the batch transfer on behalf of the owner" + - *from + - *to + - name: ids + description: "Array of unique identifiers of the ERC1155 tokens being transferred" + - name: values + description: "Array of quantities for each ERC1155 token transferred, corresponding to the ids array" + - name: evt_ApprovalForAll + meta: + docs_slug: /evm/kaia/decoded/interfaces/erc1155/evt_ApprovalForAll + short_description: This table contains approval events for all tokens of an ERC1155 contract on this network. + description: '{{ doc("erc1155_ethereum_evt_ApprovalForAll_doc") }}' + columns: + - name: contract_address + description: "kaia address of the ERC1155 token contract" + - *evt_tx_hash + - *evt_index + - *evt_block_time + - *evt_block_number + - &approved + name: approved + description: "Boolean indicating whether approval is granted (true) or revoked (false)" + - &owner + name: owner + description: "kaia address of the token owner granting or revoking approval" + - name: operator + description: "kaia address being granted or revoked permission to operate all tokens" + + - name: erc721_kaia + description: '{{ doc("erc721_kaia_evt_transfer_doc") }}' + tables: + - name: evt_transfer + description: "Transfer events for ERC721 tokens on this network" + columns: + - name: contract_address + description: "Contract address of the ERC721 token contract" + - *evt_tx_hash + - *evt_index + - *evt_block_time + - *evt_block_number + - *from + - *to + - name: tokenId + description: "Unique identifier of the ERC721 token (NFT) being transferred" + - name: evt_Approval + meta: + docs_slug: /evm/kaia/decoded/interfaces/erc721/evt_Approval + short_description: "Approval events for ERC721 tokens on this network" + description: '{{ doc("erc721_ethereum_evt_Approval_doc") }}' + columns: + - name: contract_address + description: "Contract address of the ERC721 token contract" + - *evt_tx_hash + - *evt_index + - *evt_block_time + - *evt_block_number + - *approved + - *owner + - name: tokenId + description: "Unique identifier of the ERC721 token (NFT) for which approval is granted or revoked" + - name: evt_ApprovalForAll + meta: + docs_slug: /evm/kaia/decoded/interfaces/erc721/evt_ApprovalForAll + short_description: The `kaia.evt_ApprovalForAll` table contains approval events for all tokens of an ERC721 contract on the kaia blockchain. + description: '{{ doc("erc721_ethereum_evt_ApprovalForAll_doc") }}' + columns: + - name: contract_address + description: "Address of the ERC721 token contract" + - *evt_tx_hash + - *evt_index + - *evt_block_time + - *evt_block_number + - *approved + - *owner + - name: operator + description: "The address being granted or revoked permission to operate all tokens" diff --git a/sources/_base_sources/evm/kaia_docs_block.md b/sources/_base_sources/evm/kaia_docs_block.md new file mode 100644 index 00000000000..56dd35d7550 --- /dev/null +++ b/sources/_base_sources/evm/kaia_docs_block.md @@ -0,0 +1,227 @@ +{% docs kaia_transactions_doc %} + +The `kaia.transactions` table contains detailed information about transactions on the kaia blockchain. It includes: + +- Block information: number, timestamp, hash +- Transaction details: hash, from_address, to_address, value +- Gas data: gas_price, gas_limit, gas_used +- Status: success or failure +- Input data for contract interactions +- Nonce +- Transaction type + +This table is used for analyzing transaction patterns, gas usage, value transfers, and overall network activity on kaia. + +{% enddocs %} + +{% docs kaia_traces_doc %} + +The `kaia.traces` table contains records of execution steps for transactions on the kaia blockchain. Each trace represents an atomic operation that modifies the state of the Ethereum Virtual Machine (EVM). Key components include: + +- Transaction hash +- Block number and timestamp +- From and to addresses +- Value transferred +- Input data +- Gas used +- Error information (if applicable) + +This table is used for analyzing transaction execution paths, internal contract calls, and state changes within the kaia network. + +{% enddocs %} + +{% docs kaia_traces_decoded_doc %} + +The `kaia.traces_decoded` table contains a subset of decoded traces from the kaia blockchain dependent on submitted smart contracts and their ABIs. It includes: + +- All fields from the `kaia.traces` table +- Decoded function names and signature (first four bytes of the calldata) +- the contract name and schema name we have decoded the function call to + +This table is used for high level analysis of smart contract interactions. For fully decoded function calls and parameters, refer to decoded tables such as `uniswap_v3_ethereum.UniswapV3Pool_call_Swap`. + +{% enddocs %} + +{% docs kaia_logs_doc %} + +The `kaia.logs` table contains event logs emitted by smart contracts on the kaia blockchain. It includes: + +- Block number and timestamp +- Transaction hash +- Contract address +- Topic hashes +- Raw data + +This table is used for tracking contract events and state changes on the kaia network. + +{% enddocs %} + +{% docs kaia_logs_decoded_doc %} + +The `kaia.logs_decoded` table contains a subset of decoded logs from the kaia blockchain dependent on submitted smart contracts and their ABIs. It includes: + +- All fields from the `kaia.logs` table +- Decoded event names and signature (topic0 of the log) +- the contract name and schema name we have decoded the event to + +This table is used for high level analysis of smart contract events. For fully decoded events and parameters, refer to decoded tables such as `erc20_ethereum.UniswapV3Pool_evt_Swap`. + +{% enddocs %} + +{% docs kaia_blocks_doc %} + +The `kaia.blocks` table contains information about kaia blocks. It provides essential data about each block in the kaia blockchain, including timestamps, gas metrics, and block identifiers. This table is fundamental for analyzing blockchain structure, block production rates, and overall network performance. + +{% enddocs %} + +{% docs kaia_contracts_doc %} + +The `kaia.contracts` table tracks all contracts that have been submitted to Dune for decoding. It includes: + +- metadata about the contract, including its name and namespace +- the contract address + +{% enddocs %} + +{% docs kaia_creation_traces_doc %} + +The `kaiam.creation_traces` table contains data about contract creation events on the kaia blockchain. It includes: + +- Block number and timestamp +- Transaction hash +- Creator's address +- Created contract address +- deployed contract bytecode +- Gas used for deployment + +This table is used for analyzing contract deployment patterns and tracking the origin of smart contracts on the kaia network. It's essentially a filtered version of the `kaia.traces` table for the condition that `type = create`. + +{% enddocs %} + +{% docs erc20_kaia_evt_transfer_doc %} + +The `erc20_kaia.evt_transfer` table contains Transfer events for ERC20 tokens on the kaia blockchain. It includes: + +- Block number and timestamp +- Transaction hash +- Contract address +- From and to addresses +- Amount transferred + +This table is used for tracking ERC20 token movements on the kaia network. + +Please be aware that this table is the raw ERC20 event data, and does not include any additional metadata, context or is in any way filtered or curated. Use `tokens.transfers` for a more complete and curated view of token transfers. + +{% enddocs %} + +{% docs erc20_kaia_evt_approval_doc %} + +The `erc20_kaia.evt_approval` table contains Approval events for ERC20 tokens on the kaia blockchain. It includes: + +- Block number and timestamp +- Transaction hash +- Contract address +- Owner and spender addresses +- Approved amount + +This table is used for analyzing ERC20 token approvals and spending permissions on the kaia network. + +{% enddocs %} + +{% docs erc1155_kaia_evt_transfersingle_doc %} + +The `erc1155_kaia.evt_transfersingle` table contains TransferSingle events for ERC1155 tokens on the kaia blockchain. It includes: + +- Block number and timestamp +- Transaction hash +- Contract address +- Operator, from, and to addresses +- Token ID +- Amount transferred + +This table is used for tracking individual ERC1155 token transfers on the kaia network. + +Please be aware that this table is the raw ERC1155 event data, and does not include any additional metadata, context or is in any way filtered or curated. Use `nft.transfers` for a more complete and curated view of NFT transfers. + +{% enddocs %} + +{% docs erc1155_kaia_evt_transferbatch_doc %} + +The `erc1155_kaia.evt_transferbatch` table contains TransferBatch events for ERC1155 tokens on the kaia blockchain. It includes: + +- Block number and timestamp +- Transaction hash +- Contract address +- Operator, from, and to addresses +- Array of token IDs +- Array of amounts transferred + +This table is used for tracking batch transfers of multiple ERC1155 tokens on the kaia network. + +Please be aware that this table is the raw ERC1155 event data, and does not include any additional metadata, context or is in any way filtered or curated. Use nft.transfers for a more complete and curated view of NFT transfers. + +{% enddocs %} + +{% docs erc1155_kaia_evt_ApprovalForAll_doc %} + +The `erc1155_kaia.evt_ApprovalForAll` table contains ApprovalForAll events for ERC1155 tokens on the kaia blockchain. It includes: + +- Block number and timestamp +- Transaction hash +- Contract address +- Account and operator addresses +- Approved status (boolean) + +This table is used for analyzing blanket approvals for ERC1155 token collections on the kaia network. + +{% enddocs %} + +{% docs erc721_kaia_evt_transfer_doc %} + +The `erc721_kaia.evt_transfer` table contains Transfer events for ERC721 tokens on the kaia blockchain. It includes: + +- Block number and timestamp +- Transaction hash +- Contract address +- From and to addresses +- Token ID + +This table is used for tracking ERC721 token (NFT) transfers on the kaia network. + +Please be aware that this table is the raw ERC721 event data, and does not include any additional metadata, context or is in any way filtered or curated. Use `nft.transfers` for a more complete and curated view of NFT transfers. + +{% enddocs %} + +{% docs erc721_kaia_evt_Approval_doc %} + +The `erc721_kaia.evt_Approval` table contains Approval events for ERC721 tokens on the kaia blockchain. It includes: + +- Block number and timestamp +- Transaction hash +- Contract address +- Owner and approved addresses +- Token ID + +This table is used for analyzing approvals for individual ERC721 tokens (NFTs) on the kaia network. + +{% enddocs %} + +{% docs erc721_kaia_evt_ApprovalForAll_doc %} + +The `erc721_kaia.evt_ApprovalForAll` table contains ApprovalForAll events for ERC721 tokens on the kaia blockchain. It includes: + +- Block number and timestamp +- Transaction hash +- Contract address +- Owner and operator addresses +- Approved status (boolean) + +This table is used for analyzing blanket approvals for ERC721 token collections on the kaia network. + +{% enddocs %} + +{% docs kaia_withdrawals_doc %} +The `kaia.withdrawals` table is not yet documented. TBD +{% enddocs %} + + diff --git a/sources/_base_sources/nova_base_sources.yml b/sources/_base_sources/nova_base_sources.yml index 851d570cfee..f4e998b670c 100644 --- a/sources/_base_sources/nova_base_sources.yml +++ b/sources/_base_sources/nova_base_sources.yml @@ -48,7 +48,7 @@ sources: description: "Any binary data payload" - name: hash description: "Primary key of the transaction" - tests: + data_tests: - unique - not_null - name: type @@ -180,7 +180,7 @@ sources: description: "Boolean indicating whether the contract is a factory contract or not" - name: detection_source description: "Detection source: 'factory', 'base', or 'dynamic'" - tests: + data_tests: - accepted_values: values: ["factory", "base", "dynamic"] - name: created_at diff --git a/sources/_datasets/prices/_sources.yml b/sources/_datasets/prices/_sources.yml new file mode 100644 index 00000000000..ba7eba5eddd --- /dev/null +++ b/sources/_datasets/prices/_sources.yml @@ -0,0 +1,7 @@ +version: 2 + +sources: + - name: dune + tables: + - name: prices_day_raw + - name: prices_hour_raw \ No newline at end of file diff --git a/sources/_sector/dex/trades/avalanche_c/_sources.yml b/sources/_sector/dex/trades/avalanche_c/_sources.yml index dee39b04e68..8ea5a933b62 100644 --- a/sources/_sector/dex/trades/avalanche_c/_sources.yml +++ b/sources/_sector/dex/trades/avalanche_c/_sources.yml @@ -61,7 +61,11 @@ sources: - name: curvefi_avalanche_c tables: - name: 3pool_evt_TokenExchange + quoting: + identifier: true # override source defaults - name: 3poolV2_evt_TokenExchange + quoting: + identifier: true # override source defaults - name: AavePool_evt_TokenExchange - name: AavePool_evt_TokenExchangeUnderlying - name: aave_v3_evt_TokenExchangeUnderlying diff --git a/sources/_sector/dex/trades/blast/_sources.yml b/sources/_sector/dex/trades/blast/_sources.yml index 76886480256..75e95394f0a 100644 --- a/sources/_sector/dex/trades/blast/_sources.yml +++ b/sources/_sector/dex/trades/blast/_sources.yml @@ -48,3 +48,7 @@ sources: tables: - name: DYORFactory_evt_PairCreated - name: DYORPair_evt_Swap + - name: icecreamswap_v2_blast + tables: + - name: IceCreamSwapV2Factory_evt_PairCreated + - name: IceCreamSwapV2Pair_evt_Swap diff --git a/sources/_sector/dex/trades/ethereum/_sources.yml b/sources/_sector/dex/trades/ethereum/_sources.yml index c5811187634..d95c3bb0c06 100644 --- a/sources/_sector/dex/trades/ethereum/_sources.yml +++ b/sources/_sector/dex/trades/ethereum/_sources.yml @@ -113,6 +113,10 @@ sources: tables: - name: XchangePair_evt_Swap - name: XchangeFactory_evt_PairCreated + - name: xchange_v2_ethereum + tables: + - name: XchangePair_evt_Swap + - name: XchangeFactory_evt_PairCreated - name: solidly_v3_ethereum tables: - name: SolidlyV3Factory_evt_PoolCreated diff --git a/sources/_sector/dex/trades/scroll/_sources.yml b/sources/_sector/dex/trades/scroll/_sources.yml index 9948def204c..86ad9a0d998 100644 --- a/sources/_sector/dex/trades/scroll/_sources.yml +++ b/sources/_sector/dex/trades/scroll/_sources.yml @@ -49,3 +49,7 @@ sources: tables: - name: SwapFactory_evt_PairCreated - name: UniswapV2Pool_evt_Swap + - name: punkswap_scroll + tables: + - name: PunkFactory_evt_PairCreated + - name: PunkPair_evt_Swap diff --git a/sources/_sector/tokens/balances_sources.yml b/sources/_sector/tokens/balances_sources.yml index 45739a1969f..44e8a3e0189 100644 --- a/sources/_sector/tokens/balances_sources.yml +++ b/sources/_sector/tokens/balances_sources.yml @@ -80,7 +80,7 @@ sources: description: "Prices tables across blockchains" tables: - name: balances_polygon - identifier: balances_polygon_0001 + identifier: balances_polygon_0002 description: "Raw balances data" columns: - name: block_number diff --git a/sources/apeswap/bnb/apeswap_bnb_sources.yml b/sources/apeswap/bnb/apeswap_bnb_sources.yml index 2436f72f507..716589fd282 100644 --- a/sources/apeswap/bnb/apeswap_bnb_sources.yml +++ b/sources/apeswap/bnb/apeswap_bnb_sources.yml @@ -27,7 +27,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &evt_block_number name: evt_block_number diff --git a/sources/apeswap/ethereum/apeswap_ethereum_sources.yml b/sources/apeswap/ethereum/apeswap_ethereum_sources.yml index e22620bf812..23fd113556b 100644 --- a/sources/apeswap/ethereum/apeswap_ethereum_sources.yml +++ b/sources/apeswap/ethereum/apeswap_ethereum_sources.yml @@ -27,7 +27,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &evt_block_number name: evt_block_number diff --git a/sources/apeswap/polygon/apeswap_polygon_sources.yml b/sources/apeswap/polygon/apeswap_polygon_sources.yml index c323de8aa35..891d3bb3715 100644 --- a/sources/apeswap/polygon/apeswap_polygon_sources.yml +++ b/sources/apeswap/polygon/apeswap_polygon_sources.yml @@ -30,7 +30,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &sender name: sender diff --git a/sources/balancer/ethereum/balancer_ethereum_sources.yml b/sources/balancer/ethereum/balancer_ethereum_sources.yml index bcfc738f352..d110ed98492 100644 --- a/sources/balancer/ethereum/balancer_ethereum_sources.yml +++ b/sources/balancer/ethereum/balancer_ethereum_sources.yml @@ -314,7 +314,7 @@ sources: - name: ts description: "Block timestamp" - name: type - tests: + data_tests: - accepted_values: values: [0, 1, 2, 3] description: > diff --git a/sources/cow_protocol/arbitrum/cow_protocol_arbitrum_sources.yml b/sources/cow_protocol/arbitrum/cow_protocol_arbitrum_sources.yml index 67125d445b6..e5ee24ab4da 100644 --- a/sources/cow_protocol/arbitrum/cow_protocol_arbitrum_sources.yml +++ b/sources/cow_protocol/arbitrum/cow_protocol_arbitrum_sources.yml @@ -25,7 +25,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - name: GPv2AllowListAuthentication_evt_SolverRemoved description: "GPv2AllowListAuthentication list of events when a solver was removed" diff --git a/sources/cow_protocol/ethereum/cow_protocol_ethereum_sources.yml b/sources/cow_protocol/ethereum/cow_protocol_ethereum_sources.yml index 1e25c9777d9..e0c48c0cd97 100644 --- a/sources/cow_protocol/ethereum/cow_protocol_ethereum_sources.yml +++ b/sources/cow_protocol/ethereum/cow_protocol_ethereum_sources.yml @@ -25,7 +25,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - name: GPv2AllowListAuthentication_evt_SolverRemoved description: "GPv2AllowListAuthentication list of events when a solver was removed" diff --git a/sources/cow_protocol/gnosis/cow_protocol_gnosis_sources.yml b/sources/cow_protocol/gnosis/cow_protocol_gnosis_sources.yml index 370ff2039d9..29eb6a3ba98 100644 --- a/sources/cow_protocol/gnosis/cow_protocol_gnosis_sources.yml +++ b/sources/cow_protocol/gnosis/cow_protocol_gnosis_sources.yml @@ -25,7 +25,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - name: GPv2AllowListAuthentication_evt_SolverRemoved description: "GPv2AllowListAuthentication list of events when a solver was removed" diff --git a/sources/hashflow/avalanche_c/hashflow_avalanche_c_sources.yml b/sources/hashflow/avalanche_c/hashflow_avalanche_c_sources.yml index 84e6ea8d07e..e0fcbcdfd90 100644 --- a/sources/hashflow/avalanche_c/hashflow_avalanche_c_sources.yml +++ b/sources/hashflow/avalanche_c/hashflow_avalanche_c_sources.yml @@ -29,7 +29,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &fees name: fees diff --git a/sources/hashflow/bnb/hashflow_bnb_sources.yml b/sources/hashflow/bnb/hashflow_bnb_sources.yml index 46c7cd648c6..c37c95e3cd7 100644 --- a/sources/hashflow/bnb/hashflow_bnb_sources.yml +++ b/sources/hashflow/bnb/hashflow_bnb_sources.yml @@ -29,7 +29,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &fees name: fees diff --git a/sources/hashflow/ethereum/hashflow_ethereum_sources.yml b/sources/hashflow/ethereum/hashflow_ethereum_sources.yml index 1c445a7ae6a..8b236f967f7 100644 --- a/sources/hashflow/ethereum/hashflow_ethereum_sources.yml +++ b/sources/hashflow/ethereum/hashflow_ethereum_sources.yml @@ -28,7 +28,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &fees name: fees diff --git a/sources/hashflow/optimism/hashflow_optimism_sources.yml b/sources/hashflow/optimism/hashflow_optimism_sources.yml index cbc00e1b0cb..3b0970ce066 100644 --- a/sources/hashflow/optimism/hashflow_optimism_sources.yml +++ b/sources/hashflow/optimism/hashflow_optimism_sources.yml @@ -29,7 +29,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &fees name: fees diff --git a/sources/nexusmutual/ethereum/nexusmutual_ethereum_sources.yml b/sources/nexusmutual/ethereum/nexusmutual_ethereum_sources.yml index 3b555631340..8e2588fc3be 100644 --- a/sources/nexusmutual/ethereum/nexusmutual_ethereum_sources.yml +++ b/sources/nexusmutual/ethereum/nexusmutual_ethereum_sources.yml @@ -13,11 +13,7 @@ sources: - name: StakingProducts_call_createStakingPool - name: StakingProducts_call_setProducts - name: TokenController_call_assignStakingPoolManager - - name: TokenController2_call_assignStakingPoolManager - - name: TokenController3_call_assignStakingPoolManager - name: TokenController_call_mintStakingPoolNXMRewards - - name: TokenController2_call_mintStakingPoolNXMRewards - - name: TokenController3_call_mintStakingPoolNXMRewards - name: StakingProducts_evt_ProductUpdated - name: StakingPool_call_manager - name: StakingPool_evt_PoolFeeChanged diff --git a/sources/pooltogether/ethereum/pooltogether_ethereum_sources.yml b/sources/pooltogether/ethereum/pooltogether_ethereum_sources.yml index 3a1c4570c22..fdb8c7a9b8f 100644 --- a/sources/pooltogether/ethereum/pooltogether_ethereum_sources.yml +++ b/sources/pooltogether/ethereum/pooltogether_ethereum_sources.yml @@ -22,7 +22,7 @@ sources: - &call_tx_hash name: call_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &contract_address name: contract_address @@ -50,7 +50,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &prizeDistrubution name: prizeDistrubution diff --git a/sources/trader_joe/avalanche_c/trader_joe_avalanche_c_sources.yml b/sources/trader_joe/avalanche_c/trader_joe_avalanche_c_sources.yml index 43c01ffcd2e..d4f757b7bdd 100644 --- a/sources/trader_joe/avalanche_c/trader_joe_avalanche_c_sources.yml +++ b/sources/trader_joe/avalanche_c/trader_joe_avalanche_c_sources.yml @@ -34,7 +34,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &sender name: sender diff --git a/sources/uniswap/arbitrum/uniswap_arbitrum_sources.yml b/sources/uniswap/arbitrum/uniswap_arbitrum_sources.yml index e8365699c8c..69b7bebfa49 100644 --- a/sources/uniswap/arbitrum/uniswap_arbitrum_sources.yml +++ b/sources/uniswap/arbitrum/uniswap_arbitrum_sources.yml @@ -28,7 +28,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &liquidity name: liquidity diff --git a/sources/uniswap/bnb/uniswap_bnb_sources.yml b/sources/uniswap/bnb/uniswap_bnb_sources.yml index 5c126a7558e..d024fb090a9 100644 --- a/sources/uniswap/bnb/uniswap_bnb_sources.yml +++ b/sources/uniswap/bnb/uniswap_bnb_sources.yml @@ -28,7 +28,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &liquidity name: liquidity diff --git a/sources/uniswap/celo/uniswap_celo_sources.yml b/sources/uniswap/celo/uniswap_celo_sources.yml index 2cc181c07e0..e471dacc210 100644 --- a/sources/uniswap/celo/uniswap_celo_sources.yml +++ b/sources/uniswap/celo/uniswap_celo_sources.yml @@ -27,7 +27,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &liquidity name: liquidity diff --git a/sources/uniswap/ethereum/uniswap_ethereum_sources.yml b/sources/uniswap/ethereum/uniswap_ethereum_sources.yml index e6beda327a1..6a00f25506c 100644 --- a/sources/uniswap/ethereum/uniswap_ethereum_sources.yml +++ b/sources/uniswap/ethereum/uniswap_ethereum_sources.yml @@ -28,7 +28,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &tokens_bought name: tokens_bought diff --git a/sources/uniswap/polygon/uniswap_polygon_sources.yml b/sources/uniswap/polygon/uniswap_polygon_sources.yml index 4077afcbd63..34bbe01485c 100644 --- a/sources/uniswap/polygon/uniswap_polygon_sources.yml +++ b/sources/uniswap/polygon/uniswap_polygon_sources.yml @@ -28,7 +28,7 @@ sources: - &evt_tx_hash name: evt_tx_hash description: "Primary key of the transaction" - tests: + data_tests: - not_null - &liquidity name: liquidity