Closed limemloh closed 1 year ago
Moved ExchangeRate type from concordium-base needed for the contract chain queries.
ExchangeRate
concordium-base
Related to https://github.com/Concordium/concordium-base/pull/254 and https://github.com/Concordium/concordium-rust-smart-contracts/pull/185
num-integer
gcd
derive-serde
Please state in the PR that is is moved from concordium-base.
Purpose
Moved
ExchangeRate
type fromconcordium-base
needed for the contract chain queries.Related to https://github.com/Concordium/concordium-base/pull/254 and https://github.com/Concordium/concordium-rust-smart-contracts/pull/185
Changes
ExchangeRate
representing an exchange rate between two quantities.num-integer
for thegcd
function, only when enablingderive-serde
.Checklist