Skip to content

Commit

Permalink
Update MUD world
Browse files Browse the repository at this point in the history
  • Loading branch information
codynhat committed Apr 29, 2024
1 parent ba3cd00 commit f0cdfa0
Show file tree
Hide file tree
Showing 5 changed files with 1,061 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .env.testnet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VITE_NETWORK_ID = 11155420
VITE_BLOCK_EXPLORER = "https://sepolia-optimism.etherscan.io/"
VITE_WORLD_ADDRESS = 0x74d3cb0f25de0b8349324fc49d7947a6b8e35ea9
VITE_WORLD_BLOCK_NUMBER = 9685561
VITE_WORLD_ADDRESS = 0x9a2a2f21295da1f3ec107774784d206db574072e
VITE_WORLD_BLOCK_NUMBER = 11279237
VITE_SPATIAL_DOMAIN = "https://testnet.geoweb.app/"
VITE_GRAPH_URI=https://gateway-arbitrum.network.thegraph.com/api/6f359a9519137a5048fdc3d24f78f630/subgraphs/id/Dv2u1QabAxCxjN59putrh24pLPuBCy8PidbEc4fZBFAo
VITE_IPFS_GATEWAY = https://gateway.pinata.cloud/ipfs
Expand All @@ -20,5 +20,5 @@ VITE_SUPERFLUID_RESOLVER_ADDRESS = 0x554c06487bEc8c890A0345eb05a5292C1b1017Bd
VITE_GDA_CONTRACT_ADDRESS = 0xd453d38A001B47271488886532f1CCeAbf0c7eF3
VITE_SQF_STRATEGY_ADDRESS = 0x51dfecdcf09bbe18e875e58120322de8622e818f
VITE_ALLO_POOL_ID = 26
VITE_GALLERY_MODEL_AUGMENT_ADDRESS=0xC8d51FD35D9054b08Ee3b630CF7F3d186C8dFe49
VITE_MODEL_AUGMENT_ADDRESS=0x9922C084543443dB278E207bB670451060f237d5
VITE_GALLERY_MODEL_AUGMENT_ADDRESS=0x7eCED86efE23707226DaAa2754C215d23B2bdA86
VITE_GEO_ANCHOR_MODEL_AUGMENT_ADDRESS=0xC33bAC8dc0699FA6766082063cAE852bBA44d9Fd
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@apollo/client": "^3.8.9",
"@didtools/cacao": "^1.1.0",
"@didtools/pkh-ethereum": "^0.0.3",
"@geo-web/mud-world-base-contracts": "0.3.0",
"@geo-web/mud-world-base-contracts": "0.4.1",
"@geo-web/mud-world-base-setup": "0.4.3",
"@geo-web/sdk": "^4.4.0",
"@mapbox/mapbox-gl-geocoder": "^5.0.2",
Expand Down
4 changes: 2 additions & 2 deletions src/components/cadastre/publisher/AugmentPublisher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from "../../../hooks/geo-web-content/world";
import { ParcelInfoProps } from "../cards/ParcelInfo";
import { STATE } from "../Map";
import { MODEL_AUGMENT_ADDRESS } from "../../../lib/constants";
import { GEO_ANCHOR_MODEL_AUGMENT_ADDRESS } from "../../../lib/constants";

export enum AugmentType {
MODEL = "3D Model",
Expand All @@ -23,7 +23,7 @@ export enum AugmentType {
export function getAugmentAddress(augmentType: AugmentType) {
switch (augmentType) {
default:
return MODEL_AUGMENT_ADDRESS;
return GEO_ANCHOR_MODEL_AUGMENT_ADDRESS;
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const VIZ_ANIMATION_DURATION = MS_PER_SECOND * 3;
export const VIZ_CARD_WIDTH_SOURCE = 230;
export const VIZ_CARD_WIDTH_GRANTEE = 290;

export const MODEL_AUGMENT_ADDRESS = import.meta.env
.VITE_MODEL_AUGMENT_ADDRESS!;
export const GEO_ANCHOR_MODEL_AUGMENT_ADDRESS = import.meta.env
.VITE_GEO_ANCHOR_MODEL_AUGMENT_ADDRESS!;
export const GALLERY_MODEL_AUGMENT_ADDRESS = import.meta.env
.VITE_GALLERY_MODEL_AUGMENT_ADDRESS!;
Loading

0 comments on commit f0cdfa0

Please sign in to comment.