diff --git a/dapp/packages/soroban_versioning/dist/index.d.ts b/dapp/packages/soroban_versioning/dist/index.d.ts index 85be5e82..bb1e2f0b 100644 --- a/dapp/packages/soroban_versioning/dist/index.d.ts +++ b/dapp/packages/soroban_versioning/dist/index.d.ts @@ -42,6 +42,12 @@ export declare const Errors: { 8: { message: string; }; + 9: { + message: string; + }; + 10: { + message: string; + }; }; export type DataKey = { tag: "Admin"; @@ -122,6 +128,15 @@ export interface Client { * Construct and simulate a create_proposal transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object. * Create a proposal on the DAO of the project. * Proposal initiators are automatically put in the abstain group. + * # Arguments + * * `env` - The environment object + * * `proposer` - Address of the proposal creator + * * `project_key` - Unique identifier for the project + * * `title` - Title of the proposal + * * `ipfs` - IPFS content identifier describing the proposal + * * `voting_ends_at` - UNIX timestamp when voting ends + * # Returns + * * `u32` - The ID of the created proposal */ create_proposal: ( { @@ -156,6 +171,12 @@ export interface Client { * Construct and simulate a vote transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object. * Cast a vote on a proposal. * Double votes are not allowed. + * # Arguments + * * `env` - The environment object + * * `voter` - Address of the voter + * * `project_key` - Unique identifier for the project + * * `proposal_id` - ID of the proposal + * * `vote` - Approve, reject or abstain decision */ vote: ( { @@ -187,7 +208,13 @@ export interface Client { /** * Construct and simulate a get_dao transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object. * Get one page of proposal of the DAO. - * A page has 10 proposals. + * A page has 0 to MAX_PROPOSALS_PER_PAGE proposals. + * # Arguments + * * `env` - The environment object + * * `project_key` - Unique identifier for the project + * * `page` - Page of proposals + * # Returns + * * `types::Dao` - The Dao object (vector of proposals) */ get_dao: ( { @@ -215,6 +242,12 @@ export interface Client { /** * Construct and simulate a get_proposal transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object. * Only return a single proposal + * # Arguments + * * `env` - The environment object + * * `project_key` - Unique identifier for the project + * * `proposal_id` - ID of the proposal + * # Returns + * * `types::Proposal` - The proposal object */ get_proposal: ( { @@ -462,7 +495,7 @@ export declare class Client extends ContractClient { init: (json: string) => AssembledTransaction; upgrade: (json: string) => AssembledTransaction; version: (json: string) => AssembledTransaction; - register: (json: string) => AssembledTransaction; + register: (json: string) => AssembledTransaction>; update_config: (json: string) => AssembledTransaction; commit: (json: string) => AssembledTransaction; get_commit: (json: string) => AssembledTransaction; diff --git a/dapp/packages/soroban_versioning/dist/index.js b/dapp/packages/soroban_versioning/dist/index.js index 9be01540..7379c82a 100644 --- a/dapp/packages/soroban_versioning/dist/index.js +++ b/dapp/packages/soroban_versioning/dist/index.js @@ -24,18 +24,20 @@ export const Errors = { 4: { message: "NoHashFound" }, 5: { message: "InvalidDomainError" }, 6: { message: "MaintainerNotDomainOwner" }, - 7: { message: "NoProposalorPageFound" }, - 8: { message: "AlreadyVoted" }, + 7: { message: "ProposalInputValidation" }, + 8: { message: "NoProposalorPageFound" }, + 9: { message: "AlreadyVoted" }, + 10: { message: "ProposalVotingTime" }, }; export class Client extends ContractClient { options; constructor(options) { super( new ContractSpec([ - "AAAAAAAAAGxDcmVhdGUgYSBwcm9wb3NhbCBvbiB0aGUgREFPIG9mIHRoZSBwcm9qZWN0LgpQcm9wb3NhbCBpbml0aWF0b3JzIGFyZSBhdXRvbWF0aWNhbGx5IHB1dCBpbiB0aGUgYWJzdGFpbiBncm91cC4AAAAPY3JlYXRlX3Byb3Bvc2FsAAAAAAUAAAAAAAAACHByb3Bvc2VyAAAAEwAAAAAAAAALcHJvamVjdF9rZXkAAAAADgAAAAAAAAAFdGl0bGUAAAAAAAAQAAAAAAAAAARpcGZzAAAAEAAAAAAAAAAOdm90aW5nX2VuZHNfYXQAAAAAAAYAAAABAAAABA==", - "AAAA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ADEFscmVhZHlWb3RlZAAAAAkAAAAAAAAAElByb3Bvc2FsVm90aW5nVGltZQAAAAAACg==", "AAAAAgAAAAAAAAAAAAAAB0RhdGFLZXkAAAAAAQAAAAAAAAAAAAAABUFkbWluAAAA", "AAAAAgAAAAAAAAAAAAAADlByb3Bvc2FsU3RhdHVzAAAAAAAEAAAAAAAAAAAAAAAGQWN0aXZlAAAAAAAAAAAAAAAAAAhBcHByb3ZlZAAAAAAAAAAAAAAACFJlamVjdGVkAAAAAAAAAAAAAAAJQ2FuY2VsbGVkAAAA", "AAAAAgAAAAAAAAAAAAAABFZvdGUAAAADAAAAAAAAAAAAAAAHQXBwcm92ZQAAAAAAAAAAAAAAAAZSZWplY3QAAAAAAAAAAAAAAAAAB0Fic3RhaW4A", diff --git a/dapp/packages/soroban_versioning/src/index.ts b/dapp/packages/soroban_versioning/src/index.ts index b1da86a2..2af0ea73 100644 --- a/dapp/packages/soroban_versioning/src/index.ts +++ b/dapp/packages/soroban_versioning/src/index.ts @@ -51,9 +51,13 @@ export const Errors = { 6: { message: "MaintainerNotDomainOwner" }, - 7: { message: "NoProposalorPageFound" }, + 7: { message: "ProposalInputValidation" }, - 8: { message: "AlreadyVoted" }, + 8: { message: "NoProposalorPageFound" }, + + 9: { message: "AlreadyVoted" }, + + 10: { message: "ProposalVotingTime" }, }; export type DataKey = { tag: "Admin"; values: void }; @@ -106,6 +110,15 @@ export interface Client { * Construct and simulate a create_proposal transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object. * Create a proposal on the DAO of the project. * Proposal initiators are automatically put in the abstain group. + * # Arguments + * * `env` - The environment object + * * `proposer` - Address of the proposal creator + * * `project_key` - Unique identifier for the project + * * `title` - Title of the proposal + * * `ipfs` - IPFS content identifier describing the proposal + * * `voting_ends_at` - UNIX timestamp when voting ends + * # Returns + * * `u32` - The ID of the created proposal */ create_proposal: ( { @@ -143,6 +156,12 @@ export interface Client { * Construct and simulate a vote transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object. * Cast a vote on a proposal. * Double votes are not allowed. + * # Arguments + * * `env` - The environment object + * * `voter` - Address of the voter + * * `project_key` - Unique identifier for the project + * * `proposal_id` - ID of the proposal + * * `vote` - Approve, reject or abstain decision */ vote: ( { @@ -172,7 +191,13 @@ export interface Client { /** * Construct and simulate a get_dao transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object. * Get one page of proposal of the DAO. - * A page has 10 proposals. + * A page has 0 to MAX_PROPOSALS_PER_PAGE proposals. + * # Arguments + * * `env` - The environment object + * * `project_key` - Unique identifier for the project + * * `page` - Page of proposals + * # Returns + * * `types::Dao` - The Dao object (vector of proposals) */ get_dao: ( { project_key, page }: { project_key: Buffer; page: u32 }, @@ -197,6 +222,12 @@ export interface Client { /** * Construct and simulate a get_proposal transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object. * Only return a single proposal + * # Arguments + * * `env` - The environment object + * * `project_key` - Unique identifier for the project + * * `proposal_id` - ID of the proposal + * # Returns + * * `types::Proposal` - The proposal object */ get_proposal: ( { project_key, proposal_id }: { project_key: Buffer; proposal_id: u32 }, @@ -437,10 +468,10 @@ export class Client extends ContractClient { constructor(public readonly options: ContractClientOptions) { super( new ContractSpec([ - "AAAAAAAAAGxDcmVhdGUgYSBwcm9wb3NhbCBvbiB0aGUgREFPIG9mIHRoZSBwcm9qZWN0LgpQcm9wb3NhbCBpbml0aWF0b3JzIGFyZSBhdXRvbWF0aWNhbGx5IHB1dCBpbiB0aGUgYWJzdGFpbiBncm91cC4AAAAPY3JlYXRlX3Byb3Bvc2FsAAAAAAUAAAAAAAAACHByb3Bvc2VyAAAAEwAAAAAAAAALcHJvamVjdF9rZXkAAAAADgAAAAAAAAAFdGl0bGUA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