tx · 3xoHnCVZQ2wBeG699xVsypL9H3Xg4Fr5aeX3zbV5Po9v

3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go:  -0.00100000 Waves

2024.11.12 15:29 [3368222] smart account 3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go > SELF 0.00000000 Waves

{ "type": 13, "id": "3xoHnCVZQ2wBeG699xVsypL9H3Xg4Fr5aeX3zbV5Po9v", "fee": 100000, "feeAssetId": null, "timestamp": 1731414651205, "version": 2, "chainId": 84, "sender": "3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go", "senderPublicKey": "3ZjYebUn2esmhqY7mZh92g1QMfjDLuDsAuLyuZfrPfsT", "proofs": [ "2RaaW3vuMK7QSxi8ndqFgarXKEBzUGGbd42WCXsu78AzVq8U7E3eixHuRHeMPgax85H8ji4idMB87veeF1PzNvcD" ], "script": "base64:CAIICAISBAoCCAgBAQpnZXRBbmltYWxzAAQHJG1hdGNoMAkAnwgBAgdhbmltYWxzAwkAAQIFByRtYXRjaDACA0ludAQBYQUHJG1hdGNoMAkAZAIFAWEAAQABAQFpAQxjcmVhdGVBbmltYWwCB2FkZHJlc3MEdHlwZQMJAAACCAUBaQZjYWxsZXIFBHRoaXMEB2FuaW1hbHMJAQpnZXRBbmltYWxzAAkAlAoCCQDMCAIJAMIIBQIGQW5pbWFsCQCsAgIJAKwCAgUHYWRkcmVzcwIBIAUEdHlwZQABAAAHCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgdhbmltYWxzBQdhbmltYWxzBQNuaWwFBHVuaXQJAAIBAiJPbmx5IHRoZSBmYXJtZXIgY2FuIGNyZWF0ZSBhbmltYWxzAGIvxVE=", "height": 3368222, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 49p2a8rRZXPbSvqWD9SjnQDqQBS9Sg4WL7xxQJ8DCatw Next: rTAYFzLSoDiPA1XohD5UpgLN7ETrfPRjHs6gqQzcyqu Full:
OldNewDifferences
11 {-# STDLIB_VERSION 8 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getAnimals () = match getInteger("animals") {
55 case a: Int =>
66 (a + 1)
77 case _ =>
88 1
99 }
1010
1111
1212 @Callable(i)
1313 func createAnimal (address,type) = if ((i.caller == this))
1414 then {
1515 let animals = getAnimals()
1616 $Tuple2([Issue("Animal", ((address + " ") + type), 1, 0, false), IntegerEntry("animals", animals)], unit)
1717 }
1818 else throw("Only the farmer can create animals")
1919
2020

github/deemru/w8io/026f985 
13.97 ms