tx · BrnyQcgcjoyG8vMurrW6h7ZdPBBiKzvWAYTbwznuShFx

3N4RCuByb1n8ikP3jYtYUYVQvT1vDkR6hfL:  -0.01400000 Waves

2019.07.28 23:58 [606429] smart account 3N4RCuByb1n8ikP3jYtYUYVQvT1vDkR6hfL > SELF 0.00000000 Waves

{ "type": 13, "id": "BrnyQcgcjoyG8vMurrW6h7ZdPBBiKzvWAYTbwznuShFx", "fee": 1400000, "feeAssetId": null, "timestamp": 1564347531709, "version": 1, "sender": "3N4RCuByb1n8ikP3jYtYUYVQvT1vDkR6hfL", "senderPublicKey": "BRFZFVsnc2b87hEHPEVNzWUtayFELMnWmDiPuVUFkfZ3", "proofs": [ "3FcDkHupPWJHV3Nrq6BH6xUNptS8wYBuRPqpNzWgi9kJmaZCTxowfbL54PDWhsPCL4sgrFrxnUjyyagxf4h9hbdJ" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAABQAAAAFpAQAAAAR0ZXN0AAAAAAQAAAAGcmVzdWx0AwMJAAH0AAAAAwEAAAAGWauGw2OmAQAAAAMCmnkBAAAAAwJ1hgYJAAH0AAAAAwEAAAAHFFDciESTnAEAAAADApp5AQAAAAMCdYYGCQAB9AAAAAMBAAAACASaUfbfiXFYAQAAAAMCmnkBAAAAAwJ1hgkAAAIAAAABCQABpQAAAAEFAAAABnJlc3VsdAAAAAFpAQAAAAh0b0Jhc2U1OAAAAAEAAAADbXNnBAAAAAZyZXN1bHQJAAJYAAAAAQkAAZsAAAABBQAAAANtc2cJAAACAAAAAQUAAAAGcmVzdWx0AAAAAWkBAAAACmZyb21CYXNlNTgAAAABAAAAA21zZwQAAAAGcmVzdWx0CQAEsAAAAAEJAAJZAAAAAQUAAAADbXNnCQAAAgAAAAEFAAAABnJlc3VsdAAAAAFpAQAAAApzaGEyNTZIYXNoAAAAAQAAAANtc2cEAAAABnJlc3VsdAkAAlwAAAABCQAB9wAAAAEJAAGbAAAAAQUAAAADbXNnCQAAAgAAAAEFAAAABnJlc3VsdAAAAAFpAQAAAA1sYXN0QmxvY2tJbmZvAAAAAQAAAANtc2cEAAAABnJlc3VsdAkAASwAAAACCQABLAAAAAIJAAGkAAAAAQgFAAAACWxhc3RCbG9jawAAAAZoZWlnaHQCAAAAAiwgCQAEJQAAAAEIBQAAAAlsYXN0QmxvY2sAAAAJZ2VuZXJhdG9yCQAAAgAAAAEFAAAABnJlc3VsdAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAGAlktLg==", "chainId": 84, "height": 606429, "spentComplexity": 0 } View: original | compacted Prev: 75why7mE2A2Bs2ssYL3WVrAUQ3c9numwfzBT9BhowEyi Next: G7LjXP3LqBckg9vQ5fVYJUXZ3byKEA2v6eA8DwF9umXG Diff:
OldNewDifferences
3838 }
3939
4040
41+
42+@Callable(i)
43+func lastBlockInfo (msg) = {
44+ let result = ((toString(lastBlock.height) + ", ") + toString(lastBlock.generator))
45+ throw(result)
46+ }
47+
48+
4149 @Verifier(tx)
4250 func verify () = true
4351
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func test () = {
88 let result = if (if (sigVerify(base58'message1', base58'sig', base58'pub'))
99 then true
1010 else sigVerify(base58'message11', base58'sig', base58'pub'))
1111 then true
1212 else sigVerify(base58'message111', base58'sig', base58'pub')
1313 throw(toString(result))
1414 }
1515
1616
1717
1818 @Callable(i)
1919 func toBase58 (msg) = {
2020 let result = toBase58String(toBytes(msg))
2121 throw(result)
2222 }
2323
2424
2525
2626 @Callable(i)
2727 func fromBase58 (msg) = {
2828 let result = toUtf8String(fromBase58String(msg))
2929 throw(result)
3030 }
3131
3232
3333
3434 @Callable(i)
3535 func sha256Hash (msg) = {
3636 let result = toBase16String(sha256(toBytes(msg)))
3737 throw(result)
3838 }
3939
4040
41+
42+@Callable(i)
43+func lastBlockInfo (msg) = {
44+ let result = ((toString(lastBlock.height) + ", ") + toString(lastBlock.generator))
45+ throw(result)
46+ }
47+
48+
4149 @Verifier(tx)
4250 func verify () = true
4351

github/deemru/w8io/169f3d6 
31.96 ms