tx · 4PnToes7R3vJ4fhi6VDPSkbZMWhWRWbtRG2NG2cCpkdD
3MwM6T7jThVeL6pRcTNCWDx22cP4SxySTmb: -0.01000000 Waves
2022.03.30 23:56 [1987166] smart account 3MwM6T7jThVeL6pRcTNCWDx22cP4SxySTmb > SELF 0.00000000 Waves
{
"type": 13,
"id": "4PnToes7R3vJ4fhi6VDPSkbZMWhWRWbtRG2NG2cCpkdD",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1648673816774,
"version": 2,
"chainId": 84,
"sender": "3MwM6T7jThVeL6pRcTNCWDx22cP4SxySTmb",
"senderPublicKey": "Qnf5xCfhhzEUq9hg3VyNPA66JDcyQkdmhF34Xq6BRgt",
"proofs": [
"4m3HQUGUVSTVEsXkwrUh1vftJpNwWomH5gGFndcVmEiRGxSLsSXWuDh3nYHRMishXxNzdGH9n6EbCmiGfpAX25j9"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAAGdGFobWluAAAAAQAAAAZrZWxpbWUEAAAAA3RpYwMJAABmAAAAAgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAAIAAAABAgAAABswLjEgV0FWRVMgdmVyaW5peiBsdXRmZW4gOikDAwkAAAAAAAACCAUAAAADdGljAAAABmFtb3VudAAAAAAAAJiWgAkAAAAAAAACCAUAAAADdGljAAAAB2Fzc2V0SWQFAAAABHVuaXQHCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAAAZrZWxpbWUFAAAAA25pbAkAAAIAAAABAgAAABswLjEgV0FWRVMgdmVyaW5peiBsdXRmZW4gOikAAAAA1WzRGg==",
"height": 1987166,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: FkrmWKd8JMvtRHJpk3gq5jBzRLB96huL78kidgBeo4Eb
Next: FcryaCoahW5e22t3uX2QHZ9vf8LPXTCvnPcJuSL2mcGZ
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func tahmin (kelime) = [StringEntry(toString(i.caller), kelime)] |
---|
| 7 | + | func tahmin (kelime) = { |
---|
| 8 | + | let tic = if ((size(i.payments) > 0)) |
---|
| 9 | + | then i.payments[0] |
---|
| 10 | + | else throw("0.1 WAVES veriniz lutfen :)") |
---|
| 11 | + | if (if ((tic.amount == 10000000)) |
---|
| 12 | + | then (tic.assetId == unit) |
---|
| 13 | + | else false) |
---|
| 14 | + | then [StringEntry(toString(i.caller), kelime)] |
---|
| 15 | + | else throw("0.1 WAVES veriniz lutfen :)") |
---|
| 16 | + | } |
---|
8 | 17 | | |
---|
9 | 18 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func tahmin (kelime) = [StringEntry(toString(i.caller), kelime)] |
---|
| 7 | + | func tahmin (kelime) = { |
---|
| 8 | + | let tic = if ((size(i.payments) > 0)) |
---|
| 9 | + | then i.payments[0] |
---|
| 10 | + | else throw("0.1 WAVES veriniz lutfen :)") |
---|
| 11 | + | if (if ((tic.amount == 10000000)) |
---|
| 12 | + | then (tic.assetId == unit) |
---|
| 13 | + | else false) |
---|
| 14 | + | then [StringEntry(toString(i.caller), kelime)] |
---|
| 15 | + | else throw("0.1 WAVES veriniz lutfen :)") |
---|
| 16 | + | } |
---|
8 | 17 | | |
---|
9 | 18 | | |
---|