Skip to content

Commit

Permalink
feat(daohaus): updated daohaus sdk and legos
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbeckers committed Jul 12, 2023
1 parent 3ba2133 commit 4ea253d
Show file tree
Hide file tree
Showing 4 changed files with 648 additions and 748 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"preview": "vite preview"
},
"dependencies": {
"@daohaus/connect": "^0.1.24",
"@daohaus/contract-utils": "^0.1.24",
"@daohaus/form-builder": "^0.1.24",
"@daohaus/moloch-v3-fields": "^0.0.1",
"@daohaus/moloch-v3-hooks": "^0.0.9",
"@daohaus/moloch-v3-legos": "^0.0.1",
"@daohaus/moloch-v3-macro-ui": "^0.0.9",
"@daohaus/tx-builder": "^0.1.24",
"@daohaus/ui": "^0.1.24",
"@daohaus/utils": "^0.1.24",
"@daohaus/connect": "^0.1.32",
"@daohaus/contract-utils": "^0.1.32",
"@daohaus/form-builder": "^0.1.32",
"@daohaus/moloch-v3-fields": "^0.0.9",
"@daohaus/moloch-v3-hooks": "^0.0.17",
"@daohaus/moloch-v3-legos": "^0.0.9",
"@daohaus/moloch-v3-macro-ui": "^0.0.17",
"@daohaus/tx-builder": "^0.1.32",
"@daohaus/ui": "^0.1.32",
"@daohaus/utils": "^0.1.32",
"@material-ui/core": "^4.12.4",
"@tanstack/react-query": "^4.29.12",
"abitype": "^0.8.7",
Expand Down
17 changes: 1 addition & 16 deletions src/legos/fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,27 +76,12 @@ export const APP_FIELD: Record<string, CustomFieldLego> = {
type: "checkRender",
gateLabel: "Donate to the devs",
components: [
{
id: "checkRenderDonationToken",
type: "checkRender",
gateLabel: "Use Custom Token (native token by default)",
components: [
{
id: "donationToken",
type: "input",
label: "Donation Token",
defaultValue: ZERO_ADDRESS,
expectType: "ethAddress",
placeholder: "Enter token address if you want to support the devs",
},
],
},
{
id: "donationAmount",
type: "toWeiInput",
label: "Donation Amount",
defaultValue: 0,
placeholder: "Enter amount of donation token",
placeholder: "Enter amount of native token to donate",
},
],
},
Expand Down
3 changes: 3 additions & 0 deletions src/legos/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ export const APP_TX = {
".formValues.donationAmount",
".formValues.allowList",
],
overrides: {
value: ".formValues.donationAmount",
},
},
COOKIEJARTARGET: {
id: "COOKIEJARTARGET",
Expand Down
Loading

0 comments on commit 4ea253d

Please sign in to comment.