Repository navigation
·
1 commit
to main
since this release
- SHA-256 hash:
fd89fec8cb9e9941db7988131efd7a4acbb04a2be9f091524abd0d1a669ebd96
Deployments
| Type | Canister ID | Deployed? |
|---|---|---|
| 🚀 Production | lh22c-kyaaa-aaaar-qb5nq-cai |
❌ |
| 🧪 Staging | ljyxk-riaaa-aaaar-qb5mq-cai |
✅ |
What's Changed
The automatic deposit flow is disabled until automatic_deposit_fee is set, which the upgrade installing this version should do, as described under "Enable the automatic deposit flow" in the deployment guide. Once the flow is enabled, the upgrade can no longer be rolled back: a faulty version has to be fixed forward.
Added
- Automatic deposits:
watch_deposit_addressregisters the deposit address of the caller's account for free and reports on the registration, so that SOL sent straight from an exchange is credited without a further call. A timer scans the watched addresses withgetMultipleAccountson a schedule spread over a day and queues a deposit that reachesminimum_deposit_amountexactly asdeposit_solwould, deducting the newautomatic_deposit_feeinit and upgrade parameter from the minted amount;get_minter_inforeports the fee and the collected fees (#277, #279, #280, #281, #282, #283, #291, #274) - A sweep of automatic deposits that fails or expires puts their addresses back on the watchlist for a fresh window, if it has room, so that the funds are swept again under a new deposit id without any call (#284)
- The watchlist is recorded in a new event before an upgrade, unless it is empty, and restored on replay (#285)
- Observability: metrics for the watched addresses against the capacity of the watchlist, the age of the earliest due scan, the scans by outcome, the re-arms of dropped automatic deposits by outcome and the collected fees, and on the dashboard the fee, the collected fees and the watched addresses (#287)
- ICRC-21 consent messages:
icrc21_canister_call_consent_messagedescribes awithdraw_solrequest, with the amount to burn, the current withdrawal fee, the estimated amount to receive, the destination address and the source subaccount, if any, so that ICRC-21-aware wallets can show it before the user signs.icrc10_supported_standardslists ICRC-10 and ICRC-21. Contributed by robin-liquidium (#295)
Changed
deposit_solreturns the deposit that a scan queued for the same account during its balance read, charging only the read, so that the same balance is never queued twice (#286)- The
dropped_depositsmetric is split by theoriginof the deposit,manualorautomatic(#287)
Reproducible build
The attached cksol_minter.wasm.gz is built reproducibly. To verify the hash matches:
git checkout cksol_minter-v0.2.0
just docker-build
sha256sum wasms/cksol_minter.wasm.gz