Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Smart Contract: Interstellar Currency Exchange #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Clawue884
Copy link

Penjelasan Fitur

  1. Oracle Integration: Kontrak terhubung ke oracle eksternal untuk mendapatkan nilai tukar antar mata uang secara dinamis.

  2. Logging and Transparency: Semua transaksi konversi dicatat dalam array conversionLogs untuk audit dan transparansi.

  3. Admin Control: Fungsi tertentu, seperti mengatur oracle baru, hanya dapat diakses oleh admin.

  4. Optimized Calculation: Konversi dilakukan dengan menggunakan 1e18 sebagai basis untuk menjaga presisi nilai tukar.

  5. Real-Time Data Access: Pengguna dapat mengakses log terakhir, jumlah total log, atau log tertentu berdasarkan indeks.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Penjelasan Fitur

1. Oracle Integration:
Kontrak terhubung ke oracle eksternal untuk mendapatkan nilai tukar antar mata uang secara dinamis.


2. Logging and Transparency:
Semua transaksi konversi dicatat dalam array conversionLogs untuk audit dan transparansi.


3. Admin Control:
Fungsi tertentu, seperti mengatur oracle baru, hanya dapat diakses oleh admin.


4. Optimized Calculation:
Konversi dilakukan dengan menggunakan 1e18 sebagai basis untuk menjaga presisi nilai tukar.


5. Real-Time Data Access:
Pengguna dapat mengakses log terakhir, jumlah total log, atau log tertentu berdasarkan indeks.
@Zws758857
Copy link

ok

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.

2 participants