From d022e80a4b34eccd4465c14a050a361554a47638 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Fri, 30 Sep 2022 15:44:19 -0700 Subject: [PATCH 1/9] Add new bounty --- docs/content/bounty/0.md | 5 ++++- docs/content/bounty/1.md | 5 ++++- docs/content/bounty/2.md | 6 ++++++ docs/content/bounty/{index.md => _index.md} | 11 ++--------- docs/templates/bounty.html | 9 +++++++++ docs/templates/index.html | 18 ++++++++++++++++-- docs/templates/page.html | 1 - docs/templates/section.html | 14 ++++++++++++++ 8 files changed, 55 insertions(+), 14 deletions(-) create mode 100644 docs/content/bounty/2.md rename docs/content/bounty/{index.md => _index.md} (87%) create mode 100644 docs/templates/bounty.html create mode 100644 docs/templates/section.html diff --git a/docs/content/bounty/0.md b/docs/content/bounty/0.md index 1dfb34c7f5..bb14e2944f 100644 --- a/docs/content/bounty/0.md +++ b/docs/content/bounty/0.md @@ -1,5 +1,8 @@ +++ -title = "Ordinal Bounty 0" +title = "Bounty 0" +date = 2022-08-19 +[extra] +claimed = true +++ Send an ordinal whose number ends with a zero: diff --git a/docs/content/bounty/1.md b/docs/content/bounty/1.md index d5f98bde7e..dcc5a50f4d 100644 --- a/docs/content/bounty/1.md +++ b/docs/content/bounty/1.md @@ -1,5 +1,8 @@ +++ -title = "Ordinal Bounty 1" +title = "Bounty 1" +date = 2022-08-24 +[extra] +claimed = true +++ The transaction that submits a UTXO containing the oldest ordinal, i.e., that with the lowest number, amongst all submitted UTXOs will be judged the winner. diff --git a/docs/content/bounty/2.md b/docs/content/bounty/2.md new file mode 100644 index 0000000000..764c36d982 --- /dev/null +++ b/docs/content/bounty/2.md @@ -0,0 +1,6 @@ ++++ +title = "Bounty 2" +date = 2022-10-03 +[extra] +claimed = false ++++ diff --git a/docs/content/bounty/index.md b/docs/content/bounty/_index.md similarity index 87% rename from docs/content/bounty/index.md rename to docs/content/bounty/_index.md index 62949e6221..a63c22f097 100644 --- a/docs/content/bounty/index.md +++ b/docs/content/bounty/_index.md @@ -1,15 +1,8 @@ +++ title = "Bounties" +page_template = "bounty.html" +sort_by = "date" +++ - -Next bounty coming soon! 🤠 - -Claimed Bounties ----------------- - -- [Bounty 0](0/) -- [Bounty 1](1/) - Hints ----- diff --git a/docs/templates/bounty.html b/docs/templates/bounty.html new file mode 100644 index 0000000000..1ce0c6b34f --- /dev/null +++ b/docs/templates/bounty.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} +

{{ page.title }}

+{{ page.content | safe }} + +{% set section = get_section(path=page.ancestors | last) %} +{{ section.content | safe }} +{% endblock content %} diff --git a/docs/templates/index.html b/docs/templates/index.html index 5da77f35b5..b3d37a3d63 100644 --- a/docs/templates/index.html +++ b/docs/templates/index.html @@ -1,11 +1,25 @@ {% extends "base.html" %} {% block content %} +

Ordinal Docs

+ + + +{% for path in section.subsections %} +{% set section = get_section(path=path) %} +

{{ section.title }}

+{% endfor %} {% endblock content %} diff --git a/docs/templates/page.html b/docs/templates/page.html index 80424c428e..0ea71d760c 100644 --- a/docs/templates/page.html +++ b/docs/templates/page.html @@ -2,6 +2,5 @@ {% block content %}

{{ page.title }}

-

{{ page.date }}

{{ page.content | safe }} {% endblock content %} diff --git a/docs/templates/section.html b/docs/templates/section.html new file mode 100644 index 0000000000..8521e6967d --- /dev/null +++ b/docs/templates/section.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% block content %} +

{{ section.title }}

+ +{{ section.content | safe }} +{% endblock content %} From 8edafa0707a582ad623a6b24771b011f9ff3277b Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sun, 2 Oct 2022 22:08:04 -0700 Subject: [PATCH 2/9] Finish --- docs/content/bounty/0.md | 23 +++++++++++---- docs/content/bounty/1.md | 21 +++++++++++--- docs/content/bounty/2.md | 29 ++++++++++++++++++- docs/content/bounty/_index.md | 2 ++ .../templates/{section.html => bounties.html} | 8 +++-- docs/templates/index.html | 14 ++------- static/index.css | 4 +++ 7 files changed, 77 insertions(+), 24 deletions(-) rename docs/templates/{section.html => bounties.html} (54%) diff --git a/docs/content/bounty/0.md b/docs/content/bounty/0.md index bb14e2944f..1d7fec5161 100644 --- a/docs/content/bounty/0.md +++ b/docs/content/bounty/0.md @@ -2,9 +2,14 @@ title = "Bounty 0" date = 2022-08-19 [extra] -claimed = true +status = "claimed" +reward = "100,000 sats" +++ -Send an ordinal whose number ends with a zero: + +Criteria +-------- + +Send an ordinal whose number ends with a zero to the submission address: ✅: [1857578125803250](/ordinal/1857578125803250) @@ -12,9 +17,17 @@ Send an ordinal whose number ends with a zero: The ordinal must be the first ordinal of the output you send. -Reward: 100,000 sats +Reward +------ + +100,000 sats + +Submission Address +------------------ -Address: [`1PE7u4wbDP2RqfKN6geD1bG57v9Gj9FXm3`](https://mempool.space/address/1PE7u4wbDP2RqfKN6geD1bG57v9Gj9FXm3) -Status: Claimed by [@count_null](https://twitter.com/rodarmor/status/1560793241473400833)! +Status +------ + +Claimed by [@count_null](https://twitter.com/rodarmor/status/1560793241473400833)! diff --git a/docs/content/bounty/1.md b/docs/content/bounty/1.md index dcc5a50f4d..588da10708 100644 --- a/docs/content/bounty/1.md +++ b/docs/content/bounty/1.md @@ -2,8 +2,13 @@ title = "Bounty 1" date = 2022-08-24 [extra] -claimed = true +status = "claimed" +reward = "200,000 sats" +++ + +Criteria +-------- + The transaction that submits a UTXO containing the oldest ordinal, i.e., that with the lowest number, amongst all submitted UTXOs will be judged the winner. @@ -11,9 +16,17 @@ The bounty is open for submissions until block 753984—the first block of difficulty adjustment period 374. Submissions included in block 753984 or later will not be considered. -Reward: 200,000 sats +Reward +------ + +200,000 sats + +Submission Address +------------------ -Address: [`145Z7PFHyVrwiMWwEcUmDgFbmUbQSU9aap`](https://mempool.space/address/145Z7PFHyVrwiMWwEcUmDgFbmUbQSU9aap) -Status: Claimed by [@ordinalsindex](https://twitter.com/rodarmor/status/1569883266508853251)! +Status +------ + +Claimed by [@ordinalsindex](https://twitter.com/rodarmor/status/1569883266508853251)! diff --git a/docs/content/bounty/2.md b/docs/content/bounty/2.md index 764c36d982..feadd28c22 100644 --- a/docs/content/bounty/2.md +++ b/docs/content/bounty/2.md @@ -2,5 +2,32 @@ title = "Bounty 2" date = 2022-10-03 [extra] -claimed = false +status = "unclaimed" +reward = "300,000 sats" +++ + +Criteria +-------- + +Send an uncommon ordinal to the submission address: + +✅: [347100000000000](/ordinal/347100000000000) + +❌: [6685000001337](/ordinal/6685000001337) + +Confirm that the submission address has not received transactions before submitting your entry. Only the first successful submission will receive the reward. + +Reward +------ + +300,000 sats + +Submission Address +------------------ + +[`1Hyr94uypwWq5CQffaXHvwUMEyBPp3TUZH`](https://mempool.space/address/1Hyr94uypwWq5CQffaXHvwUMEyBPp3TUZH) + +Status +------ + +Unclaimed! diff --git a/docs/content/bounty/_index.md b/docs/content/bounty/_index.md index a63c22f097..9217bfb304 100644 --- a/docs/content/bounty/_index.md +++ b/docs/content/bounty/_index.md @@ -1,8 +1,10 @@ +++ title = "Bounties" page_template = "bounty.html" +template = "bounties.html" sort_by = "date" +++ + Hints ----- diff --git a/docs/templates/section.html b/docs/templates/bounties.html similarity index 54% rename from docs/templates/section.html rename to docs/templates/bounties.html index 8521e6967d..65b923bc84 100644 --- a/docs/templates/section.html +++ b/docs/templates/bounties.html @@ -1,12 +1,16 @@ {% extends "base.html" %} {% block content %}

{{ section.title }}

-