Skip to content

Commit 6150b7a

Browse files
committed
wip: remove orbs, fix contract verify
1 parent 93eac2a commit 6150b7a

11 files changed

Lines changed: 70 additions & 98 deletions

package-lock.json

Lines changed: 13 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"@tact-lang/opcode": "^0.3.2",
2727
"@tanstack/react-query": "^5.90.12",
2828
"@ton-community/func-js": "^0.3.0",
29-
"@tonconnect/ui-react": "^1.0.0-beta.6",
3029
"@ton/core": "^0.60.0",
3130
"@ton/ton": "^13.9.0",
31+
"@tonconnect/ui-react": "^1.0.0-beta.6",
3232
"bigint-buffer": "^1.1.5",
3333
"buffer": "^6.0.3",
3434
"file-saver": "^2.0.5",
@@ -45,7 +45,7 @@
4545
"func-js-bin-0.4.6": "npm:@ton-community/func-js-bin@^0.4.6",
4646
"func-js-bin-0.4.6-wasmfix.0": "npm:@ton-community/func-js-bin@^0.4.6-wasmfix.0",
4747
"highlight.js": "^11.9.0",
48-
"highlightjs-func": "github:orbs-network/highlightjs-func",
48+
"highlightjs-func": "^0.3.1",
4949
"immer": "^9.0.17",
5050
"javascript-time-ago": "^2.5.7",
5151
"jszip": "^3.10.1",

src/components/AddSourcesBlock.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ export function AddSourcesBlock({
4545
const walletAddress = useTonAddress();
4646
const { hasFiles, addFiles, reset: resetFiles } = useFileStore();
4747
const { step, proceedToPublish, toggleSection, currentSection } = usePublishStore();
48-
const activeVerifierName = missingVerifiers[0]?.name ?? DEFAULT_VERIFIER;
48+
// NOTE: orbs is first
49+
const activeVerifierName =
50+
missingVerifiers.length === 2 ? missingVerifiers[1]?.name : DEFAULT_VERIFIER;
4951
const { mutate, data, error, isLoading } = useSubmitSources(contractAddress, activeVerifierName);
5052
const entries = useSubmitSourcesEntries(contractAddress);
5153

src/components/Footer.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
import { AppLogo, LinkWrapper, RouterLinkWrapper } from "./TopBar.styled";
1414
import { Typography, useMediaQuery } from "@mui/material";
1515
import heart from "../assets/heart.svg";
16-
import orbsLogo from "../assets/orbs.svg";
1716
import telegram from "../assets/telegram.svg";
1817
import telegramHovered from "../assets/telegram-hover.svg";
1918
import github from "../assets/github-footer.svg";
@@ -60,7 +59,7 @@ export function Footer() {
6059
<HoverableIcon
6160
iconUrl={github}
6261
hoveredIconUrl={githubHovered}
63-
link="https://github.com/orbs-network/ton-contract-verifier"
62+
link="https://github.com/ton-studio/verifier"
6463
/>
6564
</SocialsContent>
6665
</SocialsWrapper>
@@ -76,16 +75,6 @@ export function Footer() {
7675
<img src={heart} alt="Heart" width={12} height={12} />
7776
</CenteringBox>
7877
by
79-
<CenteringBox mx={0.4}>
80-
<img src={orbsLogo} alt="Orbs logo" width={12} height={12} />
81-
</CenteringBox>
82-
<FooterLink
83-
sx={{ color: "#5E75E8" }}
84-
target="_blank"
85-
href="https://orbs.com/powered-by">
86-
Orbs
87-
</FooterLink>
88-
&nbsp;and&nbsp;
8978
<FooterLink sx={{ color: "#5E75E8" }} target="_blank" href="https://tonstudio.io/">
9079
TON Studio
9180
</FooterLink>

0 commit comments

Comments
 (0)