2019-07-25 23:06:23 +01:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package rewards
|
|
|
|
|
2020-03-30 10:08:50 +01:00
|
|
|
import "storj.io/common/uuid"
|
2019-11-26 11:12:37 +00:00
|
|
|
|
2019-11-05 12:58:09 +00:00
|
|
|
// DefaultPartnersDB is current default settings.
|
|
|
|
var DefaultPartnersDB = func() PartnersDB {
|
|
|
|
list := DefaultPartners()
|
|
|
|
db, err := NewPartnersStaticDB(&list)
|
|
|
|
if err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
|
|
|
return db
|
|
|
|
}()
|
2019-07-25 23:06:23 +01:00
|
|
|
|
2019-11-26 11:12:37 +00:00
|
|
|
// parseUUID parse string to UUID, should be used ONLY with hardcoded partner UUID's.
|
2020-04-02 13:30:43 +01:00
|
|
|
func parseUUID(s string) uuid.UUID {
|
|
|
|
u, err := uuid.FromString(s)
|
2019-11-26 11:12:37 +00:00
|
|
|
if err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
|
|
|
return u
|
|
|
|
}
|
|
|
|
|
2019-11-05 12:58:09 +00:00
|
|
|
// DefaultPartners lists Storj default open-source partners.
|
|
|
|
func DefaultPartners() PartnerList {
|
|
|
|
return PartnerList{
|
|
|
|
Partners: []PartnerInfo{{
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Blocknify",
|
|
|
|
ID: "120bf202-8252-437e-ac12-0e364bee852e",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("120bf202-8252-437e-ac12-0e364bee852e"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Breaker",
|
|
|
|
ID: "53688ea5-8695-4060-a2c6-b56969217909",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("53688ea5-8695-4060-a2c6-b56969217909"),
|
2020-06-10 20:14:45 +01:00
|
|
|
}, {
|
|
|
|
Name: "CloudBloq",
|
|
|
|
ID: "ba1feac3-5457-4fd0-bba3-9c7e673902ca",
|
|
|
|
UUID: parseUUID("ba1feac3-5457-4fd0-bba3-9c7e673902ca"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Confluent",
|
|
|
|
ID: "2fb801c6-a6d7-4d82-a838-32fef98cc398",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("2fb801c6-a6d7-4d82-a838-32fef98cc398"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Consensys",
|
|
|
|
ID: "e28c8847-b323-4a7d-8111-25a0578a58bb",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("e28c8847-b323-4a7d-8111-25a0578a58bb"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-07-25 23:06:23 +01:00
|
|
|
Name: "Couchbase",
|
2019-08-14 14:55:12 +01:00
|
|
|
ID: "0af89ac1-0189-42c6-a47c-e169780b3818",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("0af89ac1-0189-42c6-a47c-e169780b3818"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Digital Ocean",
|
|
|
|
ID: "881b92f6-77aa-42ee-961a-b80009d45dd8",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("881b92f6-77aa-42ee-961a-b80009d45dd8"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Deloitte",
|
|
|
|
ID: "cadac3fb-6a3f-4d17-9748-cc66d0617d55",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("cadac3fb-6a3f-4d17-9748-cc66d0617d55"),
|
2020-07-14 17:49:48 +01:00
|
|
|
}, {
|
|
|
|
Name: "Duplicati",
|
|
|
|
ID: "261e368e-d888-4d8e-8aa7-694aed20043a",
|
|
|
|
UUID: parseUUID("261e368e-d888-4d8e-8aa7-694aed20043a"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "DVLabs",
|
|
|
|
ID: "53fb82d7-73ff-4a1a-ab0c-6968cffc850e",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("53fb82d7-73ff-4a1a-ab0c-6968cffc850e"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Fluree",
|
|
|
|
ID: "86c33256-cded-434c-aaac-405343974394",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("86c33256-cded-434c-aaac-405343974394"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Flexential",
|
|
|
|
ID: "3e1b911a-c778-47ea-878c-9f3f264f8bc1",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("3e1b911a-c778-47ea-878c-9f3f264f8bc1"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Heroku",
|
|
|
|
ID: "706011f3-400e-45eb-a796-90cce2a7d67e",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("706011f3-400e-45eb-a796-90cce2a7d67e"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Infura",
|
|
|
|
ID: "1519bdee-ed18-45fe-86c6-4c7fa9668a14",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("1519bdee-ed18-45fe-86c6-4c7fa9668a14"),
|
2020-08-27 19:29:54 +01:00
|
|
|
}, {
|
|
|
|
Name: "Innovoedge",
|
|
|
|
ID: "bc1276a5-4ba8-4761-a164-e5a4a9f8593c",
|
|
|
|
UUID: parseUUID("bc1276a5-4ba8-4761-a164-e5a4a9f8593c"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "GroundX",
|
|
|
|
ID: "e56c6a65-d5bf-457a-a414-e55c36624f73",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("e56c6a65-d5bf-457a-a414-e55c36624f73"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "MariaDB",
|
|
|
|
ID: "8ee019ef-2aae-4867-9c18-41c65ea318c4",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("8ee019ef-2aae-4867-9c18-41c65ea318c4"),
|
2020-11-16 09:02:54 +00:00
|
|
|
}, {
|
|
|
|
Name: "MAXN",
|
|
|
|
ID: "3934efec-2857-4703-8ce3-aabf2d3285c4",
|
|
|
|
UUID: parseUUID("3934efec-2857-4703-8ce3-aabf2d3285c4"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-26 13:19:19 +01:00
|
|
|
Name: "MongoDB",
|
|
|
|
ID: "bbd340b2-0ae4-4254-af90-eaba6c273abb",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("bbd340b2-0ae4-4254-af90-eaba6c273abb"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Netki",
|
|
|
|
ID: "3405a882-0cb2-4f91-a6e0-21be193b80e5",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("3405a882-0cb2-4f91-a6e0-21be193b80e5"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-07-25 23:06:23 +01:00
|
|
|
Name: "FileZilla",
|
2019-08-14 14:55:12 +01:00
|
|
|
ID: "a1ba07a4-e095-4a43-914c-1d56c9ff5afd",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("a1ba07a4-e095-4a43-914c-1d56c9ff5afd"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-07-25 23:06:23 +01:00
|
|
|
Name: "InfluxDB",
|
2019-08-14 14:55:12 +01:00
|
|
|
ID: "e50a17b3-4d82-4da7-8719-09312a83685d",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("e50a17b3-4d82-4da7-8719-09312a83685d"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Mysterium Network",
|
|
|
|
ID: "c10228c2-af70-4e4d-be49-e8bfbe9ca8ef",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("c10228c2-af70-4e4d-be49-e8bfbe9ca8ef"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-07-25 23:06:23 +01:00
|
|
|
Name: "Kafka",
|
|
|
|
ID: "OSPP005",
|
2020-08-27 19:29:54 +01:00
|
|
|
}, {
|
|
|
|
Name: "Kesque",
|
|
|
|
ID: "c6b01830-920c-4895-93f5-c0bd74fb44d8",
|
|
|
|
UUID: parseUUID("c6b01830-920c-4895-93f5-c0bd74fb44d8"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-07-25 23:06:23 +01:00
|
|
|
Name: "Minio",
|
2019-08-14 14:55:12 +01:00
|
|
|
ID: "5bffe844-5da7-4aa9-bf37-7d695cf819f2",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("5bffe844-5da7-4aa9-bf37-7d695cf819f2"),
|
2020-08-27 19:29:54 +01:00
|
|
|
}, {
|
|
|
|
Name: "MSP360",
|
|
|
|
ID: "f184948c-06e8-4edb-9a19-96667572d120",
|
|
|
|
UUID: parseUUID("f184948c-06e8-4edb-9a19-96667572d120"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-07-25 23:06:23 +01:00
|
|
|
Name: "Nextcloud",
|
2019-08-14 14:55:12 +01:00
|
|
|
ID: "42f588fb-f39d-4886-81af-b614ca16ce37",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("42f588fb-f39d-4886-81af-b614ca16ce37"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Node Haven",
|
|
|
|
ID: "3b53a9b3-2005-476c-9ffd-894ed832abe4",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("3b53a9b3-2005-476c-9ffd-894ed832abe4"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-07-25 23:06:23 +01:00
|
|
|
Name: "Plesk",
|
2019-08-14 14:55:12 +01:00
|
|
|
ID: "dc01ed96-2990-4819-9cb3-45d4846b9ad1",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("dc01ed96-2990-4819-9cb3-45d4846b9ad1"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-07-25 23:06:23 +01:00
|
|
|
Name: "Pydio",
|
2019-08-14 14:55:12 +01:00
|
|
|
ID: "b02b9f0d-fac7-439c-8ba2-0c4634d5826f",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("b02b9f0d-fac7-439c-8ba2-0c4634d5826f"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Raiden Network",
|
|
|
|
ID: "57855387-5a58-4a2b-97d2-15b1d76eea3c",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("57855387-5a58-4a2b-97d2-15b1d76eea3c"),
|
2020-07-02 19:15:30 +01:00
|
|
|
}, {
|
|
|
|
Name: "Rclone",
|
|
|
|
ID: "f746681d-91c1-4226-85c5-0cea4b66473b",
|
|
|
|
UUID: parseUUID("f746681d-91c1-4226-85c5-0cea4b66473b"),
|
2020-08-27 19:29:54 +01:00
|
|
|
}, {
|
|
|
|
Name: "Restic",
|
|
|
|
ID: "c59d86e9-3d23-406c-a97a-9751b552df75",
|
|
|
|
UUID: parseUUID("c59d86e9-3d23-406c-a97a-9751b552df75"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Satoshi Soup",
|
|
|
|
ID: "4400d796-3777-4964-8536-22a4ae439ed3",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("4400d796-3777-4964-8536-22a4ae439ed3"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Sirin Labs",
|
|
|
|
ID: "6e40f882-ef77-4a5d-b5ad-18525d3df023",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("6e40f882-ef77-4a5d-b5ad-18525d3df023"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Status Messenger",
|
|
|
|
ID: "b6114126-c06d-49f9-8d23-3e0dd2e350ab",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("b6114126-c06d-49f9-8d23-3e0dd2e350ab"),
|
2020-08-27 19:29:54 +01:00
|
|
|
}, {
|
|
|
|
Name: "Taloflow",
|
|
|
|
ID: "72ef94a4-c8ab-49fa-b5f1-4824532c4205",
|
|
|
|
UUID: parseUUID("72ef94a4-c8ab-49fa-b5f1-4824532c4205"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Temporal",
|
|
|
|
ID: "aeedbe32-1519-4320-b2f4-33725c65af54",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("aeedbe32-1519-4320-b2f4-33725c65af54"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-08-14 14:55:12 +01:00
|
|
|
Name: "Terminal.co",
|
|
|
|
ID: "7bf23e53-6393-4bd0-8bf9-53ecf0de742f",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("7bf23e53-6393-4bd0-8bf9-53ecf0de742f"),
|
2020-09-29 13:30:46 +01:00
|
|
|
}, {
|
|
|
|
Name: "Videocoin",
|
|
|
|
ID: "76db19c1-f777-4334-912c-1d3e563e4e21",
|
|
|
|
UUID: parseUUID("76db19c1-f777-4334-912c-1d3e563e4e21"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}, {
|
2019-07-25 23:06:23 +01:00
|
|
|
Name: "Zenko",
|
2019-08-14 14:55:12 +01:00
|
|
|
ID: "8cd605fa-ad00-45b6-823e-550eddc611d6",
|
2019-11-26 11:12:37 +00:00
|
|
|
UUID: parseUUID("8cd605fa-ad00-45b6-823e-550eddc611d6"),
|
2019-11-05 12:58:09 +00:00
|
|
|
}},
|
2019-07-31 17:01:18 +01:00
|
|
|
}
|
|
|
|
}
|