tx · 9X9SUce8pq7YHUtosCYkBQ2cLrqNpVyFuAt7JK1wRnAb 3NCgMSjZAAnDTrT5qqor1g9H9umQYdcArjf: -0.01000000 Waves 2023.05.30 03:52 [2600014] smart account 3NCgMSjZAAnDTrT5qqor1g9H9umQYdcArjf > SELF 0.00000000 Waves
{ "type": 13, "id": "9X9SUce8pq7YHUtosCYkBQ2cLrqNpVyFuAt7JK1wRnAb", "fee": 1000000, "feeAssetId": null, "timestamp": 1685407955294, "version": 2, "chainId": 84, "sender": "3NCgMSjZAAnDTrT5qqor1g9H9umQYdcArjf", "senderPublicKey": "csSGfbFahSbdi18iH9DiMZ6WVdnveRLsFBwCfkAsdP8", "proofs": [ "gEnuY2PbXC65QgERjWa6CnayMTtRvmQfwzioorCstJXtofoKuhKMmxXs1LjBqVps6Ap3yPkbv3DFAPtWJuNhsYf" ], "script": "base64:BgIJCAISABIDCgECAAIBaQENdG9rZW5Jc3N1YW5jZQAEBG5hbWUCCkJlYnJhVG9rZW4EDmxlbmRlc2NyaXB0aW9uAg9CZWJyYSBieSBLcmluZ2UECHF1YW50aXR5AJBOBAhkZWNpbWFscwADBAxpc1JlaXNzdWFibGUGBAppc3N1ZUJlYnJhCQDDCAcFBG5hbWUFDmxlbmRlc2NyaXB0aW9uBQhxdWFudGl0eQUIZGVjaW1hbHMFDGlzUmVpc3N1YWJsZQUEdW5pdAAABAdhc3NldElkCQC4CAEFCmlzc3VlQmVicmEECWtuZXdUb2tlbgIFVG9rZW4ECGthc3NldElkAghBc3NldCBJRAQLZ2V0TmV3VG9rZW4JARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQR0aGlzBQlrbmV3VG9rZW4CGUJlYnJhVG9rZW4gaXMgbm90IGRlZmluZWQJAMwIAgUKaXNzdWVCZWJyYQkAzAgCCQELQmluYXJ5RW50cnkCBQhrYXNzZXRJZAUHYXNzZXRJZAkAzAgCCQELU3RyaW5nRW50cnkCBQlrbmV3VG9rZW4IBQppc3N1ZUJlYnJhBG5hbWUFA25pbAFpAQtzZW5kZXJUb2tlbgEHYXNzZXRJZAQJcmVjaXBpZW50CAUBaQZjYWxsZXIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50ANAPBQdhc3NldElkBQNuaWwBAnR4AQZ2ZXJpZnkABAckbWF0Y2gwBQJ0eAMJAAECBQckbWF0Y2gwAhNUcmFuc2ZlclRyYW5zYWN0aW9uBAN0dHgFByRtYXRjaDADCQBmAggFA3R0eANmZWUAwNiIMgkA9AMDCAUDdHR4CWJvZHlCeXRlcwkAkQMCCAUDdHR4BnByb29mcwAACAUDdHR4D3NlbmRlclB1YmxpY0tleQcH8IoVfg==", "height": 2600014, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3M8vxXgDtELxAgz1anufXDZPiueb17J9Pz24FkZt2UaR Next: none Diff:
Old | New | Differences | |
---|---|---|---|
27 | 27 | } | |
28 | 28 | ||
29 | 29 | ||
30 | + | @Verifier(m) | |
31 | + | func n () = { | |
32 | + | let o = m | |
33 | + | if ($isInstanceOf(o, "TransferTransaction")) | |
34 | + | then { | |
35 | + | let p = o | |
36 | + | if ((p.fee > 105000000)) | |
37 | + | then sigVerify(p.bodyBytes, p.proofs[0], p.senderPublicKey) | |
38 | + | else false | |
39 | + | } | |
40 | + | else false | |
41 | + | } | |
42 | + |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | 7 | func tokenIssuance () = { | |
8 | 8 | let b = "BebraToken" | |
9 | 9 | let c = "Bebra by Kringe" | |
10 | 10 | let d = 10000 | |
11 | 11 | let e = 3 | |
12 | 12 | let f = true | |
13 | 13 | let g = Issue(b, c, d, e, f, unit, 0) | |
14 | 14 | let h = calculateAssetId(g) | |
15 | 15 | let i = "Token" | |
16 | 16 | let j = "Asset ID" | |
17 | 17 | let k = valueOrErrorMessage(getString(this, i), "BebraToken is not defined") | |
18 | 18 | [g, BinaryEntry(j, h), StringEntry(i, g.name)] | |
19 | 19 | } | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | ||
23 | 23 | @Callable(a) | |
24 | 24 | func senderToken (h) = { | |
25 | 25 | let l = a.caller | |
26 | 26 | [ScriptTransfer(l, 2000, h)] | |
27 | 27 | } | |
28 | 28 | ||
29 | 29 | ||
30 | + | @Verifier(m) | |
31 | + | func n () = { | |
32 | + | let o = m | |
33 | + | if ($isInstanceOf(o, "TransferTransaction")) | |
34 | + | then { | |
35 | + | let p = o | |
36 | + | if ((p.fee > 105000000)) | |
37 | + | then sigVerify(p.bodyBytes, p.proofs[0], p.senderPublicKey) | |
38 | + | else false | |
39 | + | } | |
40 | + | else false | |
41 | + | } | |
42 | + |
github/deemru/w8io/169f3d6 115.51 ms ◑