tx · 9u1TAtRQxosWtdWV4EVCEdPxcTTqPn4E6oDj1z1ZB27H

3N3DQFhEz8QzvM2hrNHMsXKqfcZiAnzrvAz:  -0.01000000 Waves

2022.10.19 16:55 [2279356] smart account 3N3DQFhEz8QzvM2hrNHMsXKqfcZiAnzrvAz > SELF 0.00000000 Waves

{ "type": 13, "id": "9u1TAtRQxosWtdWV4EVCEdPxcTTqPn4E6oDj1z1ZB27H", "fee": 1000000, "feeAssetId": null, "timestamp": 1666187799890, "version": 2, "chainId": 84, "sender": "3N3DQFhEz8QzvM2hrNHMsXKqfcZiAnzrvAz", "senderPublicKey": "9y561KuPQ5dHWzq35YLJ9XAjGXaY135i4hrBiWq98nQa", "proofs": [ "5BkySfzWrvJnghQHPrjiZDeEuTqDruquvMe563DEYZ5A48tXuGDoQPNHeXo9hr51Zp6hXN2iFqjtvUkaweyJd6wa" ], "script": "base64:AAIFAAAAAAAAAAoIAhIAEgASABIAAAAABAAAAAAJcmVjaXBpZW50CQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNNeE5uWVZwODFZZllwdmRwc2tmQ0FTNFNkbU5ZY3J0WUxFAQAAAAxpc0ZpcnN0bGV2ZWwAAAAABAAAAAckbWF0Y2gwCQAD/AAAAAQFAAAABHRoaXMCAAAACkZpcnN0bGV2ZWwFAAAAA25pbAUAAAADbmlsAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAdCb29sZWFuBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhCQAAAgAAAAECAAAAJlVuc3VwcG9ydGVkIHJlc3VsdCBmb3JtYXQgKEZpcnN0bGV2ZWwpAQAAAA1pc1NlY29uZGxldmVsAAAAAAQAAAAHJG1hdGNoMAkAA/wAAAAEBQAAAAR0aGlzAgAAAAtTZWNvbmRsZXZlbAUAAAADbmlsBQAAAANuaWwDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEJAAACAA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AAAAAAAAQAAAACaWQJAAQ5AAAAAQUAAAAFbGVhc2UEAAAAAWEJAQAAAAxpc0ZpcnN0bGV2ZWwAAAAAAwkAAAAAAAACBQAAAAFhBQAAAAFhCQAETAAAAAIJAQAAAAtCaW5hcnlFbnRyeQAAAAICAAAAA2JpbgEAAAAACQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAAARib29sBgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAADaW50AAAAAAAAAAABCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAA3N0cgIAAAAACQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAECAAAAA3N0cgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAlyZWNpcGllbnQAAAAAAAAAAAEFAAAABHVuaXQJAARMAAAAAgUAAAAFbGVhc2UJAARMAAAAAgkBAAAAC0xlYXNlQ2FuY2VsAAAAAQUAAAACaWQFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAA3FII1A==", "height": 2279356, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E7zQp1wRwnY3oUnV92VK5mdypXSUGcu3NsZ1oZy2GdBY Next: HHXfnRzRDJiU24M2Hak8A8hNv9gXombTKzwwUMYgQtzY Diff:
OldNewDifferences
3131 func Firstlevel () = {
3232 let asset = Issue("Asset1", "на первом уровне был выпущен ассет", 1, 0, true, unit, 0)
3333 let assetId = calculateAssetId(asset)
34- let lease = Lease(recipient, 1)
34+ let lease = Lease(recipient, 1, 1)
3535 let id = calculateLeaseId(lease)
36- $Tuple2([BinaryEntry("bin1", base58''), BooleanEntry("bool1", true), IntegerEntry("int1", 1), StringEntry("str1", ""), DeleteEntry("str1"), ScriptTransfer(recipient, 1, unit)], true)
36+ let a = isSecondlevel()
37+ if ((a == a))
38+ then $Tuple2([BinaryEntry("bin1", base58''), BooleanEntry("bool1", true), IntegerEntry("int1", 1), StringEntry("str1", ""), DeleteEntry("str1"), ScriptTransfer(recipient, 1, unit), lease, LeaseCancel(id)], true)
39+ else throw("Strict value is not equal to itself.")
3740 }
3841
3942
4245 func Secondlevel () = {
4346 let asset = Issue("Asset2", "на втором уровне был выпущен ассет", 1, 0, true, unit, 0)
4447 let assetId = calculateAssetId(asset)
45- let lease = Lease(recipient, 1)
48+ let lease = Lease(recipient, 1, 2)
4649 let id = calculateLeaseId(lease)
4750 let a = isThirdlevel()
4851 if ((a == a))
49- then $Tuple2([BinaryEntry("bin2", base58''), BooleanEntry("bool2", true), IntegerEntry("int2", 1), StringEntry("str2", ""), DeleteEntry("str2"), asset, Reissue(assetId, 1, true), Burn(assetId, 1), ScriptTransfer(recipient, 1, assetId), lease], true)
52+ then $Tuple2([BinaryEntry("bin2", base58''), BooleanEntry("bool2", true), IntegerEntry("int2", 1), StringEntry("str2", ""), DeleteEntry("str2"), ScriptTransfer(recipient, 1, assetId), lease, LeaseCancel(id)], true)
5053 else throw("Strict value is not equal to itself.")
5154 }
5255
5659 func Thirdlevel () = {
5760 let asset = Issue("Asset1", "на третьем уровне был выпущен ассет", 1, 0, true, unit, 0)
5861 let assetId = calculateAssetId(asset)
59- let lease = Lease(recipient, 1)
62+ let lease = Lease(recipient, 1, 3)
6063 let id = calculateLeaseId(lease)
61- $Tuple2([BinaryEntry("bin3", base58''), BooleanEntry("bool3", true), IntegerEntry("int3", 1), StringEntry("str3", ""), DeleteEntry("str3"), asset, Reissue(assetId, 1, true), Burn(assetId, 1), ScriptTransfer(recipient, 1, assetId), lease], true)
64+ $Tuple2([BinaryEntry("bin3", base58''), BooleanEntry("bool3", true), IntegerEntry("int3", 1), StringEntry("str3", ""), DeleteEntry("str3"), ScriptTransfer(recipient, 1, assetId), lease, LeaseCancel(id)], true)
6265 }
6366
6467
6770 func call () = {
6871 let asset = Issue("NewAssettttt", "", 1, 1, true)
6972 let assetId = calculateAssetId(asset)
70- let lease = Lease(recipient, 1)
73+ let lease = Lease(recipient, 1, 0)
7174 let id = calculateLeaseId(lease)
7275 let a = isFirstlevel()
7376 if ((a == a))
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("Asset1", "на первом уровне был выпущен ассет", 1, 0, true, unit, 0)
3333 let assetId = calculateAssetId(asset)
34- let lease = Lease(recipient, 1)
34+ let lease = Lease(recipient, 1, 1)
3535 let id = calculateLeaseId(lease)
36- $Tuple2([BinaryEntry("bin1", base58''), BooleanEntry("bool1", true), IntegerEntry("int1", 1), StringEntry("str1", ""), DeleteEntry("str1"), ScriptTransfer(recipient, 1, unit)], true)
36+ let a = isSecondlevel()
37+ if ((a == a))
38+ then $Tuple2([BinaryEntry("bin1", base58''), BooleanEntry("bool1", true), IntegerEntry("int1", 1), StringEntry("str1", ""), DeleteEntry("str1"), ScriptTransfer(recipient, 1, unit), lease, LeaseCancel(id)], true)
39+ else throw("Strict value is not equal to itself.")
3740 }
3841
3942
4043
4144 @Callable(i)
4245 func Secondlevel () = {
4346 let asset = Issue("Asset2", "на втором уровне был выпущен ассет", 1, 0, true, unit, 0)
4447 let assetId = calculateAssetId(asset)
45- let lease = Lease(recipient, 1)
48+ let lease = Lease(recipient, 1, 2)
4649 let id = calculateLeaseId(lease)
4750 let a = isThirdlevel()
4851 if ((a == a))
49- then $Tuple2([BinaryEntry("bin2", base58''), BooleanEntry("bool2", true), IntegerEntry("int2", 1), StringEntry("str2", ""), DeleteEntry("str2"), asset, Reissue(assetId, 1, true), Burn(assetId, 1), ScriptTransfer(recipient, 1, assetId), lease], true)
52+ then $Tuple2([BinaryEntry("bin2", base58''), BooleanEntry("bool2", true), IntegerEntry("int2", 1), StringEntry("str2", ""), DeleteEntry("str2"), ScriptTransfer(recipient, 1, assetId), lease, LeaseCancel(id)], true)
5053 else throw("Strict value is not equal to itself.")
5154 }
5255
5356
5457
5558 @Callable(i)
5659 func Thirdlevel () = {
5760 let asset = Issue("Asset1", "на третьем уровне был выпущен ассет", 1, 0, true, unit, 0)
5861 let assetId = calculateAssetId(asset)
59- let lease = Lease(recipient, 1)
62+ let lease = Lease(recipient, 1, 3)
6063 let id = calculateLeaseId(lease)
61- $Tuple2([BinaryEntry("bin3", base58''), BooleanEntry("bool3", true), IntegerEntry("int3", 1), StringEntry("str3", ""), DeleteEntry("str3"), asset, Reissue(assetId, 1, true), Burn(assetId, 1), ScriptTransfer(recipient, 1, assetId), lease], true)
64+ $Tuple2([BinaryEntry("bin3", base58''), BooleanEntry("bool3", true), IntegerEntry("int3", 1), StringEntry("str3", ""), DeleteEntry("str3"), ScriptTransfer(recipient, 1, assetId), lease, LeaseCancel(id)], true)
6265 }
6366
6467
6568
6669 @Callable(i)
6770 func call () = {
6871 let asset = Issue("NewAssettttt", "", 1, 1, true)
6972 let assetId = calculateAssetId(asset)
70- let lease = Lease(recipient, 1)
73+ let lease = Lease(recipient, 1, 0)
7174 let id = calculateLeaseId(lease)
7275 let a = isFirstlevel()
7376 if ((a == a))
7477 then [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), ScriptTransfer(recipient, 1, unit), lease, LeaseCancel(id)]
7578 else throw("Strict value is not equal to itself.")
7679 }
7780
7881

github/deemru/w8io/169f3d6 
29.93 ms