tx · AropBPz18Kw6h8F7p37KRqBuC3BRHRzbtKjo9Jzru78y

3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN:  -0.01000000 Waves

2021.12.03 14:45 [1818051] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves

{ "type": 13, "id": "AropBPz18Kw6h8F7p37KRqBuC3BRHRzbtKjo9Jzru78y", "fee": 1000000, "feeAssetId": null, "timestamp": 1638531943692, "version": 2, "chainId": 84, "sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK", "proofs": [ "Lk9nzNgEnHK2UV1krgWNTf8zJqJWdgcNfe9UPPyoQtKZhMsuoBaJqvZwtgY2DTCWfTi769ec9NSbYAxMjgceJfu" ], "script": "base64:AAIFAAAAAAAAAAwIAhIDCgEIEgMKAQgAAAACAAAAAAVjYW5kbwIAAAAjM011VzR0MWpDWEh0OFdSc0hWTFVhcjMyRW52SnhaYVFXQXgAAAAABXNlcGFyAgAAAAV8fHx8fAAAAAIAAAABaQEAAAAGY3JlYXRlAAAAAQAAAAJ4eQQAAAAMY2FsbGVyQWRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABG1lc3MJAAS5AAAAAgkABEwAAAACAgAAACMzTjM3N01TRnpGZHd4Vzk3RU5wZnFmWkxZU25HelNNV3ZOTgkABEwAAAACAgAAAAN1cmwJAARMAAAAAgkAAaQAAAABAAAAAAAAAABkBQAAAANuaWwFAAAABXNlcGFyAwkAAAAAAAACBQAAAAVjYW5kbwUAAAAMY2FsbGVyQWRyZXNzCQAFFAAAAAIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAACeHkFAAAABG1lc3MFAAAAA25pbAUAAAAEdW5pdAkAAAIAAAABAgAAACDQktGLINC90LUg0LzQvtC20LXRgtC1IHRvIGNyZWF0ZQAAAAFpAQAAAAZjaGFuZ2UAAAABAAAABXRyYW5zBAAAAAxjYWxsZXJBZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAACdHIJAAS1AAAAAgUAAAAFdHJhbnMFAAAABXNlcGFyBAAAAARtZXNzCQAEuQAAAAIJAARMAAAAAgUAAAAMY2FsbGVyQWRyZXNzCQAETAAAAAIJAAGRAAAAAgUAAAACdHIAAAAAAAAAAAEJAARMAAAAAgkAAZEAAAACBQAAAAJ0cgAAAAAAAAAAAgUAAAADbmlsBQAAAAVzZXBhcgMJAAAAAAAAAgUAAAAFY2FuZG8FAAAADGNhbGxlckFkcmVzcwkABRQAAAACCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAGRAAAAAgUAAAACdHIAAAAAAAAAAAAFAAAABG1lc3MJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAYagBQAAAAR1bml0BQAAAANuaWwFAAAABHVuaXQJAAACAAAAAQIAAAAg0JLRiyDQvdC1INC80L7QttC10YLQtSB0byBjcmVhdGUAAAAAOKyX9w==", "height": 1818051, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2trKWQUDgNRFpLrQd2SBMU3xCacBdc8mTPnM73GLx2aJ Next: 8ZH3CA3ts9rnwkBrKSuKZozFC4x2YhHEc53CWDGFQnki Diff:
OldNewDifferences
2222 let h = split(g, b)
2323 let f = makeString([e, h[1], h[2]], b)
2424 if ((a == e))
25- then $Tuple2([StringEntry(h[0], f)], unit)
25+ then $Tuple2([StringEntry(h[0], f), ScriptTransfer(c.caller, 100000, unit)], unit)
2626 else throw("Вы не можете to create")
2727 }
2828
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx"
55
66 let b = "|||||"
77
88 @Callable(c)
99 func create (d) = {
1010 let e = toBase58String(c.caller.bytes)
1111 let f = makeString(["3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "url", toString(100)], b)
1212 if ((a == e))
1313 then $Tuple2([StringEntry(d, f)], unit)
1414 else throw("Вы не можете to create")
1515 }
1616
1717
1818
1919 @Callable(c)
2020 func change (g) = {
2121 let e = toBase58String(c.caller.bytes)
2222 let h = split(g, b)
2323 let f = makeString([e, h[1], h[2]], b)
2424 if ((a == e))
25- then $Tuple2([StringEntry(h[0], f)], unit)
25+ then $Tuple2([StringEntry(h[0], f), ScriptTransfer(c.caller, 100000, unit)], unit)
2626 else throw("Вы не можете to create")
2727 }
2828
2929

github/deemru/w8io/026f985 
26.67 ms