Pages:
Author

Topic: [Experiment] Abstract Coin 0.2.1 (Read 9078 times)

legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 10, 2013, 09:31:48 PM
Can i partecipate?
 Smiley

And good idea adamstgBit  Wink

Go Abstract Coin!

create a wallet on the offical thread and i'll send you some.

you can create a wallet by saying something like :

CreateAbstractWallet(ACJZ777|Jubalix);
newbie
Activity: 30
Merit: 0
June 10, 2013, 09:19:57 PM
Can i partecipate?
 Smiley

And good idea adamstgBit  Wink
newbie
Activity: 28
Merit: 0
June 10, 2013, 09:02:32 PM
the genesis entry for Abstract Coin

Quote
|AC63n78dn| (1AC)Genesis(0AC) -> AdamStgBit

WEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE Cool
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 10, 2013, 07:41:11 PM
Abstract Coin 0.3.0

Is about to launch!!
Get some free Abstract coinage tonight!

Discussion thread & The Official thread
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 09, 2013, 04:21:05 PM
tomorrow night  Abstract Coin 0.3.0

watch for it.  Cool
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 07, 2013, 08:02:19 PM
damn right mofo, when AC3 comes out on monday, in the alt coin section, at 8:00PM EST, people are going to get free coins  Cool

hero member
Activity: 952
Merit: 1009
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 07, 2013, 12:58:53 PM
LMAO!
 Abstract Coin is Abstract
Well, it's true, isn't it?
you better believe it!
global moderator
Activity: 3766
Merit: 2610
In a world of peaches, don't ask for apple sauce
June 07, 2013, 08:41:44 AM
LMAO!
 Abstract Coin is Abstract
Well, it's true, isn't it?
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 07, 2013, 12:59:21 AM
LMAO!
 Abstract Coin is Abstract
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 07, 2013, 12:58:30 AM
adamstgBit(1999uAC) = Wallet[AC0m97S1|adamstgBit]->GetBalance();
confirmed;

adamstgBit(1899uAC) = Wallet[AC0m97S1|adamstgBit]->SendAbstractCoins( AC0M98S1|TrashCan , 100 );
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 07, 2013, 12:57:57 AM
TrashCan(0000uAC) = Wallet[AC0M98S1|TrashCan]->SendAbstractCoins( AC0m97S1|adamstgBit , 100 );
confirmed;

adamstgBit(1999uAC) = Wallet[AC0m97S1|adamstgBit]->GetBalance();
confirmed;
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 07, 2013, 12:57:42 AM
TrashCan(0000uAC) = Wallet[AC0M98S1|TrashCan]->SendAbstractCoins( AC0m97S1|adamstgBit , 100 );
confirmed;

adamstgBit(1999uAC) = Wallet[AC0m97S1|adamstgBit]->GetBalance();
legendary
Activity: 2618
Merit: 1022
June 07, 2013, 12:52:40 AM

CreateAbstractWallet , can not fail it simply adds to the vector list "Wallet"
its not user specific
and this is incorrect syntax
Quote
AC0M98S1.TrashCan.restore();
AC0M98S1.TrashCan.empty();

 Cheesy Cheesy

I always code like this....I love when my objects have lots of logical properties.

legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 07, 2013, 12:51:06 AM
TrashCan(0000uAC) = Wallet[AC0M98S1|TrashCan]->SendAbstractCoins( AC0m97S1|adamstgBit , 100 );
confirmed;
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 07, 2013, 12:50:43 AM


CreateAbstractWallet(AC0M98S1|TrashCan);

adamstgBit(1899uAC) = Wallet[AC0m97S1|adamstgBit]->SendAbstractCoins( AC0M98S1|TrashCan , 100 );

TrashCan(100uAC) = Wallet[AC0M98S1|TrashCan]->GetBalance();

confirmed;

TrashCan(0000uAC) = Wallet[AC0M98S1|TrashCan]->SendAbstractCoins( AC0m97S1|adamstgBit , 100 );
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 07, 2013, 12:50:04 AM


CreateAbstractWallet(AC0M98S1|TrashCan);

adamstgBit(1899uAC) = Wallet[AC0m97S1|adamstgBit]->SendAbstractCoins( AC0M98S1|TrashCan , 100 );

TrashCan(100uAC) = Wallet[AC0M98S1|TrashCan]->GetBalance();

confirmed;
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 07, 2013, 12:47:19 AM


CreateAbstractWallet(AC0M98S1|TrashCan);

adamstgBit(1899uAC) = Wallet[AC0m97S1|adamstgBit]->SendAbstractCoins( AC0M98S1|TrashCan , 100 );

TrashCan(100uAC) = Wallet[AC0M98S1|TrashCan]->GetBalance();
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
June 07, 2013, 12:37:21 AM

CreateAbstractWallet , can not fail it simply adds to the vector list "Wallet"
its not user specific
and this is incorrect syntax
Quote
AC0M98S1.TrashCan.restore();
AC0M98S1.TrashCan.empty();

 Cheesy Cheesy
legendary
Activity: 2618
Merit: 1022
June 07, 2013, 12:20:14 AM
|AC27J8DI9| (0.1999 AC)Adam(0.1899AC) -> Trash

Thats right, throwing the some of the imaginary object in the trash 

Cool

sorry but you must first invent an imaginary trash can

new AC(trashCan);

looking at the latest documentation:


/*===========================================================================
| (AbstractWallet ::SendAbstractCoins)
|
|  PURPOSE: to allow an AbstractWallet to send an amount of AC to another AbstractWallet.
|
|  RETURN: int value, the Amount of uAC left in the sender wallet.
|    
\===========================================================================*/

class AbstractWallet {
  virtual int SendAbstractCoins( int SendTo_Id, int Send_Amount, int Units=uAC )=0;
  virtual float GetBalance(int Units=uAC)=0;
};
typedef std::vector AbstractWalletList;


/*===========================================================================
| (CreateAbstractWallet)
|
|  PURPOSE: to allow an users to Create a new Abstract Wallet
|
|  RETURN: void
|    
\===========================================================================*/

void CreateAbstractWallet(int User_Id);


/*===========================================================================
| (Wallet)
|
|   Wallet is a vector list of Abstract Wallets,
|   It holds everyone's wallet, make a tx like this:
|  
|                   Elwar(1493uAC) = Wallet[AC0M98S1|Elwar]->SendAbstractCoins( AC0m97S1|adamstgBit , 100 );
|    
\===========================================================================*/

AbstractWalletList  Wallet;



creating a Trash Can should look more like this:

CreateAbstractWallet(AC0M98S1|TrashCan);
adamstgBit(1899uAC) = Wallet[AC0m97S1|adamstgBit]->SendAbstractCoins( AC0M98S1|TrashCan , 100 );

why would a trash need to be user specific?
also need some code to return to if not trashcan created
further the trashmay not be emptied so ACOM98S1 could get it back from trash

AC0M98S1.TrashCan.restore();
AC0M98S1.TrashCan.empty();

Pages:
Jump to: