Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
fe1fc32
Add orderbook contract
lambdart Nov 18, 2024
69e6a11
Add orderbook tests
lambdart Nov 18, 2024
d399afd
Add safe multiset wrapper
lambdart Nov 18, 2024
7a27b77
Add orderbook files to be compiled
lambdart Nov 18, 2024
964a9fe
Add check method
lambdart Nov 18, 2024
fe40ef8
Add OrderBook contract type
lambdart Nov 18, 2024
dd50792
Add exp10 template function
lambdart Nov 18, 2024
c56df6c
Add orderbook test to be compiled
lambdart Nov 18, 2024
3fc744d
Add market orders
lambdart Nov 29, 2024
3bfab28
Add more tests
lambdart Dec 11, 2024
28c1c66
Add delete bid limit order test
lambdart Dec 13, 2024
95d1641
Remove const type qualifier (temporary)
lambdart Dec 13, 2024
2a2ec3d
Add build no cache action
lambdart Dec 13, 2024
b341be5
Add initialize list (this)
lambdart Dec 18, 2024
dec652f
Add simple tests
lambdart Dec 18, 2024
545cd7b
Fix memory leaks
lambdart Dec 19, 2024
55b441d
Add 'delete ask limit order' test
lambdart Dec 19, 2024
82c0ead
Modify market order parameters
lambdart Jan 21, 2025
5902828
Add test for market orders
lambdart Jan 21, 2025
15985f5
Add evaluation of market orders methods (bid and ask)
lambdart Jan 31, 2025
3977748
Add tests to market orders
lambdart Jan 31, 2025
2a450c4
Simplify the evaluation of ask market order
lambdart Feb 4, 2025
61a945a
Delete evaluateMarketAskOrder signature
lambdart Feb 4, 2025
bf2b767
Remove print debug information
lambdart Feb 5, 2025
a9845a4
Fix typo
lambdart Feb 5, 2025
b051573
Add registered false to commit and revert operations
lambdart Feb 5, 2025
9e3a31f
Remove duplicate parameter (doxygen)
lambdart Feb 5, 2025
f8bbeda
Add constructor names to the registerContract method
lambdart Feb 5, 2025
eaa2606
Update sonar scanner environment path
lambdart Feb 6, 2025
257f5d6
Merge branch 'testnet-0.2' into contract/orderbook
itamarcps Apr 22, 2025
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
1 change: 1 addition & 0 deletions docker/bdk_cpp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ RUN /sonarcloud.sh
ENV PATH=/root/.sonar/build-wrapper-linux-x86:$PATH
ENV PATH=/root/.sonar/sonar-scanner-6.2.1.4610-linux-x64/bin:$PATH
ENV PATH=/root/.sonar/sonar-scanner-6.2.0.4584-linux-x64/bin:$PATH
ENV PATH=/root/.sonar/sonar-scanner-7.0.1.4817-linux-x64/bin:$PATH
ENV PATH=/usr/local/bin:$PATH

# Copy the entrypoint script
Expand Down
8 changes: 8 additions & 0 deletions scripts/auto_actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,14 @@ _build_action ()
_compose_action build
}

_build_no_cache_action ()
{
# update services if necessary
_COMPOSE_SERVICE=${_COMPOSE_SERVICE:=`(_services_action)`}

# build services
_compose_action build --no-cache
}
_start_action ()
{
# update services if necessary
Expand Down
2 changes: 2 additions & 0 deletions src/contract/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ set(CONTRACT_HEADERS
${CMAKE_SOURCE_DIR}/src/contract/templates/dexv2/dexv2pair.h
${CMAKE_SOURCE_DIR}/src/contract/templates/dexv2/dexv2router02.h
${CMAKE_SOURCE_DIR}/src/contract/templates/dexv2/uq112x112.h
${CMAKE_SOURCE_DIR}/src/contract/templates/orderbook/orderbook.h
${CMAKE_SOURCE_DIR}/src/contract/templates/pebble.h
${CMAKE_SOURCE_DIR}/src/contract/templates/buildthevoid.h
${CMAKE_SOURCE_DIR}/src/contract/templates/btvplayer.h
Expand Down Expand Up @@ -85,6 +86,7 @@ set(CONTRACT_SOURCES
${CMAKE_SOURCE_DIR}/src/contract/templates/dexv2/dexv2library.cpp
${CMAKE_SOURCE_DIR}/src/contract/templates/dexv2/dexv2pair.cpp
${CMAKE_SOURCE_DIR}/src/contract/templates/dexv2/dexv2router02.cpp
${CMAKE_SOURCE_DIR}/src/contract/templates/orderbook/orderbook.cpp
${CMAKE_SOURCE_DIR}/src/contract/templates/pebble.cpp
${CMAKE_SOURCE_DIR}/src/contract/templates/buildthevoid.cpp
${CMAKE_SOURCE_DIR}/src/contract/templates/btvplayer.cpp
Expand Down
3 changes: 2 additions & 1 deletion src/contract/customcontracts.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ See the LICENSE.txt file in the project root for more information.
#include "templates/dexv2/dexv2pair.h"
#include "templates/dexv2/dexv2factory.h"
#include "templates/dexv2/dexv2router02.h"
#include "templates/orderbook/orderbook.h"
#include "templates/throwtestA.h"
#include "templates/throwtestB.h"
#include "templates/throwtestC.h"
Expand Down Expand Up @@ -40,7 +41,7 @@ using ContractTypes = std::tuple<
using ContractTypes = std::tuple<
ERC20, ERC20Wrapper, NativeWrapper, SimpleContract, DEXV2Pair, DEXV2Factory,
DEXV2Router02, ERC721, ThrowTestA, ThrowTestB, ThrowTestC, ERC721Test, TestThrowVars,
RandomnessTest, SnailTracer, SnailTracerOptimized, Pebble, BTVPlayer, BTVEnergy, BTVProposals, BuildTheVoid, ERC20Mintable, Ownable
RandomnessTest, SnailTracer, SnailTracerOptimized, Pebble, BTVPlayer, BTVEnergy, BTVProposals, BuildTheVoid, ERC20Mintable, OrderBook, Ownable
>;
#endif

Loading