Skip to content

Commit a8d9874

Browse files
authored
Feat/vault contract function calls endpoints (#58)
* feat(core): add vault module and token-factory/vault deploy endpoints - Add deploy endpoints for token-factory and vault contracts - Add vault module with availability-for-exchange write endpoint - Add readContractState method to SorobanService for view functions - Add CI pipeline for lint, format, and build checks - Update core README with required setup commands * chore: remove dist/ from git and add to .gitignore * feat(core): add vault claim endpoint - Add ClaimDto with contractId, beneficiary, and callerPublicKey validation - Add POST /vault/claim endpoint returning { unsignedXdr } - Implement VaultService.claim method using buildContractCallTransaction * feat(vault): add claim endpoint and all read endpoints - POST /vault/claim for token-to-USDC exchange - GET endpoints for overview, preview-claim, is-enabled, usdc-balance, total-redeemed, admin, roi-percentage, token-address, usdc-address
1 parent 2568dfd commit a8d9874

File tree

94 files changed

+277
-1711
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+277
-1711
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ target
3030

3131
# production
3232
/build
33+
**/dist
3334

3435
# misc
3536
.DS_Store

apps/core/dist/app.controller.d.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/core/dist/app.controller.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

apps/core/dist/app.controller.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/core/dist/app.module.d.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

apps/core/dist/app.module.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

apps/core/dist/app.module.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/core/dist/app.service.d.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/core/dist/app.service.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

apps/core/dist/app.service.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)