-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix an issue that was preventing unit intervals to be created from doubles without decilams
- Loading branch information
1 parent
40b10c1
commit a741cb4
Showing
61 changed files
with
10,354 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Providers | ||
=================== | ||
|
||
This section of the documentation introduces the data providers for interacting with the Cardano blockchain: | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
provider | ||
provider_impl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
Provider | ||
========================== | ||
|
||
.. doxygentypedef:: cardano_provider_t | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_new | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_get_name | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_get_parameters | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_get_unspent_outputs | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_get_rewards_available | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_get_unspent_outputs_with_asset | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_get_unspent_output_by_nft | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_resolve_unspent_outputs | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_resolve_datum_outputs | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_confirm_transaction_outputs | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_submit_transaction | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_evaluate_transaction | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_unref | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_ref | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_refcount | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_set_last_error | ||
|
||
------------ | ||
|
||
.. doxygenfunction:: cardano_provider_get_last_error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Provider Implementation | ||
========================== | ||
|
||
.. doxygentypedef:: cardano_provider_impl_t | ||
|
||
------------ | ||
|
||
.. doxygentypedef:: cardano_get_parameters_func_t | ||
|
||
|
||
------------ | ||
|
||
.. doxygentypedef:: cardano_get_unspent_outputs_func_t | ||
|
||
------------ | ||
|
||
.. doxygentypedef:: cardano_get_rewards_balance_func_t | ||
|
||
------------ | ||
|
||
.. doxygentypedef:: cardano_get_unspent_outputs_with_asset_func_t | ||
|
||
------------ | ||
|
||
.. doxygentypedef:: cardano_get_unspent_output_by_nft_func_t | ||
|
||
------------ | ||
|
||
.. doxygentypedef:: cardano_resolve_unspent_outputs_func_t | ||
|
||
|
||
------------ | ||
|
||
.. doxygentypedef:: cardano_resolve_datum_func_t | ||
|
||
------------ | ||
|
||
.. doxygentypedef:: cardano_confirm_transaction_func_t | ||
|
||
|
||
------------ | ||
|
||
.. doxygentypedef:: cardano_submit_transaction_func_t | ||
|
||
|
||
------------ | ||
|
||
.. doxygentypedef:: cardano_evaluate_transaction_func_t | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FILE(GLOB EXAMPLE_SOURCES "*_example.c") | ||
MESSAGE(STATUS "Example sources: ${EXAMPLE_SOURCES}") | ||
|
||
FILE(GLOB_RECURSE PROVIDERS_HEADER_DIRS RELATIVE ${CMAKE_SOURCE_DIR} utils/ providers/) | ||
|
||
FILE(GLOB_RECURSE PROVIDERS_SOURCE_FILES utils/*.c providers/*.c) | ||
|
||
FIND_PACKAGE(CURL REQUIRED) | ||
|
||
FOREACH(EXAMPLE_SOURCE ${EXAMPLE_SOURCES}) | ||
GET_FILENAME_COMPONENT(EXAMPLE_TARGET_NAME ${EXAMPLE_SOURCE} NAME_WE) # Extract the filename without extension | ||
|
||
ADD_EXECUTABLE(${EXAMPLE_TARGET_NAME} ${EXAMPLE_SOURCE} ${PROVIDERS_SOURCE_FILES}) | ||
MESSAGE(STATUS "Example source: ${EXAMPLE_TARGET_NAME}") | ||
|
||
TARGET_INCLUDE_DIRECTORIES(${EXAMPLE_TARGET_NAME} PRIVATE ${CARDANO_C_INCLUDE_DIR}) | ||
TARGET_INCLUDE_DIRECTORIES(${EXAMPLE_TARGET_NAME} PRIVATE utils providers) | ||
|
||
TARGET_LINK_LIBRARIES(${EXAMPLE_TARGET_NAME} PRIVATE cardano-c ${CURL_LIBRARIES}) | ||
ENDFOREACH() |
Oops, something went wrong.