tx · ABaqmFA2AAKDZZqyrEXPrCCjxNRnsriyvGxnVYYRspr

3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB:  -0.01400000 Waves

2021.05.31 11:48 [1549630] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves

{ "type": 13, "id": "ABaqmFA2AAKDZZqyrEXPrCCjxNRnsriyvGxnVYYRspr", "fee": 1400000, "feeAssetId": null, "timestamp": 1622450908157, "version": 2, "chainId": 84, "sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB", "senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb", "proofs": [ "3XMrP1Lo2McA6dkPmFC4Agj6fC9B76eZLQS4tyb5KBdFr3EFUHNqXEKCPaeKa9c2E8WeAkQ7Jwz1iJQAeLsV9WoC" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAwAAAAAIa2l0dGVuSWQCAAAALEd1b2JjSHZXOVdxb3Rua0dVajdKa3BjYlh0Z1ZmQjM3VEE0SmtnU2o5UWJiAQAAAApnZW5lcmF0aW9uAAAAAQAAAANudW0DAwkAAGYAAAACBQAAAANudW0AAAAAAAAAAAAGCQAAZwAAAAIAAAAAAAAAASwFAAAAA251bQIAAAACRzEDAwkAAGYAAAACBQAAAANudW0AAAAAAAAAASwGCQAAZwAAAAIAAAAAAAAAA+gFAAAAA251bQIAAAACRzICAAAAAkczAQAAAA1pc3N1ZUdlbmVDb2RlAAAAAAQAAAAJdGltZXN0YW1wCAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAQAAAAMdGltZXN0YW1wU3RyCQABpAAAAAEFAAAACXRpbWVzdGFtcAQAAAAKdGltZXN0YW1wMgkBAAAACXRha2VSaWdodAAAAAIFAAAADHRpbWVzdGFtcFN0cgAAAAAAAAAAAgQAAAAHcGVyY2VudAkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAAAp0aW1lc3RhbXA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sdWUAAAABBQAAAAppc3N1ZU5mdElkBQAAAAhnZW5lQ29kZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAANaXNzdWVRdWFudGl0eQUAAAALbmV3UXVhbnRpdHkFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V53JuBaQ==", "height": 1549630, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5DPyQmq66BmE1fjxHf74JKCNVmFHPt6MQoiJKyHD8rby Next: 45ZZNqrw9UT9PdNW6d36kFL8WQmotksgYCw4TSW8LfHo Diff:
OldNewDifferences
2020 let g = takeRight(f, 2)
2121 let h = parseIntValue(g)
2222 if ((h == 0))
23- then "AA-AA-AA-AA"
23+ then "II-II-II-II"
2424 else if (if ((h > 0))
2525 then (3 >= h)
2626 else false)
4545 then (48 >= h)
4646 else false)
4747 then "GG-GG-GG-GG"
48- else "HH-HH-HH-HH"
48+ else if (if ((h > 48))
49+ then (51 >= h)
50+ else false)
51+ then "AA-AA-AA-AA"
52+ else "HH-HH-HH-HH"
4953 }
5054
5155
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "GuobcHvW9WqotnkGUj7JkpcbXtgVfB37TA4JkgSj9Qbb"
55
66 func b (c) = if (if ((c > 0))
77 then true
88 else (300 >= c))
99 then "G1"
1010 else if (if ((c > 300))
1111 then true
1212 else (1000 >= c))
1313 then "G2"
1414 else "G3"
1515
1616
1717 func d () = {
1818 let e = lastBlock.timestamp
1919 let f = toString(e)
2020 let g = takeRight(f, 2)
2121 let h = parseIntValue(g)
2222 if ((h == 0))
23- then "AA-AA-AA-AA"
23+ then "II-II-II-II"
2424 else if (if ((h > 0))
2525 then (3 >= h)
2626 else false)
2727 then "BB-BB-BB-BB"
2828 else if (if ((h > 3))
2929 then (8 >= h)
3030 else false)
3131 then "CC-CC-CC-CC"
3232 else if (if ((h > 8))
3333 then (15 >= h)
3434 else false)
3535 then "DD-DD-DD-DD"
3636 else if (if ((h > 15))
3737 then (24 >= h)
3838 else false)
3939 then "EE-EE-EE-EE"
4040 else if (if ((h > 24))
4141 then (35 >= h)
4242 else false)
4343 then "FF-FF-FF-FF"
4444 else if (if ((h > 35))
4545 then (48 >= h)
4646 else false)
4747 then "GG-GG-GG-GG"
48- else "HH-HH-HH-HH"
48+ else if (if ((h > 48))
49+ then (51 >= h)
50+ else false)
51+ then "AA-AA-AA-AA"
52+ else "HH-HH-HH-HH"
4953 }
5054
5155
5256 @Callable(i)
5357 func giveBirthKitten () = {
5458 let j = i.payments[0]
5559 let k = toBase58String(value(j.assetId))
5660 if ((k != a))
5761 then throw("Please send Kitten token.")
5862 else {
5963 let l = j.amount
6064 let m = {
6165 let n = getInteger(this, "issueQuantity")
6266 if ($isInstanceOf(n, "Int"))
6367 then {
6468 let o = n
6569 o
6670 }
6771 else 0
6872 }
6973 let p = (m + 1)
7074 let q = b(p)
7175 if ((l > 300))
7276 then throw("Amount of Kitten tokens sent is 3 tokens.")
7377 else if ((300 > l))
7478 then throw("Amount of Kitten tokens sent is 3 tokens.")
7579 else {
7680 let r = Issue("Kitten(=^・^=)", ("generation:" + q), 1, 0, false)
7781 let s = calculateAssetId(r)
7882 let t = ScriptTransfer(i.caller, 1, s)
7983 let u = d()
8084 [r, t, StringEntry(toBase58String(value(s)), u), IntegerEntry("issueQuantity", p)]
8185 }
8286 }
8387 }
8488
8589
8690 @Verifier(v)
8791 func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
8892

github/deemru/w8io/026f985 
29.19 ms