tx · E5Bdt9PoaLrVi4K2NyPfJbKogEDfYLwvCPVxsJzZbzNj 3MuDeVJtgnf32JCP1fx191gP6opExbcVKRD: -0.01400000 Waves 2020.09.26 11:38 [1194075] smart account 3MuDeVJtgnf32JCP1fx191gP6opExbcVKRD > SELF 0.00000000 Waves
{ "type": 13, "id": "E5Bdt9PoaLrVi4K2NyPfJbKogEDfYLwvCPVxsJzZbzNj", "fee": 1400000, "feeAssetId": null, "timestamp": 1601109528947, "version": 2, "chainId": 84, "sender": "3MuDeVJtgnf32JCP1fx191gP6opExbcVKRD", "senderPublicKey": "8JfsGbtUyoZCTL7z6ZM6Et5V6q227EzzkXcJ42FMN3fy", "proofs": [ "4evck6Vqkgy4VH8VyV6CHUSnCfE1bCnZXHxGMaskDyneEjRHxJ3z6GouPurpfT8UGccf7HiRq7kvNqr9C1DA3v8T" ], "script": "base64:AAIEAAAAAAAAAAYIAhIAEgAAAAAEAAAAAAZMRVNTT04BAAAAIOjnSHw4js1vrbOhaypqBgUMh7yKo+Dj/vvXlCSDAODpAAAAAARQQVI3AQAAACDOWED9mOK0xZN34xzFUmgrQZwssasR1XxpyjfnkulHjAAAAAAIZWxlbWVudDcBAAAAIEtdmIFzzxIaN5YUPWUCLDXgYJocDCD80u+oMh4T0HwVAAAAAAhzd2FwUmF0ZQAAAAAAAAAAAQAAAAIAAAABaQEAAAAQaXNzdWVMZXNzb25Ub2tlbgAAAAAEAAAAA3BtdAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAMJAQAAAAIhPQAAAAIIBQAAAANwbXQAAAAHYXNzZXRJZAUAAAAEUEFSNwkAAAIAAAABAgAAABR3b3JrcyB3aXRoIFBBUjcgb25seQQAAAAKc3dhcEFtb3VudAkAAGgAAAACCAUAAAADcG10AAAABmFtb3VudAUAAAAIc3dhcFJhdGUEAAAADWFzc2V0SWRTdHJpbmcJAAJYAAAAAQkBAAAABXZhbHVlAAAAAQgFAAAAA3BtdAAAAAdhc3NldEl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b3VudAUAAAAIZWxlbWVudDcFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5dlZ8Fw==", "height": 1194075, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3MyEkLhJ6z2DJLFH3L2dvcnetYd22rowLmKW5cs7h86Z Next: none Diff:
Old | New | Differences | |
---|---|---|---|
45 | 45 | ||
46 | 46 | ||
47 | 47 | @Callable(e) | |
48 | - | func | |
48 | + | func issueElement7 () = { | |
49 | 49 | let f = e.payments[0] | |
50 | 50 | if ((f.assetId != b)) | |
51 | 51 | then throw("works with PAR7 only") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'GgA8mL3SEYvuhYoZFd418Li4bqXAasGbYCKJshTt2MGU' | |
5 | 5 | ||
6 | 6 | let b = base58'EtV3CXQ4wqm28WPB1KaBv5B9ke2bpXRZMutYNEJUQcXm' | |
7 | 7 | ||
8 | 8 | let c = base58'65CMXQWHBRE4QstqUSENboXEDHTzY95Z9izADtQWiMNk' | |
9 | 9 | ||
10 | 10 | let d = 1 | |
11 | 11 | ||
12 | 12 | @Callable(e) | |
13 | 13 | func issueLessonToken () = { | |
14 | 14 | let f = e.payments[0] | |
15 | 15 | if ((f.assetId != b)) | |
16 | 16 | then throw("works with PAR7 only") | |
17 | 17 | else { | |
18 | 18 | let g = (f.amount * d) | |
19 | 19 | let h = toBase58String(value(f.assetId)) | |
20 | 20 | let i = { | |
21 | 21 | let j = getInteger(this, h) | |
22 | 22 | if ($isInstanceOf(j, "Int")) | |
23 | 23 | then { | |
24 | 24 | let k = j | |
25 | 25 | k | |
26 | 26 | } | |
27 | 27 | else 0 | |
28 | 28 | } | |
29 | 29 | let l = (i + f.amount) | |
30 | 30 | let m = toBase58String(e.caller.bytes) | |
31 | 31 | let n = { | |
32 | 32 | let j = getInteger(this, m) | |
33 | 33 | if ($isInstanceOf(j, "Int")) | |
34 | 34 | then { | |
35 | 35 | let k = j | |
36 | 36 | k | |
37 | 37 | } | |
38 | 38 | else 0 | |
39 | 39 | } | |
40 | 40 | let o = (n + f.amount) | |
41 | 41 | [IntegerEntry(h, l), IntegerEntry(m, o), ScriptTransfer(e.caller, g, a)] | |
42 | 42 | } | |
43 | 43 | } | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | ||
47 | 47 | @Callable(e) | |
48 | - | func | |
48 | + | func issueElement7 () = { | |
49 | 49 | let f = e.payments[0] | |
50 | 50 | if ((f.assetId != b)) | |
51 | 51 | then throw("works with PAR7 only") | |
52 | 52 | else { | |
53 | 53 | let g = (f.amount * d) | |
54 | 54 | let h = toBase58String(value(f.assetId)) | |
55 | 55 | let i = { | |
56 | 56 | let j = getInteger(this, h) | |
57 | 57 | if ($isInstanceOf(j, "Int")) | |
58 | 58 | then { | |
59 | 59 | let k = j | |
60 | 60 | k | |
61 | 61 | } | |
62 | 62 | else 0 | |
63 | 63 | } | |
64 | 64 | let l = (i + f.amount) | |
65 | 65 | let m = toBase58String(e.caller.bytes) | |
66 | 66 | let n = { | |
67 | 67 | let j = getInteger(this, m) | |
68 | 68 | if ($isInstanceOf(j, "Int")) | |
69 | 69 | then { | |
70 | 70 | let k = j | |
71 | 71 | k | |
72 | 72 | } | |
73 | 73 | else 0 | |
74 | 74 | } | |
75 | 75 | let o = (n + f.amount) | |
76 | 76 | [Reissue(c, g, true), IntegerEntry(h, l), IntegerEntry(m, o), ScriptTransfer(e.caller, g, c)] | |
77 | 77 | } | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | @Verifier(p) | |
82 | 82 | func q () = sigVerify(p.bodyBytes, p.proofs[0], p.senderPublicKey) | |
83 | 83 |
github/deemru/w8io/169f3d6 31.00 ms ◑