mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Add extra currencies to c7 in tonlib runGetMethod
This commit is contained in:
parent
46d4e12b4c
commit
dc2f0dad81
3 changed files with 28 additions and 19 deletions
|
@ -64,6 +64,7 @@ class SmartContract : public td::CntObject {
|
|||
bool ignore_chksig{false};
|
||||
td::uint64 amount{0};
|
||||
td::uint64 balance{0};
|
||||
td::Ref<vm::Cell> extra_currencies;
|
||||
int vm_log_verbosity_level{0};
|
||||
bool debug_enabled{false};
|
||||
|
||||
|
@ -121,6 +122,10 @@ class SmartContract : public td::CntObject {
|
|||
this->balance = balance;
|
||||
return std::move(*this);
|
||||
}
|
||||
Args&& set_extra_currencies(td::Ref<vm::Cell> extra_currencies) {
|
||||
this->extra_currencies = std::move(extra_currencies);
|
||||
return std::move(*this);
|
||||
}
|
||||
Args&& set_address(block::StdAddress address) {
|
||||
this->address = address;
|
||||
return std::move(*this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue