From 855a6a70370faaa36c095ac737c7005088e76c83 Mon Sep 17 00:00:00 2001 From: yashablack Date: Thu, 10 Aug 2023 13:00:21 +0300 Subject: [PATCH 1/2] feat: add Spectrum Finance json --- projects/spectrum-finance.json | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 projects/spectrum-finance.json diff --git a/projects/spectrum-finance.json b/projects/spectrum-finance.json new file mode 100644 index 0000000..0467e11 --- /dev/null +++ b/projects/spectrum-finance.json @@ -0,0 +1,39 @@ +{ + "projectName": "Spectrum Finance", + "labelPrefix": "Spectrum Finance", + "website": "https://spectrum.fi", + "twitter": "spectrumlabs_", + "discord": "https://discord.com/invite/zY2gmTYQVD", + "category": "DEX", + "contracts": [ + { + "name": "Swap Order Contract", + "version": 1, + "language": "PLUTUS", + "languageVersion": 2, + "scriptHash": "2618e94cdb06792f05ae9b1ec78b0231f4b7f4215b1b4cf52e6342de" + }, + { + "name": "AMM Pool Contract", + "version": 1, + "language": "PLUTUS", + "languageVersion": 2, + "scriptHash": "e628bfd68c07a7a38fcd7d8df650812a9dfdbee54b1ed4c25c87ffbf" + }, + { + "name": "Deposit Order Contract", + "version": 1, + "language": "PLUTUS", + "languageVersion": 2, + "scriptHash": "075e09eb0fa89e1dc34691b3c56a7f437e60ac5ea67b338f2e176e20" + } + , + { + "name": "Redeem Order Contract", + "version": 1, + "language": "PLUTUS", + "languageVersion": 2, + "scriptHash": "83da79f531c19f9ce4d85359f56968a742cf05cc25ed3ca48c302dee" + } + ] +} From 34c2e18a263c6e25b99c9998f8f04d1abec1a4c0 Mon Sep 17 00:00:00 2001 From: yashablack Date: Thu, 10 Aug 2023 13:05:48 +0300 Subject: [PATCH 2/2] fix: add contracts github links --- projects/spectrum-finance.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/projects/spectrum-finance.json b/projects/spectrum-finance.json index 0467e11..529687c 100644 --- a/projects/spectrum-finance.json +++ b/projects/spectrum-finance.json @@ -11,21 +11,24 @@ "version": 1, "language": "PLUTUS", "languageVersion": 2, - "scriptHash": "2618e94cdb06792f05ae9b1ec78b0231f4b7f4215b1b4cf52e6342de" + "scriptHash": "2618e94cdb06792f05ae9b1ec78b0231f4b7f4215b1b4cf52e6342de", + "github": "https://github.com/spectrum-finance/cardano-dex-contracts/blob/master/cardano-dex-contracts-onchain/ErgoDex/PContracts/PSwap.hs" }, { "name": "AMM Pool Contract", "version": 1, "language": "PLUTUS", "languageVersion": 2, - "scriptHash": "e628bfd68c07a7a38fcd7d8df650812a9dfdbee54b1ed4c25c87ffbf" + "scriptHash": "e628bfd68c07a7a38fcd7d8df650812a9dfdbee54b1ed4c25c87ffbf", + "github": "https://github.com/spectrum-finance/cardano-dex-contracts/blob/master/cardano-dex-contracts-onchain/ErgoDex/PContracts/PPool.hs" }, { "name": "Deposit Order Contract", "version": 1, "language": "PLUTUS", "languageVersion": 2, - "scriptHash": "075e09eb0fa89e1dc34691b3c56a7f437e60ac5ea67b338f2e176e20" + "scriptHash": "075e09eb0fa89e1dc34691b3c56a7f437e60ac5ea67b338f2e176e20", + "github": "https://github.com/spectrum-finance/cardano-dex-contracts/blob/master/cardano-dex-contracts-onchain/ErgoDex/PContracts/PDeposit.hs" } , { @@ -33,7 +36,8 @@ "version": 1, "language": "PLUTUS", "languageVersion": 2, - "scriptHash": "83da79f531c19f9ce4d85359f56968a742cf05cc25ed3ca48c302dee" + "scriptHash": "83da79f531c19f9ce4d85359f56968a742cf05cc25ed3ca48c302dee", + "github": "https://github.com/spectrum-finance/cardano-dex-contracts/blob/master/cardano-dex-contracts-onchain/ErgoDex/PContracts/PRedeem.hs" } ] }