Author Topic: Affiliate system working on Blockchain level. Tested and Proven  (Read 2999 times)

0 Members and 1 Guest are viewing this topic.

Tuck Fheman

  • Guest
naturally some are dumping their coins

Same here. If they notify you they're dumping take advantage of it. ;)

Offline fav

  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
just did another TX.

from: bts-mytest
to fav

in 40min, there should be any number higher than  37979072

    "amount": 39237156,

confirmed, works! just not displayed in the gui

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Code: [Select]
get_vesting_balances 1.13.52
[{
    "id": "1.13.52",
    "owner": "1.2.21106",
    "balance": {
      "amount": 39237156,
      "asset_id": "1.3.0"
    },
    "policy": [
      1,{
        "vesting_seconds": 7776000,
        "start_claim": "1970-01-01T00:00:00",
        "coin_seconds_earned": "305108125056000",
        "coin_seconds_earned_last_update": "2015-10-23T22:00:00"
      }
    ],
    "allowed_withdraw": {
      "amount": 39237156,
      "asset_id": "1.3.0"
    },
    "allowed_withdraw_time": "2015-10-23T22:00:00"
  }
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline bytemaster

Is this correct?

Every time a user that I refereed make a transfer, i will see in my account_statistics modified
(pending_fees / pending_vested_fees)?

And in the next maintenance interval those amounts are added to my cashback_vb object?

Yes
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
Is this correct?

Every time a user that I refereed make a transfer, i will see in my account_statistics modified
(pending_fees / pending_vested_fees)?

And in the next maintenance interval those amounts are added to my cashback_vb object?

Offline Akado

  • Hero Member
  • *****
  • Posts: 2752
    • View Profile
  • BitShares: akado
So everyone can start referring people now?  :D
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline fav

  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
just did another TX.

from: bts-mytest
to fav

in 40min, there should be any number higher than  37979072
« Last Edit: October 23, 2015, 09:24:56 pm by fav »

Offline fav

  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
ahh, thanks for your help!

edit: but that's not right either. 379 should be the remaining fees for my personal TXs?
« Last Edit: October 23, 2015, 09:17:32 pm by fav »

Offline Riverhead


Cashback balances are vesting objects. Check the balances like you do your witness vesting balances.

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • AngelShares Explorer
don't worry fav, it think it's just a UI thing, not properly displaying it.  You can use cli_wallet to check your vesting balance

Code: [Select]
get_vesting_balances fav
they should be there
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

Offline bytemaster

locked >>> get_account fav
get_account fav
{
  "id": "1.2.21106",
  "membership_expiration_date": "1969-12-31T23:59:59",
  "registrar": "1.2.21106",
  "referrer": "1.2.21106",
  "lifetime_referrer": "1.2.21106",
  "network_fee_percentage": 2000,
  "lifetime_referrer_fee_percentage": 8000,
  "referrer_rewards_percentage": 0,
  "name": "fav",
  "blacklisted_accounts": [],
  "cashback_vb": "1.13.52"
}

locked >>> get_object 1.13.52
get_object 1.13.52
[{
    "id": "1.13.52",
    "owner": "1.2.21106",
    "balance": {
      "amount": 37979072,
      "asset_id": "1.3.0"
    },

    "policy": [
      1,{
        "vesting_seconds": 7776000,
        "start_claim": "1970-01-01T00:00:00",
        "coin_seconds_earned": "295325263872000",
        "coin_seconds_earned_last_update": "2015-10-23T20:00:00"
      }
    ]
  }
]

It looks like the blockchain has you down for 379.79072 BTS in referral income.

The GUI is just not displaying this Vesting Balance Object and instead only shows you PENDING cashback which is where things accumulate until the next maintenance interval at which point in time the cashback_vb is updated.   

The calculations for doing the division of fees combined with rounding errors associated with dividing up small fees meant it was more efficient to accumulate and they payout than to pay as we go.
« Last Edit: October 23, 2015, 09:04:40 pm by bytemaster »
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline fav

  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
What referral link did you use? Play's one?

yes, but it doesn't matter since it's recorded on the chain

Offline DestBest

What referral link did you use? Play's one?
BitShares French ConneXion, le portail francophone BitShares.
BitShares French ConneXion, the BitShares french gateway.
www.bitsharesfcx.com

Offline fav

  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
Since I'm already wasting my resources/money for nothing:

alright, I run a little giveaway for my referrals, naturally some are dumping their coins, and I decided to check on my vesting balance. And guess what? It's not vesting.

so I decided to give it a try with my demo account BLOCK #289321 bts-mytest to fav



unfortunately, 40% of that never reached fav.
« Last Edit: October 23, 2015, 09:01:53 pm by bytemaster »