Skip to content

Commit

Permalink
Merge pull request #126 from moonstream-to/api-changes-0.1.0
Browse files Browse the repository at this point in the history
Api changes for contract version 0.1.0.
  • Loading branch information
kellan-simiotics authored Dec 21, 2023
2 parents dd3f782 + ea2d057 commit 52a6d2f
Show file tree
Hide file tree
Showing 5 changed files with 264 additions and 14 deletions.
2 changes: 1 addition & 1 deletion api/queries/pitch_distribution.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ with dedup_events as (
DISTINCT ON(transaction_hash, log_index) *
FROM wyrm_labels
WHERE label='moonworm-alpha'
AND address='0xde191e8c352BA59F95cf19f0931cCbBcc7B60934'
AND address='0x9270df8d907A99E5024dc3532657a5cF9C7A4889'
AND log_index IS NOT NULL
), SessionResolved as (
SELECT
Expand Down
2 changes: 1 addition & 1 deletion api/queries/player_stats.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ with dedup_events as (
DISTINCT ON(transaction_hash, log_index) *
FROM wyrm_labels
WHERE label='moonworm-alpha'
AND address='0xde191e8c352BA59F95cf19f0931cCbBcc7B60934'
AND address='0x9270df8d907A99E5024dc3532657a5cF9C7A4889'
AND log_index IS NOT NULL
), SessionResolved as (
SELECT
Expand Down
2 changes: 1 addition & 1 deletion api/queries/swing_distribution.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ with dedup_events as (
DISTINCT ON(transaction_hash, log_index) *
FROM wyrm_labels
WHERE label='moonworm-alpha'
AND address='0xde191e8c352BA59F95cf19f0931cCbBcc7B60934'
AND address='0x9270df8d907A99E5024dc3532657a5cF9C7A4889'
AND log_index IS NOT NULL
), SessionResolved as (
SELECT
Expand Down
2 changes: 1 addition & 1 deletion api/src/narrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const wyrm = defineChain({
});

// Contract address
const FullcountContractAddress = "0xde191e8c352BA59F95cf19f0931cCbBcc7B60934";
const FullcountContractAddress = "0x9270df8d907A99E5024dc3532657a5cF9C7A4889";

// ABIs
const FullcountSessionABI = [
Expand Down
Loading

0 comments on commit 52a6d2f

Please sign in to comment.