0.0.1 • Published 2 years ago
@dedust/apiary-v1 v0.0.1
Apiary Protocol V1
Contracts for jettons distribution.
Scenarios
Rewards claiming

Steps:
- anybody sends
claimmessage that containsuser_addrwhom reward should be claims andproofto a Pool - Pool verifies if
proofhas the same hash as a stored one in the Pool and sendsclaim_requestto an DistributionAccount - DistributionAccount calculates the difference between incoming
total_rewardandtotal_paid(the last one is stored in account) and sends apayout_requestback to a Pool - Pool sends
transfermessage to a jetton wallet to send jettons touser_addr
Development
Running tests
yarn testLicensing
The primary license for Apiary V1 is the Business Source License 1.1 (BUSL-1.1), see LICENSE.
Other Exceptions
contracts/imports/stdlib.fcis licensed underLGPL-2.1-or-later(as indicated in its SPDX header), seeLICENSE.LGPL.- All files in
testsremain unlicensed (as indicated in their SPDX headers).
Copyright
Scaleton Labs LLC © 2023
0.0.1
2 years ago