From 3f5acda46bb009e20a6684a3c5f352e28b14184a Mon Sep 17 00:00:00 2001 From: Dekan Date: Thu, 13 Jun 2024 09:39:48 -0600 Subject: [PATCH] bump referrer --- src/components/UserDaos.tsx | 2 ++ src/legos/tx.ts | 1 + src/pages/Summon.tsx | 8 ++++---- src/utils/constants.ts | 14 +++++++------- src/utils/summonTx.ts | 4 ++-- 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/src/components/UserDaos.tsx b/src/components/UserDaos.tsx index 8f8105d..bd7f2d3 100644 --- a/src/components/UserDaos.tsx +++ b/src/components/UserDaos.tsx @@ -38,6 +38,8 @@ export const UserDaos = () => { return; } + console.log("fetching daos", NFT_DAO_REFERRER); + const fetchDaos = async () => { const query = await listDaos({ networkId: chainId as ValidNetwork, diff --git a/src/legos/tx.ts b/src/legos/tx.ts index b5d18a1..9745101 100644 --- a/src/legos/tx.ts +++ b/src/legos/tx.ts @@ -22,6 +22,7 @@ export const APP_TX = { contract: APP_CONTRACT.HOS_SUMMONER, method: "summonBaalFromReferrer", argCallback: "assembleCuratorSummonerArgs", + dissablePoll: true, // customPoll: { // fetch: pollLastTX, // test: testLastTX, diff --git a/src/pages/Summon.tsx b/src/pages/Summon.tsx index 8b588cd..03503f8 100644 --- a/src/pages/Summon.tsx +++ b/src/pages/Summon.tsx @@ -37,11 +37,11 @@ const Summon = () => { return ( - { console.log("poll success", result); @@ -52,13 +52,13 @@ const Summon = () => { setTxSuccess(true); } }} - /> + />)} {txSuccess && - Go to Topic List + Success! Go to Topic List to view your Hub. } ); diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 8b4a2ba..622e038 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -1,6 +1,6 @@ import { KeychainList } from "@daohaus/keychain-utils"; -export const NFT_DAO_REFERRER = "DHNFTCuratorShamanSummonerV0.3"; +export const NFT_DAO_REFERRER = "DHNFTCuratorShamanSummonerV0.4"; export const CURATOR_CONTRACTS: KeychainList = { FIXED_LOOT_SUMMONER: { @@ -12,7 +12,7 @@ export const CURATOR_CONTRACTS: KeychainList = { NFT_CURATOR_SUMMONER: { // "0x1": "0xb5a8838d27df4633894feaa4e5b902a874ec8e7e", // "0x5": "0x759ef79cfcc4f155052554ca7ff9c39b0e76abd1", - "0xa": "0xeece40a7492efe0598e466ff501530feaddd501d", + "0xa": "0x2b69ee1e97b80213547929efe4f0500bf5b43a56", "0xaa36a7": "0xd2ba2c50d16d35d6b8642a06b2c882f9fe790edd", // "0x70132cd79f90306bc68c1930f4364452a17aa552" // "0x4bb5d274dea3542bb836cba64bd7eed63233cb58" }, BASIC_HOS_SUMMONER: { @@ -44,7 +44,7 @@ export const CURATOR_CONTRACTS: KeychainList = { }, NFT_CURATOR_SINGLETON: { // "0x5": "0xb3dc8207075e9c7e78efb7148fb59b6f5da1dc28" - "0xa": "0xbde69c6e697580ba9e4d9ff0a10361ddb053aca2", + "0xa": "0xec0d1f8baed05ed6516fe0f9304566115f2dbbde", "0xaa36a7": "0x5dbC54D909eA0dAFc42A08CAE140e46Af388d451", // "0xec0d1f8baed05ed6516fe0f9304566115f2dbbde", // "0xeece40a7492efe0598e466ff501530feaddd501d", // "0x31cb4b142ed082147d4c71da0c3bbef0b6c0f3ae" }, CLAIM_SHAMAN_SINGLETON: { @@ -90,10 +90,10 @@ export const SHARE_SYMBOL = "sVOTE"; export const LOOT_NAME = "Community Power"; export const LOOT_SYMBOL = "sLOOT"; export const DEFAULT_SUMMON_VALUES = { - //votingPeriodInSeconds: 259200, - votingPeriodInSeconds: 666, - // gracePeriodInSeconds: 172800, - gracePeriodInSeconds: 6, + votingPeriodInSeconds: 259200, + // votingPeriodInSeconds: 666, + gracePeriodInSeconds: 172800, + // gracePeriodInSeconds: 6, newOffering: "10000000000000000", quorum: "20", sponsorThreshold: SHARE_PER_NFT, diff --git a/src/utils/summonTx.ts b/src/utils/summonTx.ts index 08b24bc..f1d643c 100644 --- a/src/utils/summonTx.ts +++ b/src/utils/summonTx.ts @@ -396,8 +396,8 @@ const assembleInitActions = ({ initActions = [ governanceConfigTX(DEFAULT_SUMMON_VALUES), metadataConfigTX(formValues, memberAddress, POSTER.toLowerCase()), - // tokenConfigTX(), - // tokenDistroTX(formValues, memberAddress), + tokenConfigTX(), + tokenDistroTX(formValues, memberAddress), // this will not be indexed as is. move intro post to metadataConfigTX // introPostConfigTX(formValues, memberAddress, POSTER.toLowerCase(), chainId), ];