Skip to content

Commit

Permalink
Updates to new contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
emmdim committed Feb 1, 2024
1 parent 0efcdcd commit bee42ad
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"@tiptap/pm": "^2.0.3",
"@tiptap/react": "^2.0.3",
"@tiptap/starter-kit": "^2.0.3",
"@vocdoni/gasless-voting": "^0.0.1-rc18",
"@vocdoni/gasless-voting-ethers": "0.0.1-rc1",
"@vocdoni/gasless-voting": "0.0.1-rc20",
"@vocdoni/gasless-voting-ethers": "0.0.1-rc2",
"@vocdoni/react-providers": "0.3.1",
"@vocdoni/sdk": "0.7.1",
"@walletconnect/core": "^2.8.3",
Expand Down
2 changes: 1 addition & 1 deletion src/context/update.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ const UpdateProvider: React.FC<{children: ReactElement}> = ({children}) => {
if (!state.daoUpdateData) return;
if (
state.showModal.type === 'plugin' &&
pluginType !== 'vocdoni-gasless-voting-poc.plugin.dao.eth'
pluginType !== 'vocdoni-gasless-voting-poc-vanilla-erc20.plugin.dao.eth'
)
return (
pluginClient as MultisigClient | TokenVotingClient
Expand Down
3 changes: 2 additions & 1 deletion src/hooks/usePluginClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import {useEffect, useState} from 'react';
import {useClient} from './useClient';
import {VocdoniEnv} from './useVocdoniSdk';

export const GaselessPluginName = 'vocdoni-gasless-voting-poc.plugin.dao.eth';
export const GaselessPluginName =
'vocdoni-gasless-voting-poc-vanilla-erc20.plugin.dao.eth';
export type GaselessPluginType = typeof GaselessPluginName;

export type PluginTypes =
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4629,17 +4629,17 @@
"@babel/plugin-transform-react-jsx-source" "^7.22.5"
react-refresh "^0.14.0"

"@vocdoni/[email protected]rc1":
version "0.0.1-rc1"
resolved "https://registry.yarnpkg.com/@vocdoni/gasless-voting-ethers/-/gasless-voting-ethers-0.0.1-rc1.tgz#9958b632abce3e2e5179ecd201c41d3b03a2f047"
integrity sha512-lU58vpJ3AQp2u1OypsVvHgGGzCTvgtDXPLUDChn2yFHJhxc7o2Q79EwCZnD+XV9v8cN94I8AWhocbDDk1E8jMA==
"@vocdoni/[email protected]rc2":
version "0.0.1-rc2"
resolved "https://registry.yarnpkg.com/@vocdoni/gasless-voting-ethers/-/gasless-voting-ethers-0.0.1-rc2.tgz#ce2d3f0457f2504df0f38fa2cb82c555d58512f2"
integrity sha512-n9MpaUwpKyykwaZnMPsm6B298AsCdSGdn8T7PTHMDVesBkKtX9z3/nDcmWyZAgk+bm8odSm0Xze6or4epb0JqA==
dependencies:
ethers "^5.6.2"

"@vocdoni/gasless-voting@^0.0.1-rc18":
version "0.0.1-rc18"
resolved "https://registry.yarnpkg.com/@vocdoni/gasless-voting/-/gasless-voting-0.0.1-rc18.tgz#6fdc4299cee82b87563b69a9e9505bcaaf23055e"
integrity sha512-KktH8LEcMu+0asArj7DtjozA1+9V3uKm3q5i9N+2ImEam/BAbdA+JeXEqL4u/ECyicbQGM1asusYz4LcwSSCHQ==
"@vocdoni/[email protected]rc20":
version "0.0.1-rc20"
resolved "https://registry.yarnpkg.com/@vocdoni/gasless-voting/-/gasless-voting-0.0.1-rc20.tgz#9e04678df122c5f96457278b52791883d8c725b9"
integrity sha512-kkigjYiqXxMKTy2opLQ9sEEFKw7I6BxMhI6/gdcaVy+kUdg8Df1FCLx8SrfuzwIK3vTdpL7ed2b9PZo823TUFg==
dependencies:
"@aragon/osx-ethers" "1.3.0-rc0.3"
"@aragon/sdk-client" "1.21.1"
Expand All @@ -4651,7 +4651,7 @@
"@ethersproject/providers" "^5.7.2"
"@ethersproject/wallet" "^5.7.0"
"@types/big.js" "^6.1.5"
"@vocdoni/gasless-voting-ethers" "0.0.1-rc1"
"@vocdoni/gasless-voting-ethers" "0.0.1-rc2"
"@vocdoni/sdk" "0.7.1"
axios "0.27.2"
graphql "^16.6.0"
Expand Down

0 comments on commit bee42ad

Please sign in to comment.