tx · 7hfT3u4MMwrrA6V1N2EowF2858LYuuWitrHFGDFP6XRy

3N4Pws1hZGMw3qDdRjhinhXr6KVMkcggjgL:  -0.01400000 Waves

2019.10.21 18:37 [730026] smart account 3N4Pws1hZGMw3qDdRjhinhXr6KVMkcggjgL > SELF 0.00000000 Waves

{ "type": 13, "id": "7hfT3u4MMwrrA6V1N2EowF2858LYuuWitrHFGDFP6XRy", "fee": 1400000, "feeAssetId": null, "timestamp": 1571672276594, "version": 1, "sender": "3N4Pws1hZGMw3qDdRjhinhXr6KVMkcggjgL", "senderPublicKey": "CwvrpTWSUeB7TpDCw7NdABvqpF6NY2UzMvZZ7SbgrXUM", "proofs": [ "4uPSHwwBgCCEXCrBBGwGZUP9VFExiH1DYqpptH855z8HaFK3VAxGUX53cPG7DEwGbGjBtd4UCGEMjndYyq5LsoRg" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQEAAAAVZ2V0VXNlckdvYWxBZGRyZXNzS2V5AAAAAgAAABV1c2VyQWNjb3VudEFkZHJlc3NTdHIAAAAVZ29hbEFjY291bnRBZGRyZXNzU3RyCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAABnVzZXJfPAUAAAAVdXNlckFjY291bnRBZGRyZXNzU3RyAgAAAAQ+X188BQAAABVnb2FsQWNjb3VudEFkZHJlc3NTdHICAAAAAT4AAAABAAAAAWkBAAAAB2FkZEdvYWwAAAABAAAAFWdvYWxBY2NvdW50QWRkcmVzc1N0cgQAAAAHcGF5bWVudAkBAAAAB2V4dHJhY3QAAAABCAUAAAABaQAAAAdwYXltZW50CQAAAgAAAAEJAAGkAAAAAQgFAAAAB3BheW1lbnQAAAAGYW1vdW50AAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAawuYTD", "chainId": 84, "height": 730026, "spentComplexity": 0 } View: original | compacted Prev: 6k5gNTsxKSSmT3dnCKpTVb3SSXMzjVMhp4yi48bTLydo Next: CGSfP9xYctWXS6sMCjufWXvC4UQQQrkkU7MxwCXb5SR6 Diff:
OldNewDifferences
77 @Callable(i)
88 func addGoal (goalAccountAddressStr) = {
99 let payment = extract(i.payment)
10- let userAccountAddressStr = toBase58String(i.caller.bytes)
11- let userGoalAddressKey = getUserGoalAddressKey(userAccountAddressStr, goalAccountAddressStr)
12- if (isDefined(payment.assetId))
13- then throw("you can bet only in waves")
14- else WriteSet([DataEntry(userGoalAddressKey, payment.amount)])
10+ throw(toString(payment.amount))
1511 }
1612
1713
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getUserGoalAddressKey (userAccountAddressStr,goalAccountAddressStr) = (((("user_<" + userAccountAddressStr) + ">__<") + goalAccountAddressStr) + ">")
55
66
77 @Callable(i)
88 func addGoal (goalAccountAddressStr) = {
99 let payment = extract(i.payment)
10- let userAccountAddressStr = toBase58String(i.caller.bytes)
11- let userGoalAddressKey = getUserGoalAddressKey(userAccountAddressStr, goalAccountAddressStr)
12- if (isDefined(payment.assetId))
13- then throw("you can bet only in waves")
14- else WriteSet([DataEntry(userGoalAddressKey, payment.amount)])
10+ throw(toString(payment.amount))
1511 }
1612
1713
1814 @Verifier(tx)
1915 func verify () = true
2016

github/deemru/w8io/026f985 
19.15 ms