tx · 3TQiYxu8Tt9cgRb3rsQzvVfkeGLYHdkYvUoUGUBTGT2s

3N3DQFhEz8QzvM2hrNHMsXKqfcZiAnzrvAz:  -0.01000000 Waves

2022.10.25 16:23 [2287963] smart account 3N3DQFhEz8QzvM2hrNHMsXKqfcZiAnzrvAz > SELF 0.00000000 Waves

{ "type": 13, "id": "3TQiYxu8Tt9cgRb3rsQzvVfkeGLYHdkYvUoUGUBTGT2s", "fee": 1000000, "feeAssetId": null, "timestamp": 1666704043536, "version": 2, "chainId": 84, "sender": "3N3DQFhEz8QzvM2hrNHMsXKqfcZiAnzrvAz", "senderPublicKey": "9y561KuPQ5dHWzq35YLJ9XAjGXaY135i4hrBiWq98nQa", "proofs": [ "3NkDQTE3D5AMxrCXsFy645Gyc8P7jbEmb9xD5Fez6pZtosRfXSHmuDi9knhtvzPtKywbCj5yH3y57NumrPMVya9" ], "script": "base64:AAIFAAAAAAAAAAoIAhIAEgASABIAAAAABAAAAAAJcmVjaXBpZW50CQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNNeE5uWVZwODFZZllwdmRwc2tmQ0FTNFNkbU5ZY3J0WUxFAQAAAAxpc0ZpcnN0bGV2ZWwAAAAABAAAAAckbWF0Y2gwCQAD/AAAAAQFAAAABHRoaXMCAAAACkZpcnN0bGV2ZWwFAAAAA25pbAUAAAADbmlsAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAdCb29sZWFuBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhCQAAAgAAAAECAAAAJlVuc3VwcG9ydGVkIHJlc3VsdCBmb3JtYXQgKEZpcnN0bGV2ZWwpAQAAAA1pc1NlY29uZGxldmVsAAAAAAQAAAAHJG1hdGNoMAkAA/wAAAAEBQAAAAR0aGlzAgAAAAtTZWNvbmRsZXZlbAUAAAADbmlsBQAAAANuaWwDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEJAA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AAADbmlsBgAAAAFpAQAAAARjYWxsAAAAAAQAAAAFYXNzZXQJAARCAAAABQIAAAAMTmV3QXNzZXR0dHR0AgAAAAAAAAAAAAAAAAEAAAAAAAAAAAEGBAAAAAdhc3NldElkCQAEOAAAAAEFAAAABWFzc2V0BAAAAAVsZWFzZQkABEUAAAADBQAAAAlyZWNpcGllbnQAAAAAAAAAAAEAAAAAAAAAAAAEAAAAAmlkCQAEOQAAAAEFAAAABWxlYXNlBAAAAAFhCQEAAAAMaXNGaXJzdGxldmVsAAAAAAMJAAAAAAAAAgUAAAABYQUAAAABYQkABEwAAAACCQEAAAALQmluYXJ5RW50cnkAAAACAgAAAANiaW4BAAAAAAkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgIAAAAEYm9vbAYJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAA2ludAAAAAAAAAAAAQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAANzdHICAAAAAAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABAgAAAANzdHIJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAJcmVjaXBpZW50AAAAAAAAAAABBQAAAAR1bml0CQAETAAAAAIFAAAABWxlYXNlCQAETAAAAAIJAQAAAAtMZWFzZUNhbmNlbAAAAAEFAAAAAmlkBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAOPdoiw=", "height": 2287963, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 65WUtpjWua7TdY3YAAJmZznfj7TbjjrjwsdvVDUcLw1L Next: 3Dd9z42YHvzbhLD6WzbJ4GJ5JQwXjru3kAFGWC6YPFuD Diff:
OldNewDifferences
3535 let id = calculateLeaseId(lease)
3636 let a = isSecondlevel()
3737 if ((a == a))
38- then $Tuple2([BinaryEntry("bin1", base58''), BooleanEntry("bool1", true), IntegerEntry("int1", 1), StringEntry("str1", ""), DeleteEntry("str1"), asset, ScriptTransfer(recipient, 1, unit), lease, Issue("UberToken", "The ultimate token. One and only", 1, 0, false), LeaseCancel(id)], true)
38+ then $Tuple2([BinaryEntry("bin1", base58''), BooleanEntry("bool1", true), IntegerEntry("int1", 1), StringEntry("str1", ""), DeleteEntry("str1"), Issue("RTokenRToken", "This is an ordinary token", 1000000, 2, true, unit, 0), ScriptTransfer(recipient, 1, unit), lease, Issue("UberToken", "The ultimate token. One and only", 1, 0, false), LeaseCancel(id)], true)
3939 else throw("Strict value is not equal to itself.")
4040 }
4141
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let recipient = value(addressFromString("3MxNnYVp81YfYpvdpskfCAS4SdmNYcrtYLE"))
55
66 func isFirstlevel () = match invoke(this, "Firstlevel", nil, nil) {
77 case a: Boolean =>
88 a
99 case _ =>
1010 throw("Unsupported result format (Firstlevel)")
1111 }
1212
1313
1414 func isSecondlevel () = match invoke(this, "Secondlevel", nil, nil) {
1515 case a: Boolean =>
1616 a
1717 case _ =>
1818 throw("Unsupported result format (Secondlevel)")
1919 }
2020
2121
2222 func isThirdlevel () = match invoke(this, "Thirdlevel", nil, nil) {
2323 case a: Boolean =>
2424 a
2525 case _ =>
2626 throw("Unsupported result format (Thirdlevel)")
2727 }
2828
2929
3030 @Callable(i)
3131 func Firstlevel () = {
3232 let asset = Issue("RTokenRToken", "This is an ordinary token", 1000000, 2, true, unit, 0)
3333 let assetId = calculateAssetId(asset)
3434 let lease = Lease(recipient, 1, 1)
3535 let id = calculateLeaseId(lease)
3636 let a = isSecondlevel()
3737 if ((a == a))
38- then $Tuple2([BinaryEntry("bin1", base58''), BooleanEntry("bool1", true), IntegerEntry("int1", 1), StringEntry("str1", ""), DeleteEntry("str1"), asset, ScriptTransfer(recipient, 1, unit), lease, Issue("UberToken", "The ultimate token. One and only", 1, 0, false), LeaseCancel(id)], true)
38+ then $Tuple2([BinaryEntry("bin1", base58''), BooleanEntry("bool1", true), IntegerEntry("int1", 1), StringEntry("str1", ""), DeleteEntry("str1"), Issue("RTokenRToken", "This is an ordinary token", 1000000, 2, true, unit, 0), ScriptTransfer(recipient, 1, unit), lease, Issue("UberToken", "The ultimate token. One and only", 1, 0, false), LeaseCancel(id)], true)
3939 else throw("Strict value is not equal to itself.")
4040 }
4141
4242
4343
4444 @Callable(i)
4545 func Secondlevel () = {
4646 let asset = Issue("Asset2", "на втором уровне был выпущен ассет", 1, 0, true, unit, 0)
4747 let assetId = calculateAssetId(asset)
4848 let lease = Lease(recipient, 1, 2)
4949 let id = calculateLeaseId(lease)
5050 let a = isThirdlevel()
5151 if ((a == a))
5252 then $Tuple2([BinaryEntry("bin2", base58''), BooleanEntry("bool2", true), IntegerEntry("int2", 1), StringEntry("str2", ""), DeleteEntry("str2"), ScriptTransfer(recipient, 1, unit), lease, LeaseCancel(id)], true)
5353 else throw("Strict value is not equal to itself.")
5454 }
5555
5656
5757
5858 @Callable(i)
5959 func Thirdlevel () = {
6060 let asset = Issue("Asset1", "на третьем уровне был выпущен ассет", 1, 0, true, unit, 0)
6161 let assetId = calculateAssetId(asset)
6262 let lease = Lease(recipient, 1, 3)
6363 let id = calculateLeaseId(lease)
6464 $Tuple2([BinaryEntry("bin3", base58''), BooleanEntry("bool3", true), IntegerEntry("int3", 1), StringEntry("str3", ""), DeleteEntry("str3"), ScriptTransfer(recipient, 1, unit), lease, LeaseCancel(id)], true)
6565 }
6666
6767
6868
6969 @Callable(i)
7070 func call () = {
7171 let asset = Issue("NewAssettttt", "", 1, 1, true)
7272 let assetId = calculateAssetId(asset)
7373 let lease = Lease(recipient, 1, 0)
7474 let id = calculateLeaseId(lease)
7575 let a = isFirstlevel()
7676 if ((a == a))
7777 then [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), ScriptTransfer(recipient, 1, unit), lease, LeaseCancel(id)]
7878 else throw("Strict value is not equal to itself.")
7979 }
8080
8181

github/deemru/w8io/026f985 
41.98 ms