tx · QwuDq6JiyNCnrNmtVfHpYY9T9i7BsGKzzZmCNoqLpxn
3MpUDmnN27gMSxHDEFQLW75epUMECTHDn6E: -0.01400000 Waves
2020.11.26 08:46 [1281980] smart account 3MpUDmnN27gMSxHDEFQLW75epUMECTHDn6E > SELF 0.00000000 Waves
{
"type": 13,
"id": "QwuDq6JiyNCnrNmtVfHpYY9T9i7BsGKzzZmCNoqLpxn",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1606369646227,
"version": 2,
"chainId": 84,
"sender": "3MpUDmnN27gMSxHDEFQLW75epUMECTHDn6E",
"senderPublicKey": "FJk5n9i5ysYBtjvPcos6iKm98yzpxms3gECZgg6Y8Bt1",
"proofs": [
"3ZX54wVxiXe6j2gcJ6JB4UzGnHn18R99Z8bc9YsHoF1mPYUyydXiY2wiHgoFMwrRuD5ySsYTvBVJ5RBB9j88cGad"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAABAAAAAAIZ2V0RGVsYXkAAAAAAAAAAAoAAAAADGFtb3VudFRvR2l2ZQAAAAAAAAAAMgAAAAAHYXNzZXRJZAEAAAAg6KVqvMp3QvJwYTI1Sk9Fg7m5HuWZZxfDcerZC6EEresBAAAAD2dldEludGVnZXJCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhBQAAAAZoZWlnaHQAAAABAAAAAWkBAAAAB2dldFNpZ24AAAAABAAAAAZjYWxsZXIJAAQlAAAAAQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BAAAAAZjYW5HZXQJAQAAAA9nZXRJbnRlZ2VyQnlLZXkAAAABBQAAAAZjYWxsZXIDCQAAZwAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAAAhnZXREZWxheQUAAAAGY2FuR2V0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAAZjYWxsZXIFAAAABmhlaWdodAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAAGY2FsbGVyBQAAAAxhbW91bnRUb0dpdmUFAAAAB2Fzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAAB1Zb3UgY2Fubm90IGdldCBTSUdOIHRva2VuIHlldAAAAAAoZR71",
"height": 1281980,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DbHFnDquk8DHDDB8qeNyPGMRrjYRCRypfrTCjggNhP6g
Next: CzMmimDB2RzrHaTJEhXFTmCgc8oXRE5MesZvvAPvkGor
Diff:
Old | New | | Differences |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = 10 |
---|
5 | 5 | | |
---|
6 | | - | let b = 5000000000 |
---|
| 6 | + | let b = 50 |
---|
7 | 7 | | |
---|
8 | 8 | | let c = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' |
---|
9 | 9 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = 10 |
---|
5 | 5 | | |
---|
6 | | - | let b = 5000000000 |
---|
| 6 | + | let b = 50 |
---|
7 | 7 | | |
---|
8 | 8 | | let c = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' |
---|
9 | 9 | | |
---|
10 | 10 | | func d (e) = { |
---|
11 | 11 | | let f = getInteger(this, e) |
---|
12 | 12 | | if ($isInstanceOf(f, "Int")) |
---|
13 | 13 | | then { |
---|
14 | 14 | | let g = f |
---|
15 | 15 | | g |
---|
16 | 16 | | } |
---|
17 | 17 | | else height |
---|
18 | 18 | | } |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|
21 | 21 | | @Callable(h) |
---|
22 | 22 | | func getSign () = { |
---|
23 | 23 | | let i = toString(addressFromPublicKey(h.callerPublicKey)) |
---|
24 | 24 | | let j = d(i) |
---|
25 | 25 | | if (((height - a) >= j)) |
---|
26 | 26 | | then [IntegerEntry(i, height), ScriptTransfer(Address(fromBase58String(i)), b, c)] |
---|
27 | 27 | | else throw("You cannot get SIGN token yet") |
---|
28 | 28 | | } |
---|
29 | 29 | | |
---|
30 | 30 | | |
---|