Loot Box Vault

Some or all prizes may be issued on different blockchains. For instance, a loot box launched in Arbitrum may have a grand prize issued in Ethereum. To support this case each Loot Box has an embedded vault and peripheral vaults on different blockchains, one for each if they contain played prizes.

The Vault, compatible with EVM or WASM, has one primary function - to hold prizes until winners withdraw them. It also features an optimised method for withdrawing all prizes and accumulated tokens in a single transaction. Thus should decrease usage of gas.

Prize withdrawal verification is ensured by checking provided signatures, which cover chain ID, user account, and prize details, guaranteeing the right person receives the correct prize. To prevent double spending, each prize has a unique ID that can only be used once. The vault controls it.

Last updated