Error on Smart Contract Audit and Fix

Job ID: 34146226

Budget: $10 – $80 USD

ERC1155 Staking contract audit for bug and fixing to make it complete.

Error:
1. Stacking wont accumulate amount of ERC1155 it always show 1
2. Need a return view function to show how many ERC1155 token stacked
3. Logic error on ERC1155 token staking
-1st time stack 2 NFT - 2 NFT on time 1 ->>> reward base on time 1
-2nd time stack 3 NFT - 3 NFT on time 2 ->>> reward base on time 2
*Currently it stack all in one reward

Initial plan:
1. To make a stacking contract for ERC1155 NFT token with TokenIds = 0
2. Daily reward will be 2B of ERC20 token per ERC1155 NFT
3. User can slect how many to stack and how many to unstack
4. Upon unstack, related ERC1155 NFT reward will clear and transfer to holder