2341
TestNet Discussion Archive / Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« on: July 13, 2019, 08:16:02 PM »I'm back here with latest testnet in MacOS.
I see thisCode: [Select]01:10:30

listchildren
01:10:31

{
"List Of": "Cameroon-One Children",
"Child ID": "abaad3ec",
"CPK": "yWK9ckFhU1ihDSDLAZggNFTwypg6Bi3C23",
"Biography": "https://cameroonone.org/biblepay/abaad3ec.htm",
"Balance": -999,
"Notes": "This child is not provisioned yet.",
"Nickname": "MIP"
}
OK, and as you know, in Testnet I am running the mock API to apply debits and credits to the childs balances, but in Prod, CameroonOne will be running the API (from their own domain).
So I posted a $50.00 payment for child abaad3ec.
Go ahead and do a listchildren now and see if you have a -10$ balance (this is because you have a debit of $40 for July orphanage charges minus a $50 payment).
Then do an execgscc and wait 6 blocks and see if the child payment is showing in your leaderboard "details".
Do you understand the 'exec dailysponsorshipcap'? This shows the max amount we pay per child per day in the GSC contract (we use the daily BBP price quote - found in exec price - and of course the daily GSC paymentlimit - to calculate the quorums dailysponsorshipcap).
Oncoapp has 3 children, you have 1 and I have 2. So Ill do an exec sendgscc, and we should see 6 children over 3 participants in the leaderboard we can reverse engineer. (Click Details).
OK, I sent an exec gscc, I see Oncoapp & I in there, now we need you. Btw, the reason you are not in cameroon one as of yet today is because your child was not provisions (nor had a credit balance - until Cameroon receives the check or the paypal making your balance a credit balance!).