Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add idliemine revenue #1484

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

abhinavabhi1218
Copy link

I am adding my project to DefiLlama in fees and revenues

@llamatester
Copy link

The idlemine adapter exports:


ERROR: Use Adapter v2 format for new adapters

@abhinavabhi1218
Copy link
Author

The idlemine adapter exports:

ERROR: Use Adapter v2 format for new adapters

🦙 Running IDLEMINE adapter 🦙


Fees for 14/5/2024


BSC 👇
Backfill start time: 1/3/2024
Methodology: idlemine revenue from idlemine thumb game and idlemine battle games
Timestamp: 1715731199 (2024-05-14T23:59:59.000Z)
Daily revenue: 3.26 M

im getting this from my repository
make sure add "git ls-tree --name-only -r master" for idlemine adaptor

@dtmkeng
Copy link
Contributor

dtmkeng commented May 15, 2024

could you remove change at package and lock
cold you explain how you cal revenue ?

@abhinavabhi1218
Copy link
Author

could you remove change at package and lock cold you explain how you cal revenue ?

By calling my API which response all the data regarding game revenue , deposits and more.

@dtmkeng
Copy link
Contributor

dtmkeng commented May 15, 2024

could you remove change at package and lock cold you explain how you cal revenue ?

By calling my API which response all the data regarding game revenue , deposits and more.

al;l deposits go to team ?, revenue is protocol revenue

@abhinavabhi1218
Copy link
Author

could you remove change at package and lock cold you explain how you cal revenue ?

By calling my API which response all the data regarding game revenue , deposits and more.

al;l deposits go to team ?, revenue is protocol revenue

I didn't understand can you explain it briefly

@dtmkeng
Copy link
Contributor

dtmkeng commented May 16, 2024

revenue should from fees or reward like lido cut reward % for their rev which rev your count from is there example txs

@abhinavabhi1218 abhinavabhi1218 changed the title add revenue Add idliemine revenue May 20, 2024
@llamatester
Copy link

The idlemine adapter exports:


ERROR: Use Adapter v2 format for new adapters

@abhinavabhi1218
Copy link
Author

The idlemine adapter exports:

ERROR: Use Adapter v2 format for new adapters

🦙 Running IDLEMINE adapter 🦙


Fees for 19/5/2024


BSC 👇
Backfill start time: 1/3/2024
Methodology: idlemine revenue from idlemine thumb game and idlemine battle games
Timestamp: 1716163199 (2024-05-19T23:59:59.000Z)
total revenue: 3.06 M
total fee: 383.94 k

@llamatester
Copy link

The idlemine adapter exports:


ERROR: Use Adapter v2 format for new adapters

@AbhinavString
Copy link

The idlemine adapter exports:

ERROR: Use Adapter v2 format for new adapters

merge branch DfiLlama:master itno master

@AbhinavString
Copy link

image

@dtmkeng
Copy link
Contributor

dtmkeng commented May 20, 2024

add version: 2 add above adapter
and field about fees

totalFees
dailyFees
dailyUserFees
totalRevenue
dailyRevenue
dailyProtocolRevenue
dailyHoldersRevenue
dailySupplySideRevenue
totalProtocolRevenue
totalSupplySideRevenue
totalUserFees
dailyBribesRevenue
dailyTokenTaxes

@dtmkeng
Copy link
Contributor

dtmkeng commented May 20, 2024

and plz revert change package-lock and package

@llamatester
Copy link

The idlemine adapter exports:


ERROR: Use Adapter v2 format for new adapters

@llamatester
Copy link

The idlemine adapter exports:


Fees for 21/5/2024
_______________________________________

TypeError: Cannot read properties of undefined (reading 'createBalances')
    at fetch (/home/runner/work/dimension-adapters/dimension-adapters/fees/idlemine/index.ts:38:32)
    at getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:31:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:75:21 {
  chain: 'bsc'
}

@llamatester
Copy link

The idlemine adapter exports:


ERROR: Use Adapter v2 format for new adapters

@llamatester
Copy link

The idlemine adapter exports:


Fees for 21/5/2024
_______________________________________

[Error: Request failed with status code 403] {
  url: 'https://api.idlemine.io/api/admin/user/revenue',
  method: 'GET',
  axiosError: 'Forbidden',
  chain: 'bsc'
}

@llamatester
Copy link

The idlemine adapter exports:


Fees for 21/5/2024
_______________________________________

@llamatester
Copy link

The idlemine adapter exports:


Fees for 21/5/2024
_______________________________________

[Error: Request failed with status code 403] {
  url: 'https://api.idlemine.io/api/admin/user/revenue',
  method: 'GET',
  axiosError: 'Forbidden',
  chain: 'bsc'
}

@abhinavabhi1218
Copy link
Author

The idlemine adapter exports:

Fees for 22/5/2024
_______________________________________

BSC 👇
Backfill start time: 1/3/2024
Methodology: Calculates revenue from specific blockchain games using transaction data.
Timestamp: 1716375132 (2024-05-22T10:52:12.000Z)
Total revenue: 11.61 M

why it is in still Open ??

@dtmkeng
Copy link
Contributor

dtmkeng commented May 23, 2024

add version: 2 add above adapter and field about fees

totalFees
dailyFees
dailyUserFees
totalRevenue
dailyRevenue
dailyProtocolRevenue
dailyHoldersRevenue
dailySupplySideRevenue
totalProtocolRevenue
totalSupplySideRevenue
totalUserFees
dailyBribesRevenue
dailyTokenTaxes

@abhinavabhi1218

@dtmkeng
Copy link
Contributor

dtmkeng commented May 23, 2024

and plz revert change package-lock and package

@abhinavabhi1218

@dtmkeng
Copy link
Contributor

dtmkeng commented May 23, 2024

revenue should from fees or reward like lido cut reward % for their rev which rev your count from is there example txs

@abhinavabhi1218

@dtmkeng
Copy link
Contributor

dtmkeng commented May 23, 2024

add version: 2 add above adapter and field about fees

totalFees
dailyFees
dailyUserFees
totalRevenue
dailyRevenue
dailyProtocolRevenue
dailyHoldersRevenue
dailySupplySideRevenue
totalProtocolRevenue
totalSupplySideRevenue
totalUserFees
dailyBribesRevenue
dailyTokenTaxes

@abhinavabhi1218

it require daily field

@dtmkeng
Copy link
Contributor

dtmkeng commented May 23, 2024

add version: 2 add above adapter and field about fees

totalFees
dailyFees
dailyUserFees
totalRevenue
dailyRevenue
dailyProtocolRevenue
dailyHoldersRevenue
dailySupplySideRevenue
totalProtocolRevenue
totalSupplySideRevenue
totalUserFees
dailyBribesRevenue
dailyTokenTaxes

@abhinavabhi1218

it require daily field and add version 2

@dtmkeng
Copy link
Contributor

dtmkeng commented May 23, 2024

revenue should from fees or reward like lido cut reward % for their rev which rev your count from is there example txs

@abhinavabhi1218

is there example txs for calculate rev ?

@llamatester
Copy link

The idlemine adapter exports:


Fees for 23/5/2024
_______________________________________

Failed to fetch daily stats: [Error: Request failed with status code 403] {
  url: 'https://api.idlemine.io/api/admin/user/revenue',
  method: 'GET',
  axiosError: 'Forbidden'
}
Error: Error fetching daily stats
    at fetchDailyStats (/home/runner/work/dimension-adapters/dimension-adapters/fees/idlemine/index.ts:31:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:31:18)
    at async Promise.all (index 0)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:75:21 {
  chain: 'bsc'
}

@abhinavabhi1218
Copy link
Author

recheck it

@llamatester
Copy link

The idlemine adapter exports:


Fees for 23/5/2024
_______________________________________

Failed to fetch daily stats: [Error: Request failed with status code 403] {
  url: 'https://api.idlemine.io/api/admin/user/revenue',
  method: 'GET',
  axiosError: 'Forbidden'
}
Error: Error fetching daily stats
    at fetchDailyStats (/home/runner/work/dimension-adapters/dimension-adapters/fees/idlemine/index.ts:31:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:31:18)
    at async Promise.all (index 0)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:75:21 {
  chain: 'bsc'
}

@llamatester
Copy link

The idlemine adapter exports:


Fees for 23/5/2024
_______________________________________

Error: Error fetching daily stats
    at fetchDailyStats (/home/runner/work/dimension-adapters/dimension-adapters/fees/idlemine/index.ts:31:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:31:18)
    at async Promise.all (index 0)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:75:21 {
  chain: 'bsc'
}

@llamatester
Copy link

The idlemine adapter exports:


Fees for 24/5/2024
_______________________________________

{
  Totalrevenue: 3166715.8509379732,
  Fee: 405933.1539999976,
  dailyfees: 4646,
  dailyrevenue: 18000.255
} 
BSC 👇
Backfill start time: 1/3/2024
Methodology: Calculates revenues and fees from IdleMine thumb game and IdleMine battle games.
Timestamp: 1716541428 (2024-05-24T09:03:48.000Z)
Daily revenue: 18.00 k
Daily fees: 4.65 k
Total revenue: 3.17 M
Total fees: 405.93 k

@llamatester
Copy link

The idlemine adapter exports:


Fees for 24/5/2024
_______________________________________

BSC 👇
Backfill start time: 1/3/2024
Methodology: Calculates revenues and fees from IdleMine thumb game and IdleMine battle games.
Timestamp: 1716541489 (2024-05-24T09:04:49.000Z)
Daily revenue: 18.00 k
Daily fees: 4.65 k
Total revenue: 3.17 M
Total fees: 405.93 k

@dtmkeng
Copy link
Contributor

dtmkeng commented May 24, 2024

is there example txs that you use calculate fees and rev ?

@abhinavabhi1218
Copy link
Author

is there example txs that you use calculate fees and rev ?

This is my website idlemine.io

My product is a skill-based game play with BEP20 tokens. Users deposit any BEP20 tokens and then receive virtual balances in USDT, based on the token's value in USDT at the time of deposit. The wallet address where we receive the BEP20 tokens from users is 0x3aa2609e1aa9A83034F59994D95E495a8904BA83. Additionally, we receive fees, including withdrawal charges, from users. You can check this link for more details: BSCScan.e

@dtmkeng
Copy link
Contributor

dtmkeng commented May 25, 2024

i think should count only withdrawal charge
seem you count user deposit right ?

@abhinavabhi1218
Copy link
Author

i think should count only withdrawal charge seem you count user deposit right ?

No, we only count deposits as revenue. When a user withdraws their amount, we charge a fee of 5-10% based on their withdrawals. If a user earned from free games, we charge 10%; otherwise, it’s 5%. So, the revenue is primarily from the withdrawal charges rather than the initial deposits.

@dtmkeng
Copy link
Contributor

dtmkeng commented May 25, 2024

why rev more than fees ?

@abhinavabhi1218
Copy link
Author

why rev more than fees ?

coz game investment(deposits) is higher than withdrawal fee then revenue is high

@dtmkeng
Copy link
Contributor

dtmkeng commented May 25, 2024

all deposit it go to team and token holder ?

@dtmkeng
Copy link
Contributor

dtmkeng commented May 26, 2024

all deposit it go to team and token holder ?

No, it's a gaming platform, so deposits go to an organization.

hmm can't count to rev rev mean money go to team or token holder

@abhinavabhi1218
Copy link
Author

all deposit it go to team and token holder ?

No, it's a gaming platform, so deposits go to an organization.

hmm can't count to rev rev mean money go to team or token holder

can you explain team and token holders ?
we are using All BEP20 tokens to play idlemine games , we we are not using my OWN tokens to play idlemine games
so there is no token holders im idlemine rev means investment /deposits these count go to idlemine team

@dtmkeng
Copy link
Contributor

dtmkeng commented May 27, 2024

all deposit it go to team and token holder ?

No, it's a gaming platform, so deposits go to an organization.

hmm can't count to rev rev mean money go to team or token holder

can you explain team and token holders ? we are using All BEP20 tokens to play idlemine games , we we are not using my OWN tokens to play idlemine games so there is no token holders im idlemine rev means investment /deposits these count go to idlemine team

like gov token or vTOKEN like velodreom holder have profit from fees when stake or burn
no i can' t count rev from deposits sorry

@abhinavabhi1218
Copy link
Author

all deposit it go to team and token holder ?

No, it's a gaming platform, so deposits go to an organization.

hmm can't count to rev rev mean money go to team or token holder

can you explain team and token holders ? we are using All BEP20 tokens to play idlemine games , we we are not using my OWN tokens to play idlemine games so there is no token holders im idlemine rev means investment /deposits these count go to idlemine team

like gov token or vTOKEN like velodreom holder have profit from fees when stake or burn no i can' t count rev from deposits sorry

How does YoloGames count its revenue and fees? It doesn't have its own token or holders. Users deposit funds or invest in games to play. IdleMine operates similarly to YoloGames, yet you accept YoloGames but not IdleMine. Why is that?

@dtmkeng
Copy link
Contributor

dtmkeng commented May 28, 2024

YoloGames

they say YOLO Games collects a 1% fee for Moon Or Doom and YOLO winnings, and a 3% fee on Poke The Bear winnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants