tx · CLEHkovpmyyS9NeJHNNFCDFZNjqCbyh9dXnhbA2ficBD

3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go:  -0.00100000 Waves

2024.11.10 02:58 [3364606] smart account 3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go > SELF 0.00000000 Waves

{ "type": 13, "id": "CLEHkovpmyyS9NeJHNNFCDFZNjqCbyh9dXnhbA2ficBD", "fee": 100000, "feeAssetId": null, "timestamp": 1731196748770, "version": 2, "chainId": 84, "sender": "3MuRoQQxefJAmoDypakzTJdh4XTJXFNE6Go", "senderPublicKey": "3ZjYebUn2esmhqY7mZh92g1QMfjDLuDsAuLyuZfrPfsT", "proofs": [ "whNX8VQiCbXZAU5MSVKdhJxyNRuPCniExX62MesrJGQybc2vkL7birGrbE3oMSm1oYMsd2SQcp7Apfq1htcnDYt" ], "script": "base64:CAIICAISBAoCCAgBAQpnZXRBbmltYWxzAAQHJG1hdGNoMAkAnwgBAgdhbmltYWxzAwkAAQIFByRtYXRjaDACA0ludAQBYQUHJG1hdGNoMAkAZAIFAWEAAQABAQFpAQxjcmVhdGVBbmltYWwCB2FkZHJlc3MEdHlwZQMJAAACCAUBaQZjYWxsZXIFBHRoaXMJAJQKAgkAzAgCCQDCCAUCDFJlZ3VsYXJUb2tlbgIZVGhpcyBpcyBhbiBvcmRpbmFyeSB0b2tlbgCQTgACBgUDbmlsBQR1bml0CQACAQIiT25seSB0aGUgZmFybWVyIGNhbiBjcmVhdGUgYW5pbWFscwBNFD4D", "height": 3364606, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HarqSM1dy2edXtHeSvr8ZFfW6p4tGPezgapk7SDUsPyz Next: 5XXkQeEJCLq1Wy6EqTHQSA7WwaDRJAMdVfmmt9HX1Jqb Diff:
OldNewDifferences
1111
1212 @Callable(i)
1313 func createAnimal (address,type) = if ((i.caller == this))
14- then {
15- let animals = getAnimals()
16- $Tuple2([Issue("RegularToken", "This is an ordinary token", 10000, 2, true), IntegerEntry("animals", animals)], unit)
17- }
14+ then $Tuple2([Issue("RegularToken", "This is an ordinary token", 10000, 2, true)], unit)
1815 else throw("Only the farmer can create animals")
1916
2017
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))
14- then {
15- let animals = getAnimals()
16- $Tuple2([Issue("RegularToken", "This is an ordinary token", 10000, 2, true), IntegerEntry("animals", animals)], unit)
17- }
14+ then $Tuple2([Issue("RegularToken", "This is an ordinary token", 10000, 2, true)], unit)
1815 else throw("Only the farmer can create animals")
1916
2017

github/deemru/w8io/026f985 
13.31 ms