Skip to content

Commit

Permalink
Merge pull request #9 from horuslabsio/v3
Browse files Browse the repository at this point in the history
chore: update mainnet v3
  • Loading branch information
Darlington02 authored Nov 23, 2024
2 parents 50761b6 + 2e96b62 commit 759dbe3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
3 changes: 1 addition & 2 deletions src/connectors/tokenboundAccount/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ export const AccountClassHashes = {
"0x45d67b8590561c9b54e14dd309c9f38c4e2c554dd59414021f9d079811621bd",
},
V3: {
mainnet:
"0x3d311ba322e1f900d669586b191a2a82c50f6cb850563a8e1c01c7bac9be7b0",
mainnet: "0xbe8863311f24317dff8af16deb1285ec5b035e57cf9beda545c341c339b925",
sepolia:
"0x29d2a1b11dd97289e18042502f11356133a2201dd19e716813fb01fbee9e9a4",
},
Expand Down
11 changes: 0 additions & 11 deletions src/connectors/tokenboundAccount/helpers/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,6 @@ export async function waitForWalletAccountAddress(
return checkAddress()
}

// export async function hasApprove(parentAccountId: string): Promise<boolean> {
// const authorizedWallets = await sn.getAuthorizedWallets()
// const authorizedWallet = authorizedWallets.find(
// (w) => w.id === parentAccountId,
// )
// if (authorizedWallet) {
// return true
// }
// return false
// }

export async function checkTbaVersion(
provider: RpcProvider,
tokenboundAddress: string,
Expand Down

0 comments on commit 759dbe3

Please sign in to comment.