tx · FH8gwrze84pAeMSWJi55toowx1Xy8iDmvXWh7VFRPnuD

3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F:  -0.01000000 Waves

2023.05.03 14:05 [2561488] smart account 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F > SELF 0.00000000 Waves

{ "type": 13, "id": "FH8gwrze84pAeMSWJi55toowx1Xy8iDmvXWh7VFRPnuD", "fee": 1000000, "feeAssetId": null, "timestamp": 1683112038751, "version": 2, "chainId": 84, "sender": "3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F", "senderPublicKey": "3V22YUj3GF4AeBxdWx8rgGdG4groE4W6P2s4sAkshe7R", "proofs": [ "5q8XVQ7jJSqBejSrvvytCSDobkF7gTYse4JbFE2FC67xRDJim7T7khusWjxtsKRukijMLsoD8HJaSFfmSCDkZQFh" ], "script": "base64:BgIICAISBAoCCAgCAAV0ZWFtcwEghWOVo/OIjrDeDBeOCE6/mj+SuybbOuh2jhbcFCIqSH4ABVdBVkVTAQABAWkBDXRyYW5zZmVyVG9rZW4CDXJlY2VwaWVudEFkZHIHbWVzc2FnZQQGY2FsbGVyCAgFAWkGY2FsbGVyBWJ5dGVzBAdyZWNpdmVyCQDZBAEFDXJlY2VwaWVudEFkZHIEBmFtb3VudAgJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQEDXNlbmRlckJhbGFuY2UJAPAHAggFAWkGY2FsbGVyASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgMJAAACCAkAkQMCCAUBaQhwYXltZW50cwAAB2Fzc2V0SWQFBXRlYW1zCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAglfdHJhbnNmZXIFBmFtb3VudAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAgxfdHJhbnNmZXJfdG8FDXJlY2VwaWVudEFkZHIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBBQdyZWNpdmVyBQZhbW91bnQFBXRlYW1zBQNuaWwFA25pbAAigQB4", "height": 2561488, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4TRcvo7w7e5486SzaQPPwiMicQ3Jnva5yxL4teTcSbFY Next: 6P7QAhqmfRPRHbdZAwZhbbXFDWfpPuD6R5peoiCUEEL4 Diff:
OldNewDifferences
1010 let caller = i.caller.bytes
1111 let reciver = fromBase58String(recepientAddr)
1212 let amount = i.payments[0].amount
13+ let senderBalance = assetBalance(i.caller, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
1314 if ((i.payments[0].assetId == teams))
1415 then [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, teams)]
1516 else nil
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
66 let WAVES = base58''
77
88 @Callable(i)
99 func transferToken (recepientAddr,message) = {
1010 let caller = i.caller.bytes
1111 let reciver = fromBase58String(recepientAddr)
1212 let amount = i.payments[0].amount
13+ let senderBalance = assetBalance(i.caller, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
1314 if ((i.payments[0].assetId == teams))
1415 then [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, teams)]
1516 else nil
1617 }
1718
1819

github/deemru/w8io/026f985 
25.82 ms