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

Presto: publish Crop Receipt #1294

Merged
merged 9 commits into from
Dec 9, 2024
Merged

Presto: publish Crop Receipt #1294

merged 9 commits into from
Dec 9, 2024

Conversation

wer1st
Copy link
Contributor

@wer1st wer1st commented Dec 9, 2024

When Crop Receipt is published:

  • Register & mint new Coupon asset
  • Transer Coupons to CR owner
  • Register Coupon/PRUSD trading pair
  • Create Coupon/PRSUD order book
  • Place all Coupons in order book on behalf of CR owner

@wer1st wer1st merged commit 98e869a into master Dec 9, 2024
6 checks passed
@wer1st wer1st deleted the presto-publish-crop-receipt branch December 9, 2024 14:45
CvijanCBS pushed a commit that referenced this pull request Jan 24, 2025
vovac12 added a commit that referenced this pull request Jan 24, 2025
* feat: setting up collateral factor and implementing it in borrow and add_collateral extrinsic

* Presto: publish Crop Receipt (#1294)

Signed-off-by: Mikhail Tagirov <[email protected]>

* Presto: fix strings (#1296)

Signed-off-by: Mikhail Tagirov <[email protected]>

* cover with wip new fee events (#1297)

* Presto: fix USA name (#1298)

Signed-off-by: Mikhail Tagirov <[email protected]>

* Prepare release 4.5.2 (#1299)

Co-authored-by: Mikhail Tagirov <[email protected]>

* Presto: benchmarks (#1300)

* benchmarks

Signed-off-by: Mikhail Tagirov <[email protected]>

* weights

Signed-off-by: Mikhail Tagirov <[email protected]>

---------

Signed-off-by: Mikhail Tagirov <[email protected]>

* fix: adjusting the default value for the collateral factor

* Presto: minor fix flag

Signed-off-by: Mikhail Tagirov <[email protected]>

* Change fee to small fee for vesting (#1304)

* change fee to small fee for vesting

* Random xor-fee remint (#1305)

* Random xor-fee remint

* Add benchmark

* Fix clippy

* Fix review issues

* Prepare release 4.5.3 (#1306)

* Prepare release 4.5.3

* Update Cargo.lock

* Benchmark results of benchmarking-4.5.3 from master (#1308)

* Fix benchmarking

* benchmarking results

Signed-off-by: sorabot <[email protected]>

* Fix benchmarks

* Fix xor-fee and demeter benchmarks

* Fix remint without wip

* benchmarking results

Signed-off-by: sorabot <[email protected]>

---------

Signed-off-by: sorabot <[email protected]>
Co-authored-by: Vladimir Stepanenko <[email protected]>

* 1171 xorless fee part 2 (#1290)

* add check for depth

* change assets in migration

* compute fee for order book and vested transfer

* update Carrgo.lock

* add set referrer

---------

Co-authored-by: Vladimir Stepanenko <[email protected]>

* aggregating total collateral amount in separate storage for easier tracking

* migrations for the new approach with total collateral amount

* test coverage of new features

* updating typos in the lib of apollo pallet

* migration update

* Test coverage for updated migration

* minor update to migrations tests in apollo platform

* Moving runtime upgrade to empty struct (MigrateToV1) with OnRuntimeUpgrade implementation

* Presto KYC (#1309)

Signed-off-by: Mikhail Tagirov <[email protected]>

* fix: typo

* fix: changing migration checks for pre and post upgrade

* Update const STORAGE_VERSION from 0 to 1

Co-authored-by: Vladimir Stepanenko <[email protected]>

* Update multiplier for reading the old and new storage

Co-authored-by: Vladimir Stepanenko <[email protected]>

* Fix TBC reserves distribution (#1311)

* Fix TBC reserves distribution

* Update pallets/multicollateral-bonding-curve-pool/src/mock.rs

Co-authored-by: Taras Rusakovich <[email protected]>

---------

Co-authored-by: Taras Rusakovich <[email protected]>

* Prepare release 4.5.4 (#1312)

* feat: added apollo-platform migrations to the runtime migrations

---------

Signed-off-by: Mikhail Tagirov <[email protected]>
Signed-off-by: sorabot <[email protected]>
Co-authored-by: CvijanCBS <[email protected]>
Co-authored-by: Mikhail Tagirov <[email protected]>
Co-authored-by: Taras Rusakovich <[email protected]>
Co-authored-by: Vladimir Stepanenko <[email protected]>
Co-authored-by: sorabot <[email protected]>
Co-authored-by: Cvijan Djukanovic <[email protected]>
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.

4 participants