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

Vault + auction #17

Merged
merged 210 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
e9eb4d7
add base genesis
ThanhNhann Sep 4, 2024
59a9f6d
update oracle ibc handle
ThanhNhann Sep 4, 2024
165b08a
setup handle oracle requests at begin block
ThanhNhann Sep 6, 2024
9630cf4
delete data record incase timeout and ack error
ThanhNhann Sep 9, 2024
ef78524
add msg request band rates
ThanhNhann Sep 9, 2024
8494c41
add process band oracle prices flow
ThanhNhann Sep 9, 2024
fa4f6ba
clean tx request band rates
ThanhNhann Sep 9, 2024
5fa5715
update genesis
ThanhNhann Sep 9, 2024
0363249
new module psm
DongLieu Sep 9, 2024
2178ddb
add module psm for app and script test psm
DongLieu Sep 9, 2024
9dd744d
minor
DongLieu Sep 10, 2024
d4781d8
updates
DongLieu Sep 10, 2024
b277181
add update band params proposal
ThanhNhann Sep 10, 2024
0bd4d22
clean
ThanhNhann Sep 10, 2024
b311cc8
Merge branch 'main' of https://github.com/onomyprotocol/reserve into …
ThanhNhann Sep 10, 2024
6b5c4f1
add ProposalAuthorizeBandOracleRequest
ThanhNhann Sep 11, 2024
363ed54
proto
hieuvubk Sep 11, 2024
2bb466f
initial version
sontrinh16 Sep 11, 2024
825adef
add UpdateBandOracleRequestProposal
ThanhNhann Sep 11, 2024
bca13eb
add tx authorize-band-oracle-request-proposal
ThanhNhann Sep 11, 2024
c894fc0
Merge branch 'main' of https://github.com/onomyprotocol/reserve into …
ThanhNhann Sep 11, 2024
6f4932b
add tx update-band-oracle-request-proposal
ThanhNhann Sep 11, 2024
9847429
add DeleteBandOracleRequestProposal
ThanhNhann Sep 11, 2024
43687cc
Merge branch 'main' into dong/psm-module
DongLieu Sep 12, 2024
263c0ef
add delete-band-oracle-request-proposal
ThanhNhann Sep 12, 2024
4ff4908
Merge branch 'main' of https://github.com/onomyprotocol/reserve into …
ThanhNhann Sep 12, 2024
c206f18
merge main
DongLieu Sep 12, 2024
fd3afdf
setup keeper test and test params
DongLieu Sep 12, 2024
313e185
Merge branch 'main' into hieu/vaults-module
DongLieu Sep 12, 2024
8e60e6e
update vault debt
hieuvubk Sep 12, 2024
163ff60
Merge branch 'hieu/vaults-module' of https://github.com/onomyprotocol…
hieuvubk Sep 12, 2024
401cb01
check liquidate vault
hieuvubk Sep 12, 2024
0cf579d
msg server
hieuvubk Sep 12, 2024
df6919c
updates
DongLieu Sep 12, 2024
b345820
add tests for psm keeper
DongLieu Sep 12, 2024
b7936d6
rename
DongLieu Sep 12, 2024
33d287d
add vaults to app config
hieuvubk Sep 12, 2024
b8f45f6
Merge branch 'main' into dong/psm-module
DongLieu Sep 13, 2024
a05b7cb
lint
DongLieu Sep 13, 2024
23fff4e
fix TestGenesisState_Validate
DongLieu Sep 13, 2024
4a77a0b
minor
ThanhNhann Sep 13, 2024
8f54ee1
updates
DongLieu Sep 13, 2024
c543414
adjustment fee in out
DongLieu Sep 13, 2024
1f3377c
minor
DongLieu Sep 13, 2024
ade9184
switch oracle to non inject module and add test for proposal to check
ThanhNhann Sep 15, 2024
6c5b383
update bid logic
sontrinh16 Sep 16, 2024
b8db018
add vault interface
sontrinh16 Sep 16, 2024
7019e03
add test for band oracle
ThanhNhann Sep 16, 2024
5ebbdfe
Merge pull request #15 from onomyprotocol/dong/vaults-to-app
hieuvubk Sep 16, 2024
56bd9db
add getprice func with base and quote
ThanhNhann Sep 16, 2024
4b860f1
add bandtesting support chain test
ThanhNhann Sep 16, 2024
5c250c5
Merge branch 'main' of https://github.com/onomyprotocol/reserve into …
ThanhNhann Sep 16, 2024
5cf915f
proto fix
vuong177 Sep 17, 2024
d4ae139
Merge branch 'son/auction_module' into dev
vuong177 Sep 17, 2024
7256944
minor
DongLieu Sep 18, 2024
58b40fc
refactor proto
vuong177 Sep 18, 2024
6e30dd4
refactor proto
vuong177 Sep 18, 2024
64f8f33
test and update minor
DongLieu Sep 18, 2024
ac3cbad
Merge branch 'main' into dong/test-vaults
DongLieu Sep 18, 2024
7451603
lint
DongLieu Sep 18, 2024
c3b72d8
impl auction
vuong177 Sep 19, 2024
313b4bd
Merge pull request #19 from onomyprotocol/dong/test-vaults
hieuvubk Sep 19, 2024
d045f14
update
hieuvubk Sep 19, 2024
d4bd8b5
resolve conflict@
hieuvubk Sep 19, 2024
71d8f0d
proto
hieuvubk Sep 19, 2024
e48be5a
refactor cli tx
DongLieu Sep 19, 2024
e3550a8
add price relay test
ThanhNhann Sep 19, 2024
45c6002
coding liquidate
hieuvubk Sep 19, 2024
09be7d2
add tx RequestBandRates to msg
ThanhNhann Sep 19, 2024
12e1126
tool ignite
DongLieu Sep 19, 2024
4396ae2
Merge branch 'main' into dong/psm-module
DongLieu Sep 19, 2024
15c6c4f
resolve conflict
DongLieu Sep 19, 2024
20bcd91
add ibc test
ThanhNhann Sep 20, 2024
00b172f
add register oracle ibc
ThanhNhann Sep 20, 2024
c24aade
update vault
hieuvubk Sep 22, 2024
868dd11
liquidation logic
hieuvubk Sep 22, 2024
99d0620
add check empty version in OnChanOpenInit
ThanhNhann Sep 23, 2024
a2438a6
merge vaults into debv
hieuvubk Sep 23, 2024
d06d95c
update logic and add test for OnRecvPacket
ThanhNhann Sep 24, 2024
eb9b486
clean
ThanhNhann Sep 24, 2024
5502d66
add query band prices state
ThanhNhann Sep 25, 2024
e4055d4
add logging
ThanhNhann Sep 25, 2024
6ca701f
Merge branch 'dev' of https://github.com/onomyprotocol/reserve into n…
ThanhNhann Sep 25, 2024
71a5a54
vault + auction
hieuvubk Sep 25, 2024
b6f9969
nit
vuong177 Sep 26, 2024
af61347
fix test getPrice
hungdinh82 Sep 26, 2024
d0b5186
fix test getPrice
hungdinh82 Sep 26, 2024
50fceea
fix test getPrice
hungdinh82 Sep 26, 2024
4bef72a
fix test getPrice
hungdinh82 Sep 26, 2024
892f919
update genesis
ThanhNhann Sep 26, 2024
22834ab
add AddNewSymbolToBandOracleRequest to support vault
ThanhNhann Sep 26, 2024
66c02e5
fillBid: send coins from vault addr
hieuvubk Sep 27, 2024
ba927e9
fix testGetPrice update
hungdinh82 Sep 27, 2024
04c4490
add test ProcessBandOraclePrices
hungdinh82 Sep 27, 2024
56bb96f
send sold to vaults module
hieuvubk Sep 27, 2024
80c6e02
fix testGetPrice update final
hungdinh82 Sep 27, 2024
e1c9abc
Merge pull request #23 from hungdinh82/hung/oracle_module
ThanhNhann Sep 27, 2024
bfe2c30
add testProcessBandOraclePrices
hungdinh82 Sep 27, 2024
b939f07
Merge remote-tracking branch 'upstream/nhan/oracle_module' into hung_…
hungdinh82 Sep 27, 2024
83ad682
mock GetPrice
hieuvubk Sep 29, 2024
bb1f1b1
update vaults params
hieuvubk Sep 29, 2024
7aa3346
refactor: update liquidate logic
hieuvubk Sep 29, 2024
823f7de
test liquidate with single vault
hieuvubk Sep 29, 2024
fbd6be6
fix depinject and ibc test
ThanhNhann Sep 30, 2024
81c9ccb
Merge branch 'nhan/oracle_module' of https://github.com/onomyprotocol…
ThanhNhann Sep 30, 2024
0da340e
sdk context to context
ThanhNhann Sep 30, 2024
5f3507e
Merge branch 'dev' of https://github.com/onomyprotocol/reserve into n…
ThanhNhann Sep 30, 2024
5dd0747
minor
ThanhNhann Sep 30, 2024
4bcb89e
add gov for MsgActiveCollateral module vaults
DongLieu Sep 30, 2024
ffcfe5c
updates
DongLieu Sep 30, 2024
667c3d4
fix ibc channel handshake
ThanhNhann Sep 30, 2024
ba5bcef
minor
ThanhNhann Sep 30, 2024
0aa253c
debug
ThanhNhann Sep 30, 2024
0d5798d
checking
ThanhNhann Sep 30, 2024
555d1b8
update ibc
ThanhNhann Sep 30, 2024
4134eca
fix capability
ThanhNhann Sep 30, 2024
eeb0b70
use proto type proposal
DongLieu Oct 1, 2024
e549a95
refactor gov psm
DongLieu Oct 1, 2024
5385760
close vault
hieuvubk Oct 1, 2024
3bdc3af
check vault status
hieuvubk Oct 1, 2024
5740455
vaults: set up test
hieuvubk Oct 1, 2024
6267f2a
test TestCreateNewVault
hieuvubk Oct 1, 2024
fc0204d
update vaults logic
hieuvubk Oct 1, 2024
82ec314
add cli and minor updates vaults
DongLieu Oct 2, 2024
9662130
add query for vaults
DongLieu Oct 2, 2024
8433f56
updates querry all stablecoin
DongLieu Oct 3, 2024
f64f668
add address to vault struct
hieuvubk Oct 3, 2024
d0599dc
Merge branch 'dev' of https://github.com/onomyprotocol/reserve into n…
ThanhNhann Oct 3, 2024
a4c1b16
updates vaults
DongLieu Oct 3, 2024
d2956c4
minor
DongLieu Oct 3, 2024
c37ec60
clean stale band call data record
ThanhNhann Oct 3, 2024
df18d72
Merge branch 'nhan/oracle_module' into hung_oracle_module_test_Proces…
hungdinh82 Oct 3, 2024
0605596
merge
hungdinh82 Oct 3, 2024
af1cbda
fix test update
hungdinh82 Oct 3, 2024
b525b15
fix test update
hungdinh82 Oct 3, 2024
451c86e
Merge pull request #30 from onomyprotocol/dong/updates-vaults
hieuvubk Oct 3, 2024
c9abcdd
resolve conflicts
DongLieu Oct 3, 2024
4844705
fix test update 3
hungdinh82 Oct 3, 2024
0e2e30b
Merge pull request #29 from onomyprotocol/dong/vaults-cli
vuong177 Oct 4, 2024
ae93379
merge dev
DongLieu Oct 4, 2024
ef6455d
add gov updates Collateral
DongLieu Oct 4, 2024
eaaceac
add AddNewSymbolToBandOracleRequest
DongLieu Oct 4, 2024
1b5f180
Merge pull request #24 from hungdinh82/hung_oracle_module_test_Proces…
ThanhNhann Oct 4, 2024
79e9025
Merge pull request #27 from onomyprotocol/dong/gov-dev
vuong177 Oct 4, 2024
451e9ee
minor
ThanhNhann Oct 4, 2024
7d42bf6
sdk context to context
ThanhNhann Oct 4, 2024
148c9e3
Merge branch 'dev' of https://github.com/onomyprotocol/reserve into n…
ThanhNhann Oct 7, 2024
df4c2be
Merge pull request #32 from onomyprotocol/nhan/clean_stale_band_call_…
vuong177 Oct 7, 2024
c86c35d
Merge pull request #9 from onomyprotocol/nhan/oracle_module
vuong177 Oct 7, 2024
2b55f3e
resolve conflicts
DongLieu Oct 7, 2024
fcaa233
fix getprice
DongLieu Oct 7, 2024
41adda7
updates
DongLieu Oct 7, 2024
50a2b4b
update oracle GetPrice API
vuong177 Oct 7, 2024
564d69d
nits
vuong177 Oct 7, 2024
7598d8f
resolve conflicts
DongLieu Oct 7, 2024
8729ff5
fix GetBandOracleRequestParams
ThanhNhann Oct 7, 2024
c38d20b
updates vaults keeper for auction
DongLieu Oct 8, 2024
e66b18a
minor
DongLieu Oct 8, 2024
483161c
update params
hieuvubk Oct 8, 2024
4016f68
charge fee
hieuvubk Oct 8, 2024
70c1690
update debt logic
hieuvubk Oct 8, 2024
e8fd425
minor
DongLieu Oct 8, 2024
9780e59
resolve conflicts
DongLieu Oct 8, 2024
b86a650
allocate memory for LastestAuctionPeriod
DongLieu Oct 9, 2024
738eca6
clean auction
DongLieu Oct 9, 2024
c5c3ccb
modify
DongLieu Oct 9, 2024
bc18005
Merge pull request #36 from onomyprotocol/fix_GetBandOracleRequestParams
vuong177 Oct 9, 2024
acaa3b8
Merge pull request #41 from onomyprotocol/dong/clean-auction
vuong177 Oct 9, 2024
fe56069
Merge pull request #39 from onomyprotocol/hieu/update_params
hieuvubk Oct 9, 2024
9c9788f
refactor vaults test
vuong177 Oct 9, 2024
296de39
nits
vuong177 Oct 9, 2024
d86dc6d
fix TestVaultsStore
vuong177 Oct 9, 2024
7d538c8
cli tx auction
DongLieu Oct 9, 2024
b5dbdb8
add response bid id
DongLieu Oct 9, 2024
f5fffb0
nits
DongLieu Oct 10, 2024
44da9c8
refactor oracle test
vuong177 Oct 10, 2024
56cd6ed
Merge pull request #37 from onomyprotocol/dong/auction-update-vaultsk…
vuong177 Oct 10, 2024
8aeeae2
Merge pull request #42 from onomyprotocol/dong/fix-oracle-proto
vuong177 Oct 10, 2024
8f32c9f
private lastestAuctionPeriod
DongLieu Oct 10, 2024
769b664
Merge pull request #40 from onomyprotocol/dong/init-LastestAuctionPeriod
vuong177 Oct 10, 2024
91344c7
remove proposal_handler in vaults keeper
vuong177 Oct 10, 2024
c083785
resolve conflicts
DongLieu Oct 10, 2024
3dead64
nits vault API
DongLieu Oct 10, 2024
f673184
implement interface v1beta1.Content
DongLieu Oct 10, 2024
fdafb5c
nit
vuong177 Oct 10, 2024
f0c4b00
nit
vuong177 Oct 10, 2024
0e1a5ff
nits
vuong177 Oct 10, 2024
d0c4d5c
Merge pull request #2 from onomyprotocol/dong/psm-module
vuong177 Oct 10, 2024
b9edd92
nits
DongLieu Oct 10, 2024
ebca120
api inject for psm
DongLieu Oct 10, 2024
abd0d03
deinject autions
DongLieu Oct 11, 2024
51747ad
signer MsgCancelBid not define
DongLieu Oct 11, 2024
8ae60fa
merge dev
DongLieu Oct 11, 2024
f693a34
querry
DongLieu Oct 11, 2024
8e2c9a4
beginblock for psm
DongLieu Oct 11, 2024
428ade5
minor
DongLieu Oct 11, 2024
c12c263
fix build
hieuvubk Oct 11, 2024
25698c6
use price directly
hieuvubk Oct 11, 2024
7bdff64
refactor
hieuvubk Oct 11, 2024
2699c07
update bid logic
hieuvubk Oct 11, 2024
3f2588b
handle case vault not enough for penalty
hieuvubk Oct 11, 2024
f83be09
updates
DongLieu Oct 12, 2024
280af4c
nits
DongLieu Oct 12, 2024
4809242
Merge pull request #45 from onomyprotocol/dong/cli-auction
DongLieu Oct 14, 2024
ca26305
merge dev
DongLieu Oct 14, 2024
454fa67
updates auction
DongLieu Oct 14, 2024
380e3bc
nits
DongLieu Oct 14, 2024
100300a
minor
DongLieu Oct 14, 2024
5fcfe86
Merge pull request #46 from onomyprotocol/hieu/update_auction
hieuvubk Oct 14, 2024
d2e8318
updates fee psm
DongLieu Oct 14, 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
Binary file added .DS_Store
Binary file not shown.
579 changes: 579 additions & 0 deletions api/reserve/auction/module/module.pulsar.go

Large diffs are not rendered by default.

3,509 changes: 3,509 additions & 0 deletions api/reserve/auction/v1/auction.pulsar.go

Large diffs are not rendered by default.

905 changes: 905 additions & 0 deletions api/reserve/auction/v1/genesis.pulsar.go

Large diffs are not rendered by default.

928 changes: 928 additions & 0 deletions api/reserve/auction/v1/params.pulsar.go

Large diffs are not rendered by default.

3,206 changes: 3,206 additions & 0 deletions api/reserve/auction/v1/tx.pulsar.go

Large diffs are not rendered by default.

209 changes: 209 additions & 0 deletions api/reserve/auction/v1/tx_grpc.pb.go

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

9 changes: 4 additions & 5 deletions api/reserve/oracle/genesis.pulsar.go

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

46 changes: 24 additions & 22 deletions api/reserve/oracle/module/module.pulsar.go

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

7 changes: 3 additions & 4 deletions api/reserve/oracle/packet.pulsar.go

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

9 changes: 4 additions & 5 deletions api/reserve/oracle/params.pulsar.go

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

Loading
Loading