tx · 3XaVZeYrFgqrmxZ5rbLqp4tYAqF4MU3XqygX5WVKrcZh

3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go:  -0.00100000 Waves

2024.11.10 03:01 [3364608] smart account 3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go > SELF 0.00000000 Waves

{ "type": 13, "id": "3XaVZeYrFgqrmxZ5rbLqp4tYAqF4MU3XqygX5WVKrcZh", "fee": 100000, "feeAssetId": null, "timestamp": 1731196931700, "version": 2, "chainId": 84, "sender": "3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go", "senderPublicKey": "3ZjYebUn2esmhqY7mZh92g1QMfjDLuDsAuLyuZfrPfsT", "proofs": [ "2Aq644XotabecDsfafXPXmg1s3hk2MaZ6t8X8VFW2MMKxk6zSF2wLrNmjDJym6i8AMvApmo2f4YmyVjn1HR5soxC" ], "script": "base64:CAIKCAISBAoCCAgSAAEBCmdldEFuaW1hbHMABAckbWF0Y2gwCQCfCAECB2FuaW1hbHMDCQABAgUHJG1hdGNoMAIDSW50BAFhBQckbWF0Y2gwCQBkAgUBYQABAAECAWkBDGNyZWF0ZUFuaW1hbAIHYWRkcmVzcwR0eXBlAwkAAAIIBQFpBmNhbGxlcgUEdGhpcwQHYW5pbWFscwkBCmdldEFuaW1hbHMACQCUCgIJAMwIAgkAwggFAgZBbmltYWwCBkFuaW1hbAABAAAHCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgdhbmltYWxzBQdhbmltYWxzBQNuaWwFBHVuaXQJAAIBAiJPbmx5IHRoZSBmYXJtZXIgY2FuIGNyZWF0ZSBhbmltYWxzAWkBBHRlc3QACQCUCgIJAMwIAgkAwggFAglVYmVyVG9rZW4CIVRoZSB1bHRpbWF0ZSB0b2tlbi4gT25lIGFuZCBvbmx5LgABAAAHBQNuaWwFBHVuaXQA2FV+eg==", "height": 3364608, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6oUeCSsZmiot7SYHbDeBifupBHKbagkqXQMJpVCYdhaM Next: AdMUn56KqhMK9Z4Mxedtr3AcFEdgwVdkvPFn9XsW8svq 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", "Animal", 1, 0, false), IntegerEntry("animals", animals)], unit)
1717 }
1818 else throw("Only the farmer can create animals")
1919
2020
2121
2222 @Callable(i)
2323 func test () = $Tuple2([Issue("UberToken", "The ultimate token. One and only.", 1, 0, false)], unit)
2424
2525

github/deemru/w8io/026f985 
25.52 ms