Deal handeling is wrong! - page 2

 
Mahdi Ebrahimzadeh #:

I do not think so.

you can check it yourself too.

even if you call account balance in oninit it will not send you initial balance. it always will send current account balance.


for example if you want to draw account balance during past account life time. you will need to start from initial account balance. and dedicated function does not prepare any time dependent data. it always prepares current balance.

I misunderstood the requirement. I understand now it's first deposit only, but also why the need for that figure?  Usually you can say that when an account grows over time, the very first deposit in the account holds no relevance anymore, it's just a number and holds no real relevance when the account has grown. 

 
Conor Mcnamara #:

I misunderstood the requirement. I understand now it's first deposit only, but also why the need for that figure?  Usually you can say that when an account grows over time, the very first deposit in the account holds no relevance anymore, it's just a number and holds no real relevance when the account has grown. 

for something like: equity/balance changes graph during time we will need to know start point(initial balance)