1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Support extra currencies in reserve action with +2 flag (#1429)

* Support extra currencies in reserve action with +2 flag

* Enable new reserve behavior in version 9
This commit is contained in:
SpyCheese 2025-01-15 07:43:33 +00:00 committed by GitHub
parent f6fa986b33
commit 62838571eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 48 additions and 10 deletions

View file

@ -390,6 +390,7 @@ struct CurrencyCollection {
CurrencyCollection operator-(const CurrencyCollection& other) const;
CurrencyCollection operator-(CurrencyCollection&& other) const;
CurrencyCollection operator-(td::RefInt256 other_grams) const;
bool clamp(const CurrencyCollection& other);
bool store(vm::CellBuilder& cb) const;
bool store_or_zero(vm::CellBuilder& cb) const;
bool fetch(vm::CellSlice& cs);