tx · 4HAvKQjaAr3V39ixDpK71wmbgKNPaeBBY3FTwzWNtaL8

3N4boZRUJ2LxY5jLyp6hmxGktqnawQidu6H:  -0.00100000 Waves

2022.09.29 11:14 [2250143] smart account 3N4boZRUJ2LxY5jLyp6hmxGktqnawQidu6H > SELF 0.00000000 Waves

{ "type": 13, "id": "4HAvKQjaAr3V39ixDpK71wmbgKNPaeBBY3FTwzWNtaL8", "fee": 100000, "feeAssetId": null, "timestamp": 1664439311993, "version": 2, "chainId": 84, "sender": "3N4boZRUJ2LxY5jLyp6hmxGktqnawQidu6H", "senderPublicKey": "BDeCphaaC4MZvfmbJqQZ78EvuEBZTJ1VEW7fbxue8BUu", "proofs": [ "41o4oJNtH8jwk9ouaXGfdyXLNTKtRCKc9xpRcqEpH2fKwrev1Mw5ChpWRWv2RDF8Zzy8HRmZcWv3wRTA2efZuoJW" ], "script": "base64:BgIPCAISBQoDCAgIEgQKAgEIAwAMa0luY3JlbWVudG9yAgtpbmNyZW1lbnRvcgAJc2VwYXJhdG9yAgEvABJjdXJyZW50SW5jcmVtZW50b3IJAQt2YWx1ZU9yRWxzZQIJAJoIAgUEdGhpcwUMa0luY3JlbWVudG9yAAACAWkBCmluaXRTdHJ1Y3QDA2tleQZjYWxsZXIHYmFsYW5jZQkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJAKwCAgUDa2V5BQlzZXBhcmF0b3IJAKQDAQUSY3VycmVudEluY3JlbWVudG9yCQCsAgIJAKwCAgUGY2FsbGVyBQlzZXBhcmF0b3IFB2JhbGFuY2UFA25pbAFpAQhzZWxmQ2FsbAIFcmFuZ2UDa2V5AwkBAiE9AgUFcmFuZ2UAAAQOY3VycmVudEJhbGFuY2UJAGQCCQENcGFyc2VJbnRWYWx1ZQEJARFAZXh0ck5hdGl2ZSgxMDU4KQEJAKwCAgkArAICBQNrZXkFCXNlcGFyYXRvcgkApAMBBRJjdXJyZW50SW5jcmVtZW50b3IAAQQDcmVzCQD8BwQFBHRoaXMCCHNlbGZDYWxsCQDMCAIJAGUCBQVyYW5nZQABBQNuaWwFA25pbAMJAAACBQNyZXMFA3JlcwkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJAKwCAgUDa2V5BQlzZXBhcmF0b3IJAKQDAQUSY3VycmVudEluY3JlbWVudG9yCQCsAgIJAKwCAgkApQgBCAUBaQZjYWxsZXIFCXNlcGFyYXRvcgkApAMBBQ5jdXJyZW50QmFsYW5jZQkAzAgCCQEMSW50ZWdlckVudHJ5AgkApQgBBQR0aGlzCQBkAgUSY3VycmVudEluY3JlbWVudG9yAAEFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgUDbmlsAAkrmgY=", "height": 2250143, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E8fLjAFYpbM7pTQsYSX8Q8XcvLsgHvsv7Qp92fsA9MyX Next: DrehQnKn2ACfYkwYKfs69mviSe7sDD9GkdhMAoDRvWoa Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let kIncrementor = "incrementor"
55
66 let separator = "/"
77
88 let currentIncrementor = valueOrElse(getInteger(this, kIncrementor), 0)
99
1010 @Callable(i)
1111 func initStruct (key,caller,balance) = [StringEntry(((key + separator) + toString(currentIncrementor)), ((caller + separator) + balance))]
1212
1313
1414
1515 @Callable(i)
1616 func selfCall (range,key) = if ((range != 0))
1717 then {
1818 let currentBalance = (parseIntValue(getStringValue(((key + separator) + toString(currentIncrementor)))) + 1)
1919 let res = invoke(this, "selfCall", [(range - 1)], nil)
2020 if ((res == res))
2121 then [StringEntry(((key + separator) + toString(currentIncrementor)), ((toString(i.caller) + separator) + toString(currentBalance))), IntegerEntry(toString(this), (currentIncrementor + 1))]
2222 else throw("Strict value is not equal to itself.")
2323 }
2424 else nil
2525
2626

github/deemru/w8io/169f3d6 
41.07 ms