Skip to content

Commit

Permalink
Update the Aragon SDK docs by commit 2588415
Browse files Browse the repository at this point in the history
  • Loading branch information
josemarinas authored and arabot-1 committed Nov 23, 2023
1 parent d863400 commit 0482050
Show file tree
Hide file tree
Showing 6 changed files with 880 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const actions: DaoAction[] = [
];

// check if a plugin update proposal is valid
const isValid = client.methods.isPluginUpdateValid({
const isValid = client.methods.isPluginUpdateProposalValid({
daoAddress: "0x1234567890123456789012345678901234567890",
actions,
});
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/01-examples/01-client/18-is-dao-update-valid.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const actions: DaoAction[] = [
];

// check if a dap update proposal is valid
const isValid = client.methods.isDaoUpdateValid({
const isValid = client.methods.isDaoUpdateProposalValid({
daoAddress: "0x1234567890123456789012345678901234567890",
actions,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const actions: DaoAction[] = [
];

// check if a plugin update proposal is valid
const isValid = client.methods.isDaoUpdateProposal(actions);
const isValid = client.methods.isDaoUpdateProposalProposal(actions);

console.log(isValid);
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const applyUpdateParams: ApplyUpdateParams = {

const daoAddressOrEns: string = "0x123123123123123123123123123123123123"; // "my-dao.eth"

const actions: DaoAction[] = client.encoding.applyUpdateAction(
const actions: DaoAction[] = client.encoding.applyUpdateAndPermissionsActionBlock(
daoAddressOrEns,
applyUpdateParams,
);
Expand Down
Loading

0 comments on commit 0482050

Please sign in to comment.