tx · 4rk7fDXFE1QCyJJNUejb5adTjkmsQ1NNuB7JDyUHBw3P 3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ: -0.01400000 Waves 2021.06.04 06:59 [1555110] smart account 3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ > SELF 0.00000000 Waves
{ "type": 13, "id": "4rk7fDXFE1QCyJJNUejb5adTjkmsQ1NNuB7JDyUHBw3P", "fee": 1400000, "feeAssetId": null, "timestamp": 1622779178294, "version": 2, "chainId": 84, "sender": "3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ", "senderPublicKey": "8uKVzAZCurBgbPFEaE9HYgJBH3oZsefwxNMgj4srAFJ9", "proofs": [ "2ZvXK1CiCTgAu3Awt9E1Z9WZ45ntwTaCpkFTxqUFhePxorAp7WJYUwibHGXKDpSZWZ9qkhBANvESd1G3jSQBwFbn" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAAAAAAEAAAABaQEAAAADYmFyAAAAAQAAAAFhCQAFFAAAAAIFAAAAA25pbAAAAAAAAAAADAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5GWTE6A==", "height": 1555110, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2XVy7W7F4c4AucAxAEnM9VjqHr5MsW3svXvqKivYuPS4 Next: HKdV4KdZY3gCyjBa46B1amwyANQyyAMHyJwYYVN1B7hz Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let handiId = base58'BJFTCAVHNhppygeLqYUyG5NB9GwNRjEjFeweJpXXi1DQ' | |
5 | - | ||
6 | - | func handicapIndexRequirements (num) = if ((num > 54)) | |
7 | - | then 54 | |
8 | - | else if ((0 > num)) | |
9 | - | then 0 | |
10 | - | else num | |
11 | 4 | ||
12 | 5 | ||
13 | 6 | @Callable(i) | |
14 | - | func resultHandicap (scoreDifferential1,scoreDifferential2,scoreDifferential3,currentKey) = { | |
15 | - | let count = 1 | |
16 | - | let scoreDifferentialLowest = max([scoreDifferential1, scoreDifferential2, scoreDifferential3]) | |
17 | - | let result = (scoreDifferentialLowest - 2) | |
18 | - | let handicapIndex = handicapIndexRequirements(result) | |
19 | - | if ((count == 1)) | |
20 | - | then throw(toString(handicapIndex)) | |
21 | - | else $Tuple2([BooleanEntry("result", true), IntegerEntry((currentKey + "_handicapIndex"), handicapIndex), Reissue(handiId, handicapIndex, false), ScriptTransfer(i.caller, handicapIndex, handiId)], handicapIndex) | |
22 | - | } | |
7 | + | func bar (a) = $Tuple2(nil, 12) | |
23 | 8 | ||
24 | 9 | ||
25 | 10 | @Verifier(tx) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let handiId = base58'BJFTCAVHNhppygeLqYUyG5NB9GwNRjEjFeweJpXXi1DQ' | |
5 | - | ||
6 | - | func handicapIndexRequirements (num) = if ((num > 54)) | |
7 | - | then 54 | |
8 | - | else if ((0 > num)) | |
9 | - | then 0 | |
10 | - | else num | |
11 | 4 | ||
12 | 5 | ||
13 | 6 | @Callable(i) | |
14 | - | func resultHandicap (scoreDifferential1,scoreDifferential2,scoreDifferential3,currentKey) = { | |
15 | - | let count = 1 | |
16 | - | let scoreDifferentialLowest = max([scoreDifferential1, scoreDifferential2, scoreDifferential3]) | |
17 | - | let result = (scoreDifferentialLowest - 2) | |
18 | - | let handicapIndex = handicapIndexRequirements(result) | |
19 | - | if ((count == 1)) | |
20 | - | then throw(toString(handicapIndex)) | |
21 | - | else $Tuple2([BooleanEntry("result", true), IntegerEntry((currentKey + "_handicapIndex"), handicapIndex), Reissue(handiId, handicapIndex, false), ScriptTransfer(i.caller, handicapIndex, handiId)], handicapIndex) | |
22 | - | } | |
7 | + | func bar (a) = $Tuple2(nil, 12) | |
23 | 8 | ||
24 | 9 | ||
25 | 10 | @Verifier(tx) | |
26 | 11 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
27 | 12 |
github/deemru/w8io/026f985 144.43 ms ◑