The idea is to expand functionality of the current .storeDictDirect method or add a new method (e.g. .storePfxDictDirect), that will accept slice key and convert it to prefix code.
Context
Prefix dictionaries are good for storing a small number of addresses in the storage of smart-contract and easily access them.
Summary
The idea is to expand functionality of the current .storeDictDirect method or add a new method (e.g. .storePfxDictDirect), that will accept slice key and convert it to prefix code.
Context
Prefix dictionaries are good for storing a small number of addresses in the storage of smart-contract and easily access them.
References
.storeDictDirect method in builder class for working with unsigned integer dicts: https://github.com/ton-core/ton-core/blob/e0ed819973daf0484dfbacd0c30a0dcfe4714f8d/src/boc/Builder.ts#L464
Estimate suggested reward
TON Footsteps SBT 500 USDT