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

chore(core-deposit): DepositAccount boilerplate #1111

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4181bcd
chore(core-deposit): DepositAccount boilerplate
bodymindarts Dec 5, 2024
44a0b7d
chore(deposit): deposit entity
bodymindarts Dec 6, 2024
28c3711
test: dummy perms wip
bodymindarts Dec 6, 2024
0b3cb8f
test: use DummyPerms in deposit test
bodymindarts Dec 6, 2024
cc672d5
test: account -> balance integration
bodymindarts Dec 6, 2024
3ea2595
chore(deposit): add DepositLedger
bodymindarts Dec 6, 2024
7047508
chore: record_deposit template
bodymindarts Dec 9, 2024
06ea2a4
chore: execute record_deposit template
bodymindarts Dec 10, 2024
b0c85ef
chore: impl balance usecase
thevaibhav-dixit Dec 10, 2024
037ae43
chore: templates for withdraw use case
thevaibhav-dixit Dec 10, 2024
f3374f8
chore: include deposit in sqlx-prepare
thevaibhav-dixit Dec 10, 2024
820f83a
chore: run sqlx prepare
thevaibhav-dixit Dec 10, 2024
8910ba9
refactor: rename AccountHolderId -> DepositAccountHolderId
bodymindarts Dec 10, 2024
6db5cc3
chore: withdrawal entity in core
thevaibhav-dixit Dec 11, 2024
9f01341
chore: impl withdrawal usecases
thevaibhav-dixit Dec 11, 2024
1daa635
chore: sqlx-prepare
bodymindarts Dec 12, 2024
028f89a
fix: add instrumentation to credit_facility.list
bodymindarts Dec 12, 2024
da687a1
chore: clippy
bodymindarts Dec 12, 2024
be88560
chore: CreditLedger boilerplate
bodymindarts Dec 12, 2024
b3ed46e
chore: create credit facility accounts
bodymindarts Dec 12, 2024
45db3d0
chore: run sqlx-prepare
vindard Dec 12, 2024
4bd5546
chore: move get_credit_facility_balance
bodymindarts Dec 13, 2024
fbf907d
chore: add / remove collateral templates
bodymindarts Dec 13, 2024
cb305ca
chore: fix name
bodymindarts Dec 13, 2024
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
401 changes: 335 additions & 66 deletions Cargo.lock

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ members = [
"core/user",
"core/governance",
"core/money",
"core/deposit",

"lib/authz",
"lib/audit",
Expand All @@ -22,8 +23,12 @@ members = [
]

[workspace.dependencies]
es-entity = "0.3.1"
sim-time = "0.3.1"
es-entity = { git = "https://github.com/galoymoney/cala.git", branch = "main" }
sim-time = { git = "https://github.com/galoymoney/cala.git", branch = "main" }
cala-ledger = { git = "https://github.com/galoymoney/cala.git", branch = "main" }
# es-entity = "0.3.1"
# sim-time = "0.3.1"
# cala-ledger = "0.3.1"

anyhow = "1.0.92"
async-graphql = { version = "7.0.11", default-features = false, features = ["dataloader", "tracing", "chrono", "playground"] }
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ sqlx-prepare:
cd lib/outbox && cargo sqlx prepare
cd core/governance && cargo sqlx prepare
cd core/user && cargo sqlx prepare
cd core/deposit && cargo sqlx prepare
cd lana/app && cargo sqlx prepare
cd lana/dashboard && cargo sqlx prepare

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading