Skip to content

Commit 975d5cd

Browse files
committed
feat: council client
1 parent 9b2cd74 commit 975d5cd

File tree

10 files changed

+3599
-162
lines changed

10 files changed

+3599
-162
lines changed

contract

Submodule contract updated 108 files

lib/CouncilClient.d.ts

Lines changed: 954 additions & 0 deletions
Large diffs are not rendered by default.

lib/CouncilClient.js

Lines changed: 584 additions & 0 deletions
Large diffs are not rendered by default.

lib/ProposalClient.d.ts

Lines changed: 61 additions & 62 deletions
Large diffs are not rendered by default.

lib/XGovRegistryClient.d.ts

Lines changed: 416 additions & 81 deletions
Large diffs are not rendered by default.

lib/XGovRegistryClient.js

Lines changed: 255 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"types": "./lib/ProposalClient.d.ts",
99
"default": "./lib/ProposalClient.js"
1010
},
11+
"./council": {
12+
"types": "./lib/CouncilClient.d.ts",
13+
"default": "./lib/CouncilClient.js"
14+
},
1115
"./proposal": {
1216
"types": "./lib/ProposalClient.d.ts",
1317
"default": "./lib/ProposalClient.js"
@@ -20,7 +24,8 @@
2024
"scripts": {
2125
"test": "echo \"Error: no test specified\" && exit 0",
2226
"build": "npm run generate && tsc",
23-
"generate": "npm run generate:proposal && npm run generate:registry",
27+
"generate": "npm run generate:council && npm run generate:proposal && npm run generate:registry",
28+
"generate:council": "npx @algorandfoundation/algokit-client-generator generate -o src/CouncilClient.ts -a contract/smart_contracts/artifacts/council/Council.arc32.json",
2429
"generate:proposal": "npx @algorandfoundation/algokit-client-generator generate -o src/ProposalClient.ts -a contract/smart_contracts/artifacts/proposal/Proposal.arc32.json",
2530
"generate:registry": "npx @algorandfoundation/algokit-client-generator generate -o src/XGovRegistryClient.ts -a contract/smart_contracts/artifacts/xgov_registry/XGovRegistry.arc32.json"
2631
},
@@ -35,4 +40,4 @@
3540
"typescript": "^5.5.4",
3641
"@algorandfoundation/algokit-client-generator": "^4.0.9"
3742
}
38-
}
43+
}

src/CouncilClient.ts

Lines changed: 935 additions & 0 deletions
Large diffs are not rendered by default.

src/ProposalClient.ts

Lines changed: 6 additions & 7 deletions
Large diffs are not rendered by default.

src/XGovRegistryClient.ts

Lines changed: 380 additions & 8 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)