-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
146 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
LIL_NOUNS_DISCORD_WEBHOOK_URL= | ||
LIL_NOUNS_WARP_CAST_TOKEN= | ||
# Discord Webhook and Warp Cast Token Settings | ||
|
||
META_GOV_DISCORD_WEBHOOK_URL= | ||
META_GOV_WARP_CAST_TOKEN= | ||
# Lil Nouns Settings | ||
LIL_NOUNS_DISCORD_WEBHOOK_URL="" | ||
LIL_NOUNS_WARP_CAST_TOKEN="" | ||
|
||
PROP_HOUSE_DISCORD_WEBHOOK_URL= | ||
PROP_HOUSE_WARP_CAST_TOKEN= | ||
# Meta Gov Settings | ||
META_GOV_DISCORD_WEBHOOK_URL="" | ||
META_GOV_WARP_CAST_TOKEN="" | ||
|
||
PROP_LOT_DISCORD_WEBHOOK_URL= | ||
PROP_LOT_WARP_CAST_TOKEN= | ||
# Prop House Settings | ||
PROP_HOUSE_DISCORD_WEBHOOK_URL="" | ||
PROP_HOUSE_WARP_CAST_TOKEN="" | ||
|
||
# Prop Lot Settings | ||
PROP_LOT_DISCORD_WEBHOOK_URL="" | ||
PROP_LOT_WARP_CAST_TOKEN="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
/report.* | ||
/node_modules | ||
/.wrangler | ||
/.*.vars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Contributing | ||
|
||
Thank you for considering contributing! Your efforts are highly valued. | ||
|
||
## Questions | ||
|
||
Use the [Issues](https://github.com/lilnouns/lilnouns-bots/issues) section for questions after checking existing issues | ||
and | ||
online resources. | ||
|
||
## Contributions | ||
|
||
Legal Notice: Ensure you have the rights to your contributions and agree to license them under this project's terms. | ||
|
||
### Bug Reports | ||
|
||
Before reporting, ensure you're using the latest version and check | ||
existing [bug reports](https://github.com/lilnouns/lilnouns-bots/issues?q=label%3Abug). | ||
Provide details like stack trace, OS, and how to reproduce the issue. | ||
|
||
### Feature Requests | ||
|
||
Make a strong case for the utility of the feature to most users. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,124 @@ | ||
# Project Identification | ||
name = "lilnouns-bots" | ||
main = "build/worker/shim.mjs" | ||
compatibility_date = "2023-03-22" | ||
|
||
# Worker Settings | ||
workers_dev = false | ||
logpush = true | ||
usage_model = "unbound" | ||
|
||
# Build Settings | ||
[build] | ||
command = "cargo install -q -f worker-build && worker-build --release" | ||
|
||
# Trigger Settings | ||
[triggers] | ||
crons = ["*/5 * * * *"] | ||
|
||
# Default KV Namespace | ||
[[kv_namespaces]] | ||
binding = "CACHE" | ||
id = "6456908fdbcf4ce1b89b3028a5bbbe87" | ||
|
||
# Global Variables | ||
[vars] | ||
# Ethereum Settings | ||
ETHEREUM_MAINNET_RPC_URL = "https://eth.llamarpc.com" | ||
|
||
# Link Generator Settings | ||
LINK_GENERATOR_ENDPOINT = "https://lilnouns.click" | ||
|
||
# Lil Nouns Settings | ||
LIL_NOUNS_ENABLED = "false" | ||
LIL_NOUNS_DISCORD_ENABLED = "true" | ||
LIL_NOUNS_FARCASTER_ENABLED = "false" | ||
LIL_NOUNS_BASE_URL = "https://lilnouns.wtf/vote" | ||
LIL_NOUNS_GRAPHQL_URL = "https://api.goldsky.com/api/public/project_cldjvjgtylso13swq3dre13sf/subgraphs/lil-nouns-subgraph/1.0.4/gn" | ||
LIL_NOUNS_WARP_CAST_CHANNEL = "" | ||
|
||
# Meta Gov Settings | ||
META_GOV_ENABLED = "false" | ||
META_GOV_DISCORD_ENABLED = "true" | ||
META_GOV_FARCASTER_ENABLED = "false" | ||
META_GOV_BASE_URL = "https://lilnouns.wtf/vote/nounsdao" | ||
META_GOV_SNAPSHOT_GRAPHQL_URL = "https://hub.snapshot.org/graphql" | ||
META_GOV_SNAPSHOT_SPACE_ID = "leagueoflils.eth" | ||
META_GOV_WARP_CAST_CHANNEL = "" | ||
|
||
# Prop House Settings | ||
PROP_HOUSE_ENABLED = "true" | ||
PROP_HOUSE_DISCORD_ENABLED = "true" | ||
PROP_HOUSE_FARCASTER_ENABLED = "false" | ||
PROP_HOUSE_BASE_URL = "https://prop.house/lil-nouns" | ||
PROP_HOUSE_COMMUNITY_ID = "2" | ||
PROP_HOUSE_GRAPHQL_URL = "https://prod.backend.prop.house/graphql" | ||
PROP_HOUSE_WARP_CAST_CHANNEL = "" | ||
|
||
# Prop Lot Settings | ||
PROP_LOT_ENABLED = "true" | ||
PROP_LOT_DISCORD_ENABLED = "true" | ||
PROP_LOT_FARCASTER_ENABLED = "false" | ||
PROP_LOT_BASE_URL = "https://lilnouns.proplot.wtf" | ||
PROP_LOT_GRAPHQL_URL = "https://lilnouns.proplot.wtf/api/graphql" | ||
PROP_LOT_WARP_CAST_CHANNEL = "" | ||
|
||
# KV Store Settings | ||
KV_STORE_NAME = "CACHE" | ||
|
||
# Environment: Development | ||
[env.dev] | ||
|
||
# KV Namespaces for Development | ||
[[env.dev.kv_namespaces]] | ||
binding = "CACHE" | ||
id = "c193c4943cd5475196cd5bdd3298a8ff" | ||
|
||
# Variables for Development | ||
[env.dev.vars] | ||
KV_STORE_NAME = "CACHE" | ||
# Ethereum Settings | ||
ETHEREUM_MAINNET_RPC_URL = "https://eth.llamarpc.com" | ||
|
||
# Link Generator Settings | ||
LINK_GENERATOR_ENDPOINT = "https://lilnouns.click" | ||
|
||
# Lil Nouns Settings | ||
LIL_NOUNS_ENABLED = "true" | ||
LIL_NOUNS_DISCORD_ENABLED = "true" | ||
LIL_NOUNS_FARCASTER_ENABLED = "true" | ||
LIL_NOUNS_WARP_CAST_CHANNEL = "" | ||
LIL_NOUNS_BASE_URL = "https://lilnouns.wtf/vote" | ||
LIL_NOUNS_GRAPHQL_URL = "https://api.goldsky.com/api/public/project_cldjvjgtylso13swq3dre13sf/subgraphs/lil-nouns-subgraph/1.0.4/gn" | ||
LIL_NOUNS_WARP_CAST_CHANNEL = "" | ||
|
||
# Meta Gov Settings | ||
META_GOV_ENABLED = "true" | ||
META_GOV_DISCORD_ENABLED = "true" | ||
META_GOV_FARCASTER_ENABLED = "true" | ||
META_GOV_WARP_CAST_CHANNEL = "" | ||
META_GOV_BASE_URL = "https://lilnouns.wtf/vote/nounsdao" | ||
META_GOV_SNAPSHOT_GRAPHQL_URL = "https://hub.snapshot.org/graphql" | ||
META_GOV_SNAPSHOT_SPACE_ID = "leagueoflils.eth" | ||
META_GOV_WARP_CAST_CHANNEL = "" | ||
|
||
# Prop House Settings | ||
PROP_HOUSE_ENABLED = "true" | ||
PROP_HOUSE_DISCORD_ENABLED = "true" | ||
PROP_HOUSE_FARCASTER_ENABLED = "true" | ||
PROP_HOUSE_WARP_CAST_CHANNEL = "" | ||
PROP_HOUSE_BASE_URL = "https://prop.house/lil-nouns" | ||
PROP_HOUSE_COMMUNITY_ID = "2" | ||
PROP_HOUSE_GRAPHQL_URL = "https://prod.backend.prop.house/graphql" | ||
PROP_HOUSE_WARP_CAST_CHANNEL = "" | ||
|
||
# Prop Lot Settings | ||
PROP_LOT_ENABLED = "true" | ||
PROP_LOT_DISCORD_ENABLED = "true" | ||
PROP_LOT_FARCASTER_ENABLED = "true" | ||
PROP_LOT_WARP_CAST_CHANNEL = "" | ||
PROP_LOT_BASE_URL = "https://lilnouns.proplot.wtf" | ||
PROP_LOT_GRAPHQL_URL = "https://lilnouns.proplot.wtf/api/graphql" | ||
ETHEREUM_MAINNET_RPC_URL = "https://eth.llamarpc.com" | ||
LINK_GENERATOR_ENDPOINT = "https://lilnouns.click" | ||
PROP_LOT_WARP_CAST_CHANNEL = "" | ||
|
||
# KV Store Settings | ||
KV_STORE_NAME = "CACHE" | ||
|
||
# Analytics Engine Datasets for Development | ||
[[env.dev.analytics_engine_datasets]] | ||
binding = "METRICS" |