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:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# 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
114
125
136 @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)
238
249
2510 @Verifier(tx)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# 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
114
125
136 @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)
238
249
2510 @Verifier(tx)
2611 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2712

github/deemru/w8io/026f985 
144.43 ms