30 Commits

Author SHA1 Message Date
Pravdyvy
7e8b8c7624 Merge branch 'main' into Pravdyvy/token-burn-mint-wallet-update 2025-12-11 12:06:47 +02:00
jonesmarvin8
340c9c4ce6 redundant underflow check added 2025-12-10 08:12:17 -05:00
jonesmarvin8
70c228dbec fixed formatting and added overflow/underflow 2025-12-09 15:28:32 -05:00
jonesmarvin8
8c493a0155
Update nssa/program_methods/guest/src/bin/token.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-12-09 13:31:44 -05:00
jonesmarvin8
cf4d7ba80b
Update nssa/program_methods/guest/src/bin/token.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-12-09 13:31:13 -05:00
jonesmarvin8
17f77f9ae7
Update nssa/program_methods/guest/src/bin/token.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
2025-12-09 13:31:02 -05:00
Daniil Polyakov
4574acfc49 feat: introduce account data size limit 2025-12-09 20:26:02 +03:00
jonesmarvin8
e0c6baf1ff added mint overflow protection 2025-12-09 08:11:15 -05:00
jonesmarvin8
5a1d37d607 update burn/mint to use AccountPostState 2025-12-07 20:29:25 -05:00
jonesmarvin8
c6e68ff9b1
Merge pull request #226 from logos-blockchain/main
main into burn
2025-12-07 20:27:27 -05:00
jonesmarvin8
1ae10f553b test: add test for malicious program performing balance overflow attack 2025-12-06 21:28:45 +03:00
jonesmarvin8
c6cde35203 added burn/mint and tests 2025-12-05 21:01:36 -05:00
Sergio Chouhy
7e971a6c4d Merge branch 'main' into schouhy/implement-pda-for-public-accounts 2025-12-05 10:00:23 -03:00
jonesmarvin8
97f2e93f8a initialize branch 2025-12-04 21:55:12 -05:00
Sergio Chouhy
cf9c567e29 remove pub attribute 2025-12-04 16:26:40 -03:00
Sergio Chouhy
8a269858c5 improve struct interface 2025-12-03 16:54:57 -03:00
Sergio Chouhy
d677db7f4e add account post state struct with claiming request field 2025-12-03 15:17:33 -03:00
Sergio Chouhy
dcef017f9b nit 2025-12-02 12:12:56 -03:00
Sergio Chouhy
3d529d19fa solve comments 2025-12-02 10:48:21 -03:00
Sergio Chouhy
c7bcd20a38 add init function to the token program 2025-11-28 14:16:54 -03:00
Sergio Chouhy
ed00876800 Merge branch 'schouhy/add-init-function-to-token-program' into schouhy/implement-pda-for-public-accounts 2025-11-28 14:16:26 -03:00
Sergio Chouhy
dd5db5b32c add init function to the token program 2025-11-28 11:52:02 -03:00
Sergio Chouhy
1989fd25a1 add pinata token example and test 2025-11-28 11:10:00 -03:00
Sergio Chouhy
2de7e49eeb fmt 2025-09-19 12:37:24 -03:00
Sergio Chouhy
fcebd5f726 add tests 2025-09-19 12:22:28 -03:00
Sergio Chouhy
aded05f493 fix token program logic and add explicit panic on balance overflow 2025-09-19 09:49:18 -03:00
Sergio Chouhy
473a5fd98b add integratin tests wip 2025-09-16 11:38:26 -03:00
Sergio Chouhy
24f3952c49 minor change 2025-09-16 11:37:36 -03:00
Sergio Chouhy
856114019e fix 2025-09-16 11:37:36 -03:00
Sergio Chouhy
b9e0ff230f add token program 2025-09-16 11:37:36 -03:00