static constexpr int64_t ram_gift_bytes = 1400;
1. <eosio.system>
2. static constexpr
image.png3. Function buyram
3.1. inside function buyram and add update_ram_supply()
3.2. N(eosio.ram), N(active)
3.3. set_resource_limits(res_itr->ram_bytes)
ram_gift_bytes
网友评论