tx · Ck1DYDmyj7sHU3GVQ8sBnUa62crtYWBf1wJQtCnftsV6

3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go:  -0.00100000 Waves

2024.11.12 15:09 [3368200] smart account 3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go > SELF 0.00000000 Waves

{ "type": 13, "id": "Ck1DYDmyj7sHU3GVQ8sBnUa62crtYWBf1wJQtCnftsV6", "fee": 100000, "feeAssetId": null, "timestamp": 1731413372668, "version": 2, "chainId": 84, "sender": "3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go", "senderPublicKey": "3ZjYebUn2esmhqY7mZh92g1QMfjDLuDsAuLyuZfrPfsT", "proofs": [ "3DVm64s9j1JgrvbuXuL3UEydc4n7kf4hvp26RCG8hg5Cfhf6DE1fGHfYaUYZkRwDf6hv8L6GHoihztWDdBcnoChE" ], "script": "base64:CAIICAISBAoCCAgBAQpnZXRBbmltYWxzAAQHJG1hdGNoMAkAnwgBAgdhbmltYWxzAwkAAQIFByRtYXRjaDACA0ludAQBYQUHJG1hdGNoMAkAZAIFAWEAAQABAQFpAQxjcmVhdGVBbmltYWwCB2FkZHJlc3MEdHlwZQMJAAACCAUBaQZjYWxsZXIFBHRoaXMEB2FuaW1hbHMJAQpnZXRBbmltYWxzAAkAlAoCCQDMCAIJAMIIBQIGQW5pbWFsCQCsAgIJAKwCAgUHYWRkcmVzcwIBIAUEdHlwZQABAAAHCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgdhbmltYWxzBQdhbmltYWxzBQNuaWwFBHVuaXQJAAIBAiJPbmx5IHRoZSBmYXJtZXIgY2FuIGNyZWF0ZSBhbmltYWxzAGIvxVE=", "height": 3368200, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HCwPxQsk8QogdcRJEq4FbfY7cZBVPWun9qwGsqDPxLSB Next: Ec4ToNfjebge79HTXwED6SdoJSuPiNsa1kVQpSvM5pcg Full:
OldNewDifferences
11 {-# STDLIB_VERSION 8 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a () = {
55 let b = getInteger("animals")
66 if ($isInstanceOf(b, "Int"))
77 then {
88 let c = b
99 (c + 1)
1010 }
1111 else 1
1212 }
1313
1414
1515 @Callable(d)
1616 func createAnimal (e,f) = if ((d.caller == this))
1717 then {
1818 let g = a()
1919 $Tuple2([Issue("Animal", ((e + " ") + f), 1, 0, false), IntegerEntry("animals", g)], unit)
2020 }
2121 else throw("Only the farmer can create animals")
2222
2323

github/deemru/w8io/026f985 
32.94 ms