Skip to content

Vaults5#443

Open
ClemensLey wants to merge 9 commits intostagingfrom
vaults5
Open

Vaults5#443
ClemensLey wants to merge 9 commits intostagingfrom
vaults5

Conversation

@ClemensLey
Copy link
Contributor

No description provided.

…erhaul

- Add SmartContract<T> wrapper + Lifted<T> types for strongly-typed smart contracts
- Make Computer.new(), sync(), mint(), transfer() etc. generic (e.g. sync<typeof Token>)
- computer.encode() now returns tx: Transaction | null (requires explicit checks)
- Remove all @ts-ignore comments and unsafe casts across the monorepo
- Update TBC20, TBC721, chess-contracts, dao-contracts, swap, nft, explorer, vite-template
- Extract complete type definitions to packages/lib/types/
- Refactor mocks (PaymentMock now extends Mock) and helpers
- Complete re-implementation of lib based on a clear theoretical model

BREAKING CHANGE: Public APIs now use generics and encode() can return null.
Existing code relying on type assertions or raw class types will need updating.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant