tx · 8kLQVjJadekGc9fjyLeU9rnyw94VAQdiQShqcXdJCQaC

3My2kBJaGfeM2koiZroaYdd3y8rAgfV2EAx:  -0.01800000 Waves

2021.09.09 16:25 [1695570] smart account 3My2kBJaGfeM2koiZroaYdd3y8rAgfV2EAx > SELF 0.00000000 Waves

{ "type": 13, "id": "8kLQVjJadekGc9fjyLeU9rnyw94VAQdiQShqcXdJCQaC", "fee": 1800000, "feeAssetId": null, "timestamp": 1631193937828, "version": 1, "sender": "3My2kBJaGfeM2koiZroaYdd3y8rAgfV2EAx", "senderPublicKey": "BpAiAiQ7PGA9M6G4ExNMfUDuP6xk4Aypm43WvECskqTD", "proofs": [ "yKkKWfuHwMTkKhunf72JCmiDAVv2tKWxLNzVc6PLyn74PLXTzkFk8KzYaU1APfYw3P8PJNmsXoLXFD8eD8dX2h8" ], "script": "base64:AAIFAAAAAAAAAiUIAhIAEgASBgoEAgQBCBIGCgQSFBEYGgcKAmExEgFpGgoKAmEyEgR0eElkGhQKAmEzEg5hZGRQYXltZW50SW5mbxoJCgJhNBIDYWNjGgsKAmE1EgVpbmRleBoJCgJhNhIDcG10GgsKAmE3EgVhc3NldBoNCgJhOBIHJG1hdGNoMBoICgJhORICaWQaCwoCYjESBXdhdmVzGhEKAmIyEgskbGlzdDcxNDc3NRoRCgJiMxILJHNpemU3MTQ3NzUaEQoCYjQSCyRhY2MwNzE0Nzc1GhEKAmI1EgskYWNjMTcxNDc3NRoRCgJiNhILJGFjYzI3MTQ3NzUaEQoCYjcSCyRhY2MzNzE0Nzc1GhEKAmI4EgskYWNjNDcxNDc3NRoRCgJiORILJGFjYzU3MTQ3NzUaEQoCYzESCyRhY2M2NzE0Nzc1GhEKAmMyEgskYWNjNzcxNDc3NRoRCgJjMxILJGFjYzg3MTQ3NzUaEQoCYzQSCyRhY2M5NzE0Nzc1GhIKAmM1EgwkYWNjMTA3MTQ3NzUaEgoCYzYSDCRhY2MxMTcxNDc3NRoJCgJjNxIDYmluGgoKAmM4EgR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AGUAAAACBQAAAAJkNAAAAAAAAAAAAQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAAJhMgIAAAAJX3N0cl9zaXplBQAAAAJkNQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAAAmEyAgAAAApfc3RyX2ZpcnN0CQABkQAAAAIFAAAAAmQxAAAAAAAAAAAACQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgUAAAACYTICAAAACV9zdHJfbGFzdAkAAZEAAAACBQAAAAJkMQkAAGUAAAACBQAAAAJkNQAAAAAAAAAAAQUAAAADbmlsAAAAAQAAAAJkNgEAAAACZDcAAAAACQAB9AAAAAMIBQAAAAJkNgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmQ2AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAmQ2AAAAD3NlbmRlclB1YmxpY0tleYCvB0c=", "chainId": 84, "height": 1695570, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EhwKKPadksBiAitzdENmpgwrZLDkCoghtce2sw3UZ5Ha Next: none Diff:
OldNewDifferences
1111 @Callable(a)
1212 func callWithPaymentsButNoArgs () = {
1313 let b = toBase58String(a.transactionId)
14- func c (d,e) = if ((size(a.payments) > e))
14+ func c (d,e) = if ((e >= size(a.payments)))
1515 then d
1616 else {
1717 let f = a.payments[e]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func default () = [StringEntry("default-call-id", toBase58String(a.transactionId))]
88
99
1010
1111 @Callable(a)
1212 func callWithPaymentsButNoArgs () = {
1313 let b = toBase58String(a.transactionId)
14- func c (d,e) = if ((size(a.payments) > e))
14+ func c (d,e) = if ((e >= size(a.payments)))
1515 then d
1616 else {
1717 let f = a.payments[e]
1818 let g = {
1919 let h = f.assetId
2020 if ($isInstanceOf(h, "ByteVector"))
2121 then {
2222 let i = h
2323 (((value(assetInfo(i)).name + " (") + toBase58String(i)) + ")")
2424 }
2525 else if ($isInstanceOf(h, "Unit"))
2626 then {
2727 let j = h
2828 "WAVES"
2929 }
3030 else throw("Match error")
3131 }
3232 (d :+ StringEntry(((b + "_") + toString(e)), ((toString(f.amount) + " ") + g)))
3333 }
3434
3535 let k = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
3636 let l = size(k)
3737 let m = nil
3838 if ((l == 0))
3939 then m
4040 else {
4141 let n = c(m, k[0])
4242 if ((l == 1))
4343 then n
4444 else {
4545 let o = c(n, k[1])
4646 if ((l == 2))
4747 then o
4848 else {
4949 let p = c(o, k[2])
5050 if ((l == 3))
5151 then p
5252 else {
5353 let q = c(p, k[3])
5454 if ((l == 4))
5555 then q
5656 else {
5757 let r = c(q, k[4])
5858 if ((l == 5))
5959 then r
6060 else {
6161 let s = c(r, k[5])
6262 if ((l == 6))
6363 then s
6464 else {
6565 let t = c(s, k[6])
6666 if ((l == 7))
6767 then t
6868 else {
6969 let u = c(t, k[7])
7070 if ((l == 8))
7171 then u
7272 else {
7373 let v = c(u, k[8])
7474 if ((l == 9))
7575 then v
7676 else {
7777 let w = c(v, k[9])
7878 if ((l == 10))
7979 then w
8080 else {
8181 let x = c(w, k[10])
8282 throw("List size exceed 10")
8383 }
8484 }
8585 }
8686 }
8787 }
8888 }
8989 }
9090 }
9191 }
9292 }
9393 }
9494 }
9595
9696
9797
9898 @Callable(a)
9999 func callWithNativeArgsAndNoPayments (y,z,A,B) = {
100100 let b = toBase58String(a.transactionId)
101101 [BinaryEntry((b + "_bin"), y), BooleanEntry((b + "_bool"), z), IntegerEntry((b + "_int"), A), StringEntry((b + "_str"), B)]
102102 }
103103
104104
105105
106106 @Callable(a)
107107 func callWithListArgsAndNoPayments (y,z,A,B) = {
108108 let b = toBase58String(a.transactionId)
109109 let C = size(y)
110110 let D = size(z)
111111 let E = size(A)
112112 let F = size(B)
113113 [IntegerEntry((b + "_bin_size"), C), BinaryEntry((b + "_bin_first"), y[0]), BinaryEntry((b + "_bin_last"), y[(C - 1)]), IntegerEntry((b + "_bool_size"), D), BooleanEntry((b + "_bool_first"), z[0]), BooleanEntry((b + "_bool_last"), z[(D - 1)]), IntegerEntry((b + "_int_size"), E), IntegerEntry((b + "_int_first"), A[0]), IntegerEntry((b + "_int_last"), A[(E - 1)]), IntegerEntry((b + "_str_size"), F), StringEntry((b + "_str_first"), B[0]), StringEntry((b + "_str_last"), B[(F - 1)])]
114114 }
115115
116116
117117 @Verifier(G)
118118 func H () = sigVerify(G.bodyBytes, G.proofs[0], G.senderPublicKey)
119119

github/deemru/w8io/169f3d6 
38.34 ms