Skip to content

design reward distribution mechanism among players, i.e. depends on players' buildings #41

@github-actions

Description

@github-actions

for now, calculate the distribution off chain and use this call to distribute reward to a specific player account


//TODO: design reward distribution mechanism among players, i.e. depends on players' buildings
//for now, calculate the distribution off chain and use this call to distribute reward to a specific player account
function mockReleaseRewardToPlayer(address account, uint256 amount) public {
ILapuVault lapuVault = ILapuVault(GameSetting.getLapuVaultAddress());
lapuVault.transfer(account, amount);
uint256 currentTotalRewarded = GameSetting.getTotalRewarded();


This issue was generated by todo-issue based on a TODO comment in bb809a0. It's been assigned to @Cygnusfear because they committed the code.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions