tx · GftuRzV8GiAb1E98hTJq9QgTDGGcquBnoAU9zZcupCm5

3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB:  -0.01400000 Waves

2021.05.30 18:44 [1548604] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves

{ "type": 13, "id": "GftuRzV8GiAb1E98hTJq9QgTDGGcquBnoAU9zZcupCm5", "fee": 1400000, "feeAssetId": null, "timestamp": 1622389498855, "version": 2, "chainId": 84, "sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB", "senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb", "proofs": [ "2vw8kjbp4AwAK9XoSN1CW58CVdz1KxFWNvyAm15AdkqMCBzYKF5nVnwn9XimHaDwr1qdAes3YWkp9Y4XrNHvRRX6" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAwAAAAAIa2l0dGVuSWQCAAAALEd1b2JjSHZXOVdxb3Rua0dVajdKa3BjYlh0Z1ZmQjM3VEE0SmtnU2o5UWJiAQAAAApnZW5lcmF0aW9uAAAAAQAAAANudW0DAwkAAGYAAAACBQAAAANudW0AAAAAAAAAAAAGCQAAZwAAAAIAAAAAAAAAASwFAAAAA251bQIAAAACRzEDAwkAAGYAAAACBQAAAANudW0AAAAAAAAAASwGCQAAZwAAAAIAAAAAAAAAA+gFAAAAA251bQIAAAACRzICAAAAAkczAQAAAA1pc3N1ZUdlbmVDb2RlAAAAAAQAAAAJdGltZXN0YW1wCAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAQAAAAMdGltZXN0YW1wU3RyCQABpAAAAAEFAAAACXRpbWVzdGFtcAQAAAAKdGltZXN0YW1wMgkBAAAACXRha2VSaWdodAAAAAIFAAAADHRpbWVzdGFtcFN0cgAAAAAAAAAAAgQAAAAHcGVyY2VudAkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAAAp0aW1lc3RhbXAyAwkAA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FAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5xFwVqw==", "height": 1548604, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GEQ7huav6U5Er4HAhMuy7onYhJMWxQMZaAj3uqFAEMQC Next: 4fZEMf3Ze5GMUnUDLrLSMWknHJjrLJ1fJzKQrKqYoziJ Diff:
OldNewDifferences
55
66 func b (c) = if (if ((c > 0))
77 then true
8- else (100 >= c))
8+ else (300 >= c))
99 then "G1"
10- else if (if ((c > 100))
10+ else if (if ((c > 300))
1111 then true
12- else (900 >= c))
12+ else (1000 >= c))
1313 then "G2"
1414 else "G3"
1515
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
8- else (100 >= c))
8+ else (300 >= c))
99 then "G1"
10- else if (if ((c > 100))
10+ else if (if ((c > 300))
1111 then true
12- else (900 >= c))
12+ 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))
2323 then "AA-AA-AA-AA"
2424 else if (if ((h > 0))
2525 then true
2626 else (3 >= h))
2727 then "BB-BB-BB-BB"
2828 else if (if ((h > 3))
2929 then true
3030 else (8 >= h))
3131 then "CC-CC-CC-CC"
3232 else if (if ((h > 8))
3333 then true
3434 else (15 >= h))
3535 then "DD-DD-DD-DD"
3636 else if (if ((h > 15))
3737 then true
3838 else (24 >= h))
3939 then "EE-EE-EE-EE"
4040 else if (if ((h > 24))
4141 then true
4242 else (35 >= h))
4343 then "FF-FF-FF-FF"
4444 else if (if ((h > 35))
4545 then true
4646 else (48 >= h))
4747 then "GG-GG-GG-GG"
4848 else "HH-HH-HH-HH"
4949 }
5050
5151
5252 @Callable(i)
5353 func giveBirthKitten () = {
5454 let j = i.payments[0]
5555 let k = toBase58String(value(j.assetId))
5656 if ((k != a))
5757 then throw("Please send Kitten token.")
5858 else {
5959 let l = j.amount
6060 let m = {
6161 let n = getInteger(this, "issueQuantity")
6262 if ($isInstanceOf(n, "Int"))
6363 then {
6464 let o = n
6565 o
6666 }
6767 else 0
6868 }
6969 let p = (m + 1)
7070 let q = b(p)
7171 if ((l > 300))
7272 then throw("Amount of Kitten tokens sent is 3 tokens.")
7373 else if ((300 > l))
7474 then throw("Amount of Kitten tokens sent is 3 tokens.")
7575 else {
7676 let r = Issue("Kitten(=^・^=)", ("generation:" + q), 1, 0, false)
7777 let s = calculateAssetId(r)
7878 let t = ScriptTransfer(i.caller, 1, s)
7979 let u = d()
8080 [r, t, StringEntry(toBase58String(value(s)), u)]
8181 }
8282 }
8383 }
8484
8585
8686 @Verifier(v)
8787 func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
8888

github/deemru/w8io/026f985 
33.86 ms