Closed referencedev closed 3 years ago
It looks like a low level optimization. what's the improvement? 10x? if so it's worth to do. If it's a small reduction, then probably it's better to stick with high level functions.
The main benefit is that this works with Sputnik DAO. Optimization Which means Sputnik can be the owner of the Ref and vote to upgrade it.
This reduces amount of gas used and makes it compatible with Sputnik DAO UpdateRemote.
Usage from CLI:
Example: https://explorer.testnet.near.org/transactions/GLwdTBVTrguY7mERg997MK5mxnfbAkVgW78sKPprhMge