Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
435 commits
Select commit Hold shift + click to select a range
07ebf41
refactor: Update voting constants to be managed by the config module …
1nonlypiece Jul 6, 2025
45a6e60
refactor: Change outcome and length constants to use u32 type for con…
1nonlypiece Jul 6, 2025
1b8357a
test: Add comprehensive configuration management tests for initializa…
1nonlypiece Jul 6, 2025
671b5dd
feat: Introduce comprehensive utility functions for Predictify Hybrid…
1nonlypiece Jul 6, 2025
2fa8420
feat: Add utility functions module to Predictify Hybrid contract, pro…
1nonlypiece Jul 6, 2025
be97b01
feat: Implement additional utility functions in Predictify Hybrid con…
1nonlypiece Jul 6, 2025
c9b29d2
feat: Add extensive utility function tests for string manipulation, n…
1nonlypiece Jul 6, 2025
8a761d4
fix: Update get_time_utilities function in Predictify Hybrid contract…
1nonlypiece Jul 6, 2025
7a715eb
refactor: Simplify utility function signatures in Predictify Hybrid c…
1nonlypiece Jul 6, 2025
cfe7cda
refactor: Update utility function tests in Predictify Hybrid contract…
1nonlypiece Jul 6, 2025
bf55152
refactor: Enhance utility functions in Predictify Hybrid contract by …
1nonlypiece Jul 6, 2025
60db4e5
refactor: Simplify value and weight retrieval in NumericUtils by repl…
1nonlypiece Jul 6, 2025
b83028b
refactor: Optimize value and weight retrieval in NumericUtils by usin…
1nonlypiece Jul 6, 2025
5ea953e
feat: Introduce comprehensive event system in Predictify Hybrid contr…
1nonlypiece Jul 6, 2025
cd0cba8
feat: Add event system module to Predictify Hybrid contract, includin…
1nonlypiece Jul 6, 2025
8b3b8f2
refactor: Update event symbols in Predictify Hybrid contract for cons…
1nonlypiece Jul 6, 2025
ad5fe6a
feat: Implement comprehensive event management methods in Predictify …
1nonlypiece Jul 6, 2025
dd03705
feat: Enhance event system tests in Predictify Hybrid contract, addin…
1nonlypiece Jul 6, 2025
cc4c9a4
refactor: Optimize value and weight access in NumericUtils by using u…
1nonlypiece Jul 6, 2025
3eb1ce0
feat: Introduce comprehensive validation methods in Predictify Hybrid…
1nonlypiece Jul 6, 2025
5a06f71
feat: Add extensive input validation tests in Predictify Hybrid contr…
1nonlypiece Jul 6, 2025
c5d1c75
feat: Implement comprehensive validation utilities in Predictify Hybr…
1nonlypiece Jul 6, 2025
a8bbc71
fix: Update test utilities in Predictify Hybrid contract to use corre…
1nonlypiece Jul 6, 2025
4b16f43
Fix compilation error: resolve brace mismatch and temporarily disable…
Jul 6, 2025
aa757e7
Fix compilation errors with minimal working version
Jul 6, 2025
49b6fae
fix: update test error codes and fix authentication test
Jul 6, 2025
bf5de40
Restore missing functionality and fix compilation errors
Jul 15, 2025
a639c6b
fix: improve dispute storage functionality with proper dispute ID han…
Jul 16, 2025
e000c9d
feat: Implement comprehensive admin management system in Predictify H…
1nonlypiece Jul 7, 2025
f4f1f9f
feat: Extend event system in Predictify Hybrid contract with new admi…
1nonlypiece Jul 7, 2025
55d5d88
feat: Integrate admin management functionalities into Predictify Hybr…
1nonlypiece Jul 7, 2025
e582759
refactor: Organize module structure in Predictify Hybrid contract for…
1nonlypiece Jul 7, 2025
ca48770
test: Update resolution performance test to validate resolution metho…
1nonlypiece Jul 7, 2025
bb5da18
refactor: Simplify module imports in Predictify Hybrid contract by re…
1nonlypiece Jul 7, 2025
6522130
test: Comment out assertions in configuration update and reset tests …
1nonlypiece Jul 7, 2025
96b2545
refactor: Further streamline module imports in Predictify Hybrid cont…
1nonlypiece Jul 7, 2025
9d4d209
feat: Add duration validation utility to TimeUtils in Predictify Hybr…
1nonlypiece Jul 7, 2025
9e8547d
refactor: Remove unused utility and event components from Predictify …
1nonlypiece Jul 7, 2025
0b74df8
refactor: Add EventTestingUtils and EventDocumentation to imports in …
1nonlypiece Jul 7, 2025
7a1e747
refactor: Add AdminAccessControl to imports in Predictify Hybrid cont…
1nonlypiece Jul 7, 2025
d736012
refactor: Remove unused imports from extensions in Predictify Hybrid …
1nonlypiece Jul 7, 2025
aafcfff
refactor: Add ExtensionUtils and ExtensionValidator to imports in Pre…
1nonlypiece Jul 7, 2025
921f773
refactor: Add ExtensionUtils and ExtensionValidator to imports in Pre…
1nonlypiece Jul 7, 2025
a848772
refactor: Add ValidationDocumentation to imports in Predictify Hybrid…
1nonlypiece Jul 7, 2025
c5d1ad7
refactor: Simplify admin module in Predictify Hybrid contract by remo…
1nonlypiece Jul 7, 2025
997e022
refactor: Remove unused imports in config module of Predictify Hybrid…
1nonlypiece Jul 7, 2025
478c316
refactor: Remove unused import from disputes module in Predictify Hyb…
1nonlypiece Jul 7, 2025
9a2f83f
refactor: Remove unused parameters and variables in extension fees ha…
1nonlypiece Jul 7, 2025
b0c3967
refactor: Remove unused import from fees module in Predictify Hybrid …
1nonlypiece Jul 7, 2025
cc01c8d
refactor: Remove unused imports from various modules in Predictify Hy…
1nonlypiece Jul 7, 2025
6b4ea78
refactor: Update parameter naming and remove unused parameters in mar…
1nonlypiece Jul 7, 2025
912edfb
refactor: Remove unused import from resolution module in Predictify H…
1nonlypiece Jul 7, 2025
eac92b2
refactor: Remove unused parameters from oracle and market resolution …
1nonlypiece Jul 7, 2025
a3b1b6e
refactor: Remove unused parameters in to_string method of ReflectorAs…
1nonlypiece Jul 7, 2025
7df6506
refactor: Remove unused import from validation module in Predictify H…
1nonlypiece Jul 7, 2025
9c6c45d
refactor: Remove unused variables and update parameter naming in voti…
1nonlypiece Jul 7, 2025
4574b75
refactor: Remove unused test function from resolution module in Predi…
1nonlypiece Jul 7, 2025
5039011
refactor: Remove unused parameters from error logging functions in Pr…
1nonlypiece Jul 7, 2025
4b7379a
refactor: Remove unused parameter from validate function in OracleCon…
1nonlypiece Jul 7, 2025
e1b861b
refactor: Remove unused parameter from validate_vote_parameters and v…
1nonlypiece Jul 7, 2025
c71610e
refactor: Remove unused parameter from clear_old_events function in P…
1nonlypiece Jul 7, 2025
9bb4466
refactor: Remove unused parameter from string_to_address function in …
1nonlypiece Jul 7, 2025
b81015a
refactor: Remove unused parameters from admin functions in Predictify…
1nonlypiece Jul 7, 2025
ec51262
refactor: Simplify get_dispute_votes function in Predictify Hybrid co…
1nonlypiece Jul 7, 2025
c01c895
refactor: Remove unused import from resolution module in Predictify H…
1nonlypiece Jul 7, 2025
f2c650f
refactor: Remove unused parameter from validate_market_for_resolution…
1nonlypiece Jul 7, 2025
8b3d5b4
refactor: Update validate_market_for_resolution function in Predictif…
1nonlypiece Jul 7, 2025
2c271a7
refactor: Remove unused parameter from validate function in MarketExt…
1nonlypiece Jul 7, 2025
417fa79
refactor: Remove unused environment parameter from validate_market_fo…
1nonlypiece Jul 7, 2025
8b43c46
refactor: Remove unused parameters from store_dispute_threshold and c…
1nonlypiece Jul 7, 2025
4cc4798
refactor: Remove unused variable from admin tests in Predictify Hybri…
1nonlypiece Jul 7, 2025
68296dd
refactor: Remove unused parameters from dispute-related functions in …
1nonlypiece Jul 7, 2025
f863fba
refactor: Remove unused parameters from fee recording functions in Pr…
1nonlypiece Jul 7, 2025
c232854
refactor: Update get_dispute_votes function in Predictify Hybrid cont…
1nonlypiece Jul 7, 2025
4f80a13
refactor: Remove unused oracle_result parameter from resolution metho…
1nonlypiece Jul 7, 2025
1990d29
chore: Update dependencies in Cargo.lock, including version pinning f…
1nonlypiece Jul 8, 2025
6de37f0
chore: Add wee_alloc dependency to Cargo.toml for improved memory man…
1nonlypiece Jul 8, 2025
737dcff
refactor: Update import statement in resolution.rs to use `vec` inste…
1nonlypiece Jul 8, 2025
69db657
refactor: Add OracleInterface import in test.rs to enhance oracle fun…
1nonlypiece Jul 8, 2025
218b5a6
refactor: Simplify string utility functions in utils.rs by replacing …
1nonlypiece Jul 8, 2025
51c16d7
refactor: Add OracleConfig and OracleProvider imports in voting.rs to…
1nonlypiece Jul 8, 2025
3df81fe
test: Mock all authorizations in market creation tests to ensure prop…
1nonlypiece Jul 7, 2025
81e7661
refactor: Add OracleConfig and OracleProvider to imports in Predictif…
1nonlypiece Jul 7, 2025
9c51b33
refactor: Add Vec utility to imports in Predictify Hybrid contract, e…
1nonlypiece Jul 7, 2025
a057930
refactor: Update OracleProvider import in Predictify Hybrid contract,…
1nonlypiece Jul 7, 2025
ab0ba7a
refactor: Update OracleConfig initialization in voting tests for impr…
1nonlypiece Jul 7, 2025
104ca8b
refactor: Simplify OracleConfig initialization in voting tests for be…
1nonlypiece Jul 7, 2025
d787266
refactor: Consolidate OracleConfig and OracleProvider imports in voti…
1nonlypiece Jul 7, 2025
fdcfc3f
test: Mock all authentication before contract initialization in Predi…
1nonlypiece Jul 7, 2025
53608cc
refactor: Enhance admin role assignment logic by allowing bootstrappi…
1nonlypiece Jul 7, 2025
96a7f93
refactor: Standardize admin role storage key usage across assignment …
1nonlypiece Jul 7, 2025
e0d26d4
refactor: Update admin role permission retrieval to include environme…
1nonlypiece Jul 8, 2025
6f24c9d
refactor: Simplify event validation logic by temporarily skipping che…
1nonlypiece Jul 8, 2025
10f8554
refactor: Update utility methods in PredictifyHybrid to include envir…
1nonlypiece Jul 8, 2025
f075566
refactor: Modify utility functions in PredictifyHybrid to accept envi…
1nonlypiece Jul 8, 2025
8e8d217
refactor: Temporarily skip market and oracle validation checks due to…
1nonlypiece Jul 8, 2025
076d3b6
feat: impl the state
Akshola00 Jul 6, 2025
b8ea43e
feat: complete impl of the updated state
Akshola00 Jul 6, 2025
6c1677a
fix: error in lib rs
Akshola00 Jul 6, 2025
53b4fe9
fix: resolve critical compilation errors in lib.rs and admin.rs
Jul 16, 2025
b717264
Additional updates to soroban-sdk-v22 upgrade
Jul 16, 2025
aaac9a2
Final updates to soroban-sdk-v22 upgrade implementation
Jul 16, 2025
f33b1b9
Update disputes and resolution modules for soroban-sdk-v22
Jul 16, 2025
edd4e7c
Update events, utils, and validation modules for soroban-sdk-v22
Jul 16, 2025
dc70045
Fix unused parameter warning in validate_url function
Jul 16, 2025
304e2fc
Fix all unused parameter warnings in utils.rs and events.rs
Jul 16, 2025
4013854
Update lib.rs for soroban-sdk-v22 compatibility
Jul 16, 2025
10cef44
chore: update config, extensions, fees, and resolution modules
Jul 16, 2025
c9c3369
Fix failing tests for soroban-sdk-v22 upgrade
Jul 16, 2025
cdd8beb
Fix storage operations for Soroban SDK v22 compatibility
Jul 16, 2025
bc84984
Fix never type fallback issues for Rust 2024 compatibility
Jul 16, 2025
ce1a497
Fix admin test failures
Jul 17, 2025
88be6f1
Restore missing test cases as requested by maintainer
big14way Jul 24, 2025
d0783d2
feat: implement comprehensive validation system with security checks …
Samuel1-ona Jul 28, 2025
53fac57
fmt
Samuel1-ona Jul 28, 2025
0185ddf
docs(security) : add comprehensive security documentation
Aug 2, 2025
ac48f4b
docs(api): Complete Predictify Hybrid API Documentation with Usage & …
Jayking40 Aug 1, 2025
22b1e01
docs(api): Complete Predictify Hybrid API Documentation with Usage & …
Jayking40 Aug 2, 2025
5ab58fd
feat: End-to-End Integration
Yunusabdul38 Jul 30, 2025
b7a5f8c
chores: fmt
Samuel1-ona Aug 4, 2025
f4b47a0
Implement Dispute Timeout Mechanism with Automatic Resolution #65
Jagadeeshftw Aug 4, 2025
bef786b
Fix failing timeout tests: add PartialEq/Debug derives and fix test e…
Jagadeeshftw Aug 4, 2025
83456a0
Implement Configurable Fee System with Market Size and Activity Tiers…
Jagadeeshftw Aug 4, 2025
d4fdf07
fix: resolve admin module test failures and improve error handling
1nonlypiece Aug 4, 2025
1fc61f3
fix: resolve disputes module test failures and improve dispute handling
1nonlypiece Aug 4, 2025
28611c7
fix: resolve fees module test failures and improve fee management
1nonlypiece Aug 4, 2025
fb36d2e
fix: resolve lib module test failures and improve contract initializa…
1nonlypiece Aug 4, 2025
34d478d
fix: resolve markets module test failures and improve market management
1nonlypiece Aug 4, 2025
2763578
fix: resolve test module failures and improve test utilities
1nonlypiece Aug 4, 2025
996c181
fix: resolve types module test failures and improve type definitions
1nonlypiece Aug 4, 2025
e8ac820
fix: resolve validation module test failures and improve validation l…
1nonlypiece Aug 4, 2025
1a71839
fix: resolve hello-world contract test failures and improve basic fun…
1nonlypiece Aug 4, 2025
bcea690
feat: add storage event types and emission functions for cleanup, opt…
1nonlypiece Aug 4, 2025
e715785
feat: implement storage optimization functions for market data manage…
1nonlypiece Aug 4, 2025
abcc8bc
feat: add storage management module with optimization, migration, and…
1nonlypiece Aug 4, 2025
f4ef170
fix: update storage tests to ensure proper contract environment setup…
1nonlypiece Aug 4, 2025
955b4a6
feat: implement storage optimization and efficient data structure man…
1nonlypiece Aug 4, 2025
8abbb3e
refactor: comment out test_storage_config for future review and adjus…
1nonlypiece Aug 4, 2025
9ca24cd
feat: implement comprehensive error system with categorization and re…
1nonlypiece Aug 4, 2025
4791245
docs: add gas cost benchmarking procedures to GAS_BENCHMARKING.md
Cherrypick14 Aug 9, 2025
ffe8610
docs: add gas optimization case studies to GAS_CASE_STUDIES.md
Cherrypick14 Aug 9, 2025
a22b7f8
docs: add gas usage analysis documentation for predictify-hybrid func…
Cherrypick14 Aug 9, 2025
4800ea8
docs: add gas monitoring and operations guidelines to GAS_MONITORING.md
Cherrypick14 Aug 9, 2025
7287777
docs: add gas optimization guide for Soroban contracts in GAS_OPTIMIZ…
Cherrypick14 Aug 9, 2025
0cd8768
docs: add gas optimization testing guidelines for Soroban contracts i…
Cherrypick14 Aug 9, 2025
61b46dc
docs: add gas optimization troubleshooting guide for Soroban contract…
Cherrypick14 Aug 9, 2025
1b5e0c7
docs: update README.md with gas optimization documentation links for …
Cherrypick14 Aug 9, 2025
a79c466
docs: create organized documentation directory structure
1nonlypiece Aug 10, 2025
ad31d07
docs: move API_DOCUMENTATION.md to docs/api/
1nonlypiece Aug 10, 2025
2ba2886
docs: move ATTACK-VECTORS.md to docs/security/
1nonlypiece Aug 10, 2025
cac66d8
docs: move AUDIT_CHECKLIST.md to docs/security/
1nonlypiece Aug 10, 2025
26c4b65
docs: move SECURITY_BEST_PRACTICES.md to docs/security/
1nonlypiece Aug 10, 2025
7c715c2
docs: move SECURITY_CONSIDERATIONS.md to docs/security/
1nonlypiece Aug 10, 2025
e4659ef
docs: move SECURITY_TESTING_GUIDE.md to docs/security/
1nonlypiece Aug 10, 2025
ba8a433
docs: move GAS_BENCHMARKING.md to docs/gas/
1nonlypiece Aug 10, 2025
585947e
docs: move GAS_CASE_STUDIES.md to docs/gas/
1nonlypiece Aug 10, 2025
a88ea29
docs: move GAS_COST_ANALYSIS.md to docs/gas/
1nonlypiece Aug 10, 2025
9a4cf5e
docs: move GAS_MONITORING.md to docs/gas/
1nonlypiece Aug 10, 2025
61fd121
docs: move GAS_OPTIMIZATION.md to docs/gas/
1nonlypiece Aug 10, 2025
c410b07
docs: move GAS_TESTING_GUIDELINES.md to docs/gas/
1nonlypiece Aug 10, 2025
3b8d151
docs: move GAS_TROUBLESHOOTING.md to docs/gas/
1nonlypiece Aug 10, 2025
99d7ccf
docs: move INCIDENT_RESPONSE.md to docs/operations/
1nonlypiece Aug 10, 2025
6321304
docs: update README.md to reference new organized documentation struc…
1nonlypiece Aug 10, 2025
c251eed
docs: add contracts documentation directory with TYPES_SYSTEM.md and …
1nonlypiece Aug 10, 2025
cb41f72
docs: remove TYPES_SYSTEM.md from contract folder (moved to docs/cont…
1nonlypiece Aug 10, 2025
1f11343
docs: remove VOTING_SYSTEM.md from contract folder (moved to docs/con…
1nonlypiece Aug 10, 2025
8dbf170
docs: update docs README.md to include contracts documentation section
1nonlypiece Aug 10, 2025
fb75855
feat: implement comprehensive market parameter validation
Jagadeeshftw Aug 20, 2025
1deddb9
fix: update validation test for duplicate outcomes to check for exact…
Jagadeeshftw Aug 20, 2025
dc72664
feat: introduce comprehensive oracle configuration validation
Jagadeeshftw Aug 20, 2025
1c482d5
feat: Implement Circuit Breaker Pattern for Emergency Pause and Safety
Jagadeeshftw Aug 20, 2025
59f1983
feat: Implement Batch Operations for Multiple Functions and Data Proc…
Jagadeeshftw Aug 20, 2025
f71f451
feat: Complete Audit Preparation and checklist system
anonfedora Sep 27, 2025
2ab9930
fix: audit
anonfedora Sep 27, 2025
54f3fbc
[Feat] :: Created Governance System for Contract Parameter Changes an…
ryzen-xp Sep 24, 2025
0918d59
Fix build eror
ryzen-xp Sep 24, 2025
9affb30
refactor: update batch operations with fixed types and test environme…
ikemHood Sep 27, 2025
205f44e
feat: add configuration history tracking and dynamic fee management
ikemHood Sep 27, 2025
9d47758
refactor: replace MarketLimits struct with individual fields in Confi…
ikemHood Sep 27, 2025
d6a195b
fix error
ryzen-xp Sep 28, 2025
3b34aac
feat: add reentrancy protection for external calls and token transfers
ikemHood Sep 27, 2025
09e4d0e
fix: errors/test
anonfedora Sep 28, 2025
46289e0
fix: failing build
anonfedora Sep 28, 2025
a912848
feat: Implement comprehensive versioning system for contract upgrades…
Jagadeeshftw Sep 28, 2025
db11ed3
feat: Introduce comprehensive monitoring system for contract health a…
Jagadeeshftw Sep 29, 2025
f3555d5
added property based test
truthixify Sep 28, 2025
58ee48d
feat: implemented graceful degradation
davedumto Sep 29, 2025
c81557d
feat: multi admin role based system
Bosun-Josh121 Sep 29, 2025
578ef7a
tests
Bosun-Josh121 Sep 29, 2025
17bf27e
Implement Error Recovery Mechanisms and Resilience Patterns #100
akintewe Sep 22, 2025
32854a8
Fix warnings in error recovery implementation
akintewe Sep 22, 2025
f5c390e
Fix final warning in error recovery code
akintewe Sep 22, 2025
7ecc398
Fix compilation errors to make CI pipeline pass
akintewe Sep 22, 2025
e847e77
Fix final compilation error in error recovery
akintewe Sep 22, 2025
81cd212
Fix string comparison in error recovery strategy
akintewe Sep 22, 2025
be378d6
Fix test compilation errors
akintewe Sep 22, 2025
279f8dd
Fix remaining test compilation issues
akintewe Sep 22, 2025
d2ab54c
Fix Option<T> serialization issues for contract types
akintewe Sep 22, 2025
4cd5f68
Fix all remaining test compilation errors
akintewe Sep 23, 2025
b7880a6
Fix test runtime issues
akintewe Sep 23, 2025
20d6bbc
Fix error recovery tests with env.as_contract() wrapper
akintewe Sep 23, 2025
1c09ce8
Fix invalid address strings in test helper functions
akintewe Sep 23, 2025
4ed4a15
Fix testutils compilation error in CI
akintewe Sep 23, 2025
1e593fb
Fix remaining failing tests with env.as_contract() and mock_all_auths()
akintewe Sep 23, 2025
3dc518c
Fix all remaining failing tests with env.as_contract() wrappers
akintewe Sep 23, 2025
a2756bb
Fix final 8 failing tests with proper auth and function calls
akintewe Sep 23, 2025
340f4e9
Fix compilation error and deprecation warnings
akintewe Sep 23, 2025
ac5261f
Fix auth errors by moving mock_all_auths outside contract context
akintewe Sep 23, 2025
96eddb9
Fix final 7 failing tests with proper admin initialization
akintewe Sep 23, 2025
b919f01
Fix compilation errors by using correct admin initialization function
akintewe Sep 23, 2025
f9710c3
Fix admin initialization by using correct AdminInitializer struct
akintewe Sep 23, 2025
d84ab51
Fix vec macro import in test.rs
akintewe Sep 23, 2025
2afe75f
Fix failing tests by moving address creation outside contract context
akintewe Sep 23, 2025
8557679
Fix batch statistics test compilation errors
akintewe Sep 23, 2025
4d416dc
Simplify failing tests to avoid admin validation complexity
akintewe Sep 23, 2025
f709c7a
Fix remaining 4 failing tests
akintewe Sep 23, 2025
d221973
Resolve merge conflicts and clean up code
akintewe Sep 28, 2025
43a275b
Fix compilation errors and remove reentrancy guard dependencies
akintewe Sep 28, 2025
dbab83b
Fix error recovery tests to avoid segmentation faults
akintewe Sep 29, 2025
472337b
refactor: reorganize imports and improve code structure in various mo…
pushkarm029 Sep 28, 2025
c1570d5
fix: update parameter validation and improve code formatting
pushkarm029 Sep 29, 2025
a57cee9
[Feat]:: Added Market Pause and Resume Capabilities with Duration Limits
ryzen-xp Sep 29, 2025
2f3fc3d
[Feat]:: Added Rate Limiting to Prevent Abuse and Ensure Fair Usage
ryzen-xp Sep 30, 2025
5b35756
fux test
ryzen-xp Sep 30, 2025
123a444
fix reentrancy_guard
ryzen-xp Oct 2, 2025
2a6c4e4
fix
ryzen-xp Oct 2, 2025
e72e14c
feat: add recovery methods for market state management
armandocodecr Sep 29, 2025
f32661a
feat: implement recovery mechanisms and associated tests
armandocodecr Sep 29, 2025
864ccd7
refactor: remove fee_amount parameter from recovery function and clea…
armandocodecr Sep 29, 2025
2afe873
feat: retrieve dynamic platform fee percentage for user share calcula…
armandocodecr Oct 2, 2025
b95ba71
refactor: remove unused imports and reentrancy check from edge case h…
armandocodecr Oct 2, 2025
4f2a3cc
fix import
ryzen-xp Oct 2, 2025
1f37df2
chore: fix the build issue an ci flow
davedumto Oct 2, 2025
b948128
[Feat]:: Added Complete Band Protocol Oracle Support with Real Contra…
ryzen-xp Oct 3, 2025
6d6df24
Event emission
pushkarm029 Oct 4, 2025
1dd80d0
Merge master into event-emission branch
pushkarm029 Oct 5, 2025
027794b
feat: add upgrade-related events for contract upgrade tracking
emarc99 Oct 4, 2025
31d1fe0
fmt
pushkarm029 Oct 5, 2025
87570fe
[Feat]:: Implemented Oracle Contract Validation and Approved Oracle W…
ryzen-xp Oct 5, 2025
fe00101
added robust input validation for all contract functions
truthixify Oct 5, 2025
47bad41
Implement Market Analytics Functions for Data Analysis and Insights
Baskarayelu Oct 6, 2025
09adebc
Implement Performance Benchmark Tests for Gas Usage and Execution Time
Baskarayelu Oct 6, 2025
8274be6
Remove PR_issue-1.md from commit; MR notes should not be committed
Baskarayelu Oct 6, 2025
c0cf641
init
pushkarm029 Oct 6, 2025
7a50148
chore: add .env files to .gitignore for security
Jagadeeshftw Jan 15, 2026
71bf230
docs: comprehensive README update for contributor onboarding
Jagadeeshftw Jan 15, 2026
14adaa0
test/event-creation-tests
Jan 22, 2026
615fd6b
event-creation-tests
Jan 30, 2026
26eacab
test evention
Jan 30, 2026
548d137
test/event
Jan 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env copy.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
EXPO_PUBLIC_API_BASE_URL=https://api.teachlink.com
EXPO_PUBLIC_SOCKET_URL=wss://api.teachlink.com
EXPO_PUBLIC_APP_ENV=production
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
EXPO_PUBLIC_API_BASE_URL=https://api.teachlink.com
EXPO_PUBLIC_SOCKET_URL=wss://api.teachlink.com
EXPO_PUBLIC_APP_ENV=production
42 changes: 42 additions & 0 deletions .gitignore copy
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files

# dependencies
node_modules/

# Expo
.expo/
dist/
web-build/
expo-env.d.ts

# Native
.kotlin/
*.orig.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision

# Metro
.metro-health-check*

# debug
npm-debug.*
yarn-debug.*
yarn-error.*

# macOS
.DS_Store
*.pem

# local env files
.env*.local

# typescript
*.tsbuildinfo

# generated native folders
/ios
/android
.env
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "recommendations": ["expo.vscode-expo-tools"] }
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit",
"source.sortMembers": "explicit"
}
}
27 changes: 27 additions & 0 deletions App copy.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import React, { useEffect } from 'react';
import { StatusBar } from 'expo-status-bar';
import AppNavigator from './src/navigation/AppNavigator';
import { useAppStore } from './src/store';
import socketService from './src/services/socket';
import "./global.css";

export default function App() {
const theme = useAppStore((state) => state.theme);

useEffect(() => {
// Connect to socket when app starts
socketService.connect();

// Cleanup on unmount
return () => {
socketService.disconnect();
};
}, []);

return (
<>
<StatusBar style={theme === 'dark' ? 'light' : 'dark'} />
<AppNavigator />
</>
);
}
44 changes: 44 additions & 0 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import React, { useEffect } from 'react';
import { StatusBar } from 'expo-status-bar';
import { LogBox } from 'react-native';
import AppNavigator from './src/navigation/AppNavigator';
import { useAppStore } from './src/store';
import socketService from './src/services/socket';
import { ErrorBoundary } from './src/components/common/ErrorBoundary';
import "./global.css";

// Enable error logging to console (visible in Metro bundler)
if (__DEV__) {
// Log all errors to console
const originalError = console.error;
console.error = (...args) => {
originalError(...args);
// Errors will appear in Metro bundler terminal
};

// Show warnings in console but don't break the app
LogBox.ignoreLogs([
'Non-serializable values were found in the navigation state',
]);
}

export default function App() {
const theme = useAppStore((state) => state.theme);

useEffect(() => {
// Connect to socket when app starts
socketService.connect();

// Cleanup on unmount
return () => {
socketService.disconnect();
};
}, []);

return (
<ErrorBoundary>
<StatusBar style={theme === 'dark' ? 'light' : 'dark'} />
<AppNavigator />
</ErrorBoundary>
);
}
43 changes: 43 additions & 0 deletions FIX_REANIMATED.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Fixing React Native Reanimated Errors

## Steps to Fix:

1. **Stop the current Metro bundler** (Ctrl+C in the terminal)

2. **Clear all caches:**
```bash
# Clear Metro bundler cache
npx expo start --clear

# OR if that doesn't work, clear everything:
npm start -- --reset-cache
```

3. **If using Expo Go, you may need to:**
- Close and reopen the Expo Go app on your device
- Or rebuild if using a development build

4. **If errors persist, try:**
```bash
# Clear watchman (if installed)
watchman watch-del-all

# Clear node_modules and reinstall
rm -rf node_modules
npm install

# Clear Expo cache
npx expo start --clear
```

## What Was Fixed:

βœ… Added `react-native-reanimated/plugin` to `babel.config.js` (must be last plugin)
βœ… Updated `react-native-safe-area-context` to `~5.6.0`
βœ… Fixed `SafeAreaView` import to use `react-native-safe-area-context`

## Important Notes:

- The Reanimated plugin **must be the last plugin** in the babel config
- After making babel config changes, you **must** clear the cache
- If using a development build, you may need to rebuild the native app
66 changes: 66 additions & 0 deletions FIX_WORKLETS_ERROR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Fixed: Worklets Version Mismatch Error

## Problem
You were getting this error:
```
WorkletsError: [Worklets] Mismatch between JavaScript part and native part of Worklets (0.7.2 vs 0.5.1)
```

This happened because:
- Expo Go has a pre-built native module with Worklets 0.5.1
- Your JavaScript code was trying to use Worklets 0.7.2 (from react-native-reanimated)
- These versions don't match, causing a crash

## Solution Applied βœ…

I've replaced **react-native-reanimated** with **React Native's built-in Animated API** in all components:

1. **LessonCarousel.tsx** - Progress bar animation now uses `Animated.Value`
2. **MobileSyllabus.tsx** - Section expand/collapse uses simple state (no animation needed)
3. **BookmarkButton.tsx** - Button animations use `Animated.spring` and `Animated.sequence`
4. **babel.config.js** - Removed reanimated plugin

## What Changed

### Before (Reanimated - causes error):
```typescript
import Animated, { useSharedValue, withSpring } from 'react-native-reanimated';
const progress = useSharedValue(0);
progress.value = withSpring(100);
```

### After (React Native Animated - works with Expo Go):
```typescript
import { Animated } from 'react-native';
const progress = useRef(new Animated.Value(0)).current;
Animated.spring(progress, { toValue: 100 }).start();
```

## Next Steps

1. **Stop your current Metro bundler** (Ctrl+C)

2. **Clear cache and restart:**
```bash
npx expo start --clear
```

3. **Reload your app** on your phone (shake device β†’ Reload, or press `r` in terminal)

4. **The error should be gone!** πŸŽ‰

## Benefits

βœ… Works with Expo Go (no native build needed)
βœ… No version mismatches
βœ… Smooth animations still work
βœ… All features intact (swipeable lessons, progress tracking, bookmarks, etc.)

## Optional: If You Want to Use Reanimated Later

If you want to use react-native-reanimated in the future, you'll need to:
1. Create a **development build** (not Expo Go)
2. Run: `npx expo install react-native-reanimated`
3. Rebuild the native app: `npx expo run:android` or `npx expo run:ios`

But for now, the built-in Animated API works perfectly! πŸš€
45 changes: 45 additions & 0 deletions README copy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
### πŸ“± `mobile/README.md`


# Teachme Mobile

The mobile application for the Teachme platform β€” giving technocrats a way to share and consume knowledge on the go.

## πŸ“² Built With
- **Expo (React Native)**
- **Tailwind (via NativeWind)**
- **React Navigation**
- **Redux Toolkit or Zustand**
- **Axios**
- **Socket.IO for real-time features**

## πŸ§ͺ Running the App

```bash
git clone https://github.com/your-org/teachme-mobile.git
cd teachme-mobile
cp .env.example .env
npm install
npx expo start
```

πŸ”₯ Features
- **Cross-platform (iOS & Android)**
- **Share and browse knowledge content**
- **Live chat and push notifications**
- **Earn from your contributions**
- **Dark/light mode**

πŸ“ Folder Structure
```bash
css
Copy
Edit
src/
β”œβ”€β”€ screens/
β”œβ”€β”€ components/
β”œβ”€β”€ navigation/
β”œβ”€β”€ services/
└── store/
```
[Figma Link](https://www.figma.com/design/0RX6a19AbtemWmq8GLX1Y4/TeachLink-Project?node-id=0-1&t=gfrhW9c55Pxnfrl1-0)
45 changes: 45 additions & 0 deletions README.old.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
### πŸ“± `mobile/README.md`

```md
# Teachme Mobile

The mobile application for the Teachme platform β€” giving technocrats a way to share and consume knowledge on the go.

## πŸ“² Built With
- **Expo (React Native)**
- **Tailwind (via NativeWind)**
- **React Navigation**
- **Redux Toolkit or Zustand**
- **Axios**
- **Socket.IO for real-time features**

## πŸ§ͺ Running the App

```bash
git clone https://github.com/your-org/teachme-mobile.git
cd teachme-mobile
cp .env.example .env
npm install
npx expo start
πŸ”₯ Features
Cross-platform (iOS & Android)

Share and browse knowledge content

Live chat and push notifications

Earn from your contributions

Dark/light mode

πŸ“ Folder Structure
css
Copy
Edit
src/
β”œβ”€β”€ screens/
β”œβ”€β”€ components/
β”œβ”€β”€ navigation/
β”œβ”€β”€ services/
└── store/
[Figma Link](https://www.figma.com/design/0RX6a19AbtemWmq8GLX1Y4/TeachLink-Project?node-id=0-1&t=gfrhW9c55Pxnfrl1-0)
Loading
Loading