FreeosDAO / freeoscontracts

Freeos Smart Contract Code
0 stars 1 forks source link

Claim function does not transfer to freeos333333 #7

Closed shahidnz closed 3 years ago

shahidnz commented 3 years ago

Initially I checked the FREEOS with freeos333333:

09:50:35 01/03/2021 ~/eosio-wallet$ proton get currency balance freeos333333 freeos333333 FREEOS
5000.9995 FREEOS

Then 'd' account type performs claim [ {"user":"darlenedole"}]

09:52:07 01/03/2021 ~/eosio-wallet$ proton push action freeos333333 getuser "[\"${acc}\"]" -p $acc@active
executed transaction: 39a0057932ddd96cd5a0b44539052299d1a6074257ec37884ffbbe4889e05340  104 bytes  193 us
#  freeos333333 <= freeos333333::getuser        {"user":"darlenedole"}
>> account: darlenedole, registered: 1614588306, type: d, stake: 10.0000 XPR, staked-on: 1614588519, XPR: 0.0000 XPR, liquid: 0.0000 FREEOS, vested: 0.0000 FREEOS, airkey: 0 AIRKEY, iteration: 1, claimed: false
warning: transaction executed locally, but may not be confirmed by the network yet         ] 
09:52:15 01/03/2021 ~/eosio-wallet$ 
09:52:25 01/03/2021 ~/eosio-wallet$ proton push action freeos333333 claim "[\"${acc}\"]" -p $acc@active
executed transaction: 300b1489448ad9cadccba4895e288919f8f27d2bb815d39aa68d351499438605  104 bytes  659 us
#  freeos333333 <= freeos333333::claim          {"user":"darlenedole"}
>> darlenedole claimed 90.0000 FREEOS and vested 10.0000 FREEOS for iteration 1
#  freeos333333 <= freeos333333::issue          {"to":"freeos333333","quantity":"5590.0000 FREEOS","memo":"claim by darlenedole"}
#  freeos333333 <= freeos333333::transfer       {"from":"freeos333333","to":"darlenedole","quantity":"90.0000 FREEOS","memo":"claim by darlenedole"}
#  freeos333333 <= freeos333333::transfer       {"from":"freeos333333","to":"freeosdivide","quantity":"5500.0000 FREEOS","memo":"claim by darlenedol...
#   darlenedole <= freeos333333::transfer       {"from":"freeos333333","to":"darlenedole","quantity":"90.0000 FREEOS","memo":"claim by darlenedole"}
#  freeosdivide <= freeos333333::transfer       {"from":"freeos333333","to":"freeosdivide","quantity":"5500.0000 FREEOS","memo":"claim by darlenedol...
warning: transaction executed locally, but may not be confirmed by the network yet         ] 

Now the FREEOS is again checked. But it seems nothing is updated for the account:

09:54:11 01/03/2021 ~/eosio-wallet$ proton get currency balance freeos333333 freeos333333 FREEOS
5000.9995 FREEOS
tommccann777 commented 3 years ago

freeos333333 should not gain any FREEOS after a claim. The account that receives the 'our' share is freeosdivide.