tx · Ht36ig4Ea5QgwfJLYhpDcD1di1timeotMuuDkcekFFAY

3N5TwK9d21XCWD7ooDKAkgE5pVH9MJWhJTA:  -0.01400000 Waves

2019.12.24 15:26 [823085] smart account 3N5TwK9d21XCWD7ooDKAkgE5pVH9MJWhJTA > SELF 0.00000000 Waves

{ "type": 13, "id": "Ht36ig4Ea5QgwfJLYhpDcD1di1timeotMuuDkcekFFAY", "fee": 1400000, "feeAssetId": null, "timestamp": 1577190405700, "version": 1, "sender": "3N5TwK9d21XCWD7ooDKAkgE5pVH9MJWhJTA", "senderPublicKey": "HQGEKmNmnzmWZZoMna8uBURAvisGCsMgCG9fjT3ynXXE", "proofs": [ "tBRVfKejFR8akHnZbrfwqjGToaxQdoPQKD7UbfbFKLHecBDaQSi8RzvMSsCevxKg8koRv9nrSqy1JDPhbhyZSY1" ], "script": "base64:AAIDAAAAAAAAAAoIARIGCgQIAQQCAAAAAAAAAAEAAAABaQEAAAAIdGVzdEFyZ3MAAAAEAAAAAWEAAAABYgAAAAFjAAAAAWQEAAAABXdyU2V0CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAhhX3N0cmluZwUAAAABYQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAFYl9pbnQFAAAAAWIJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAABmNfYm9vbAUAAAABYwkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAMZF9ieXRlVmVjdG9yBQAAAAFkCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMGBQAAAANuaWwEAAAABXRyU2V0CQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAehIAUAAAAEdW5pdAUAAAADbmlsBAAAAA1pc0tub3duQ2FsbGVyBAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAAEaGlzdAUAAAAHJG1hdGNoMAUAAAAEaGlzdAcDCQEAAAABIQAAAAEFAAAADWlzS25vd25DYWxsZXIJAQAAAAxTY3JpcHRSZXN1bHQAAAACBQAAAAV3clNldAUAAAAFdHJTZXQFAAAABXdyU2V0AAAAAHpT8DM=", "chainId": 84, "height": 823085, "spentComplexity": 0 } View: original | compacted Prev: 6QbikutVoL6VD3yWundQbrrGqYesoLDGXRgAtm1fXyBU Next: Es5MrYzuNya7kp31zLxcpTAbZEQv4hrJStTeLCeHatYX Diff:
OldNewDifferences
55
66 @Callable(i)
77 func testArgs (a,b,c,d) = {
8- let wrSet = WriteSet([DataEntry("a_string", a), DataEntry("b_int", b), DataEntry("c_bool", c), DataEntry("d_byteVector", d)])
9- let trSet = TransferSet([ScriptTransfer(Address(i.caller.bytes), 500001, unit)])
10- ScriptResult(wrSet, trSet)
8+ let wrSet = WriteSet([DataEntry("a_string", a), DataEntry("b_int", b), DataEntry("c_bool", c), DataEntry("d_byteVector", d), DataEntry(toBase58String(i.caller.bytes), true)])
9+ let trSet = TransferSet([ScriptTransfer(i.caller, 500000, unit)])
10+ let isKnownCaller = match getBoolean(this, toBase58String(i.caller.bytes)) {
11+ case hist: Boolean =>
12+ hist
13+ case _ =>
14+ false
15+ }
16+ if (!(isKnownCaller))
17+ then ScriptResult(wrSet, trSet)
18+ else wrSet
1119 }
1220
1321
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func testArgs (a,b,c,d) = {
8- let wrSet = WriteSet([DataEntry("a_string", a), DataEntry("b_int", b), DataEntry("c_bool", c), DataEntry("d_byteVector", d)])
9- let trSet = TransferSet([ScriptTransfer(Address(i.caller.bytes), 500001, unit)])
10- ScriptResult(wrSet, trSet)
8+ let wrSet = WriteSet([DataEntry("a_string", a), DataEntry("b_int", b), DataEntry("c_bool", c), DataEntry("d_byteVector", d), DataEntry(toBase58String(i.caller.bytes), true)])
9+ let trSet = TransferSet([ScriptTransfer(i.caller, 500000, unit)])
10+ let isKnownCaller = match getBoolean(this, toBase58String(i.caller.bytes)) {
11+ case hist: Boolean =>
12+ hist
13+ case _ =>
14+ false
15+ }
16+ if (!(isKnownCaller))
17+ then ScriptResult(wrSet, trSet)
18+ else wrSet
1119 }
1220
1321

github/deemru/w8io/026f985 
18.54 ms