tx · Ba5Q5YQKWYGxKr359parmbYphEGFLaBsoHbB5F7GmUCy

3N7cP8YCeBzv7e7Z1Gm8J7r371K5vZUrtk7:  -0.05000000 Waves

2022.04.22 11:26 [2019470] smart account 3N7cP8YCeBzv7e7Z1Gm8J7r371K5vZUrtk7 > SELF 0.00000000 Waves

{ "type": 13, "id": "Ba5Q5YQKWYGxKr359parmbYphEGFLaBsoHbB5F7GmUCy", "fee": 5000000, "feeAssetId": null, "timestamp": 1650615986633, "version": 2, "chainId": 84, "sender": "3N7cP8YCeBzv7e7Z1Gm8J7r371K5vZUrtk7", "senderPublicKey": "2nPT1a7eSYaAtLcmXZXFzeztzzRFpmy1YRiqNo4Uh6Sg", "proofs": [ "TE4NxJ1rWJLriL7XaRhAL2fWueSBcoEKMqPaVgwDimcFstnLBbeQpMfopcbYyfzAaQbQ3M9USoHtAfWKu1awhnv" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAwAAAAANZ2xvYmFsQWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVO90mqVIkubZXYy+8dsFZPkYHK0H0fmbKgEAAAAPcHJlcGFyZVBheW1lbnRzAAAAAQAAAAhwYXltZW50cwoBAAAADHBheW1lbnRzRm9sZAAAAAIAAAADYWNjAAAAB3BheW1lbnQEAAAACSR0MDMwMTM0NAUAAAADYWNjBAAAAA5wYXltZW50QW1vdW50cwgFAAAACSR0MDMwMTM0NAAAAAJfMQQAAAAPcGF5bWVudEFzc2V0SWRzCAUAAAAJJHQwMzAxMzQ0AAAAAl8yCQAFFAAAAAIJAARNAAAAAgUAAAAOcGF5bWVudEFtb3VudHMIBQAAAAdwYXltZW50AAAABmFtb3VudAkABE0AAAACBQAAAA9wYXltZW50QXNzZXRJZHMIBQAAAAdwYXltZW50AAAAB2Fzc2V0SWQKAAAAAAIkbAUAAAAIcGF5bWVudHMKAAAAAAIkcwkAAZAAAAABBQAAAAIkbAoAAAAABSRhY2MwCQAFFAAAAAIFAAAAA25p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heW1lbnRBc3NldElkcwgFAAAACiR0MDk1MTEwMTgAAAACXzIEAAAAAXIKAAAAAAFACQAD/AAAAAQFAAAADWdsb2JhbEFkZHJlc3MFAAAABWZuYW1lCQAETAAAAAIICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMJAARMAAAAAgUAAAAOcGF5bWVudEFtb3VudHMJAARMAAAAAgUAAAAPcGF5bWVudEFzc2V0SWRzBQAAAANuaWwFAAAAA25pbAMJAAABAAAAAgUAAAABQAIAAAAJTGlzdFtBbnldBQAAAAFACQAAAgAAAAECAAAAHkNvdWxkbid0IGNhc3QgQW55IHRvIExpc3RbQW55XQMJAAAAAAAAAgUAAAABcgUAAAABcgkBAAAAEXBhcnNlU3RhdGVDaGFuZ2VzAAAAAQUAAAABcgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZQ2J1I=", "height": 2019470, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4LBoDsipRWm1NqkbQz2eN8HWe16aDhYumyNRZoaGHTAw Next: E51beKMKJg6Wqhz7d2MpvHZmePW5epPNJJdhyujREhVS Diff:
OldNewDifferences
5555 let paymentAmounts = $t09511018._1
5656 let paymentAssetIds = $t09511018._2
5757 let r = {
58- let @ = invoke(globalAddress, fname, [i.caller, paymentAmounts, paymentAssetIds], nil)
58+ let @ = invoke(globalAddress, fname, [i.caller.bytes, paymentAmounts, paymentAssetIds], nil)
5959 if ($isInstanceOf(@, "List[Any]"))
6060 then @
6161 else throw("Couldn't cast Any to List[Any]")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let globalAddress = Address(base58'3NBkCxZYHAsgWzHcictPG3CyPdEqPRDRyQM')
55
66 func preparePayments (payments) = {
77 func paymentsFold (acc,payment) = {
88 let $t0301344 = acc
99 let paymentAmounts = $t0301344._1
1010 let paymentAssetIds = $t0301344._2
1111 $Tuple2((paymentAmounts :+ payment.amount), (paymentAssetIds :+ payment.assetId))
1212 }
1313
1414 let $l = payments
1515 let $s = size($l)
1616 let $acc0 = $Tuple2(nil, nil)
1717 func $f0_1 ($a,$i) = if (($i >= $s))
1818 then $a
1919 else paymentsFold($a, $l[$i])
2020
2121 func $f0_2 ($a,$i) = if (($i >= $s))
2222 then $a
2323 else throw("List size exceeds 10")
2424
2525 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
2626 }
2727
2828
2929 func parseStateChanges (changes) = {
3030 func collect (result,source) = match source {
3131 case e: Issue|Burn|Reissue|ScriptTransfer|BinaryEntry|BooleanEntry|StringEntry|IntegerEntry =>
3232 (result :+ e)
3333 case _ =>
3434 result
3535 }
3636
3737 let $l = changes
3838 let $s = size($l)
3939 let $acc0 = nil
4040 func $f0_1 ($a,$i) = if (($i >= $s))
4141 then $a
4242 else collect($a, $l[$i])
4343
4444 func $f0_2 ($a,$i) = if (($i >= $s))
4545 then $a
4646 else throw("List size exceeds 10")
4747
4848 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
4949 }
5050
5151
5252 @Callable(i)
5353 func call (fname) = {
5454 let $t09511018 = preparePayments(i.payments)
5555 let paymentAmounts = $t09511018._1
5656 let paymentAssetIds = $t09511018._2
5757 let r = {
58- let @ = invoke(globalAddress, fname, [i.caller, paymentAmounts, paymentAssetIds], nil)
58+ let @ = invoke(globalAddress, fname, [i.caller.bytes, paymentAmounts, paymentAssetIds], nil)
5959 if ($isInstanceOf(@, "List[Any]"))
6060 then @
6161 else throw("Couldn't cast Any to List[Any]")
6262 }
6363 if ((r == r))
6464 then parseStateChanges(r)
6565 else throw("Strict value is not equal to itself.")
6666 }
6767
6868
6969 @Verifier(tx)
7070 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
7171

github/deemru/w8io/169f3d6 
24.65 ms