tx · 7i1NR4MXLdShD1dX4iEyp1EW4zjrDtq2GVqkRMrwziyu

3MxpJ7d24DJ1FWskg7o1AyJX26e9wMFBJyD:  -0.01000000 Waves

2022.10.10 19:35 [2266473] smart account 3MxpJ7d24DJ1FWskg7o1AyJX26e9wMFBJyD > SELF 0.00000000 Waves

{ "type": 13, "id": "7i1NR4MXLdShD1dX4iEyp1EW4zjrDtq2GVqkRMrwziyu", "fee": 1000000, "feeAssetId": null, "timestamp": 1665419720976, "version": 2, "chainId": 84, "sender": "3MxpJ7d24DJ1FWskg7o1AyJX26e9wMFBJyD", "senderPublicKey": "7Rx6rGuRTt5bBfS4p9PDERoeRorz7bLduguRuqKsLNEb", "proofs": [ "4t4Eyy26YCfCyc41Y3gU6Vp5HkQg4MjvNrmprwd4KVz9NPzUSXjh9bweEwTuv2v65rtuD1LrRbKUidVUcrHeEQtX" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAABWFzc2V0CQAEQgAAAAUCAAAABUFzc2V0AgAAAApUZXN0IGFzc2V0AAAAAAAAAAAKAAAAAAAAAAABBgQAAAAHYXNzZXRJZAkABDgAAAABBQAAAAVhc3NldAQAAAAHbGVhc2luZwkABEQAAAACCAUAAAABaQAAAAZjYWxsZXIAAAAAAAdbzRUEAAAACWxlYXNpbmdJZAkABDkAAAABBQAAAAdsZWFzaW5nCQAETAAAAAIJAQAAAAtCaW5hcnlFbnRyeQAAAAICAAAAA2JpbgEAAAADY/hnCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAAARib29sBgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAADaW50AAAAAAAAAYiUCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAA3N0cgIAAAALc29tZSBzdHJpbmcJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAADZGVsAgAAABR0aGlzIHdpbGwgYmUgZGVsZXRlZAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABAgAAAANkZWwJAARMAAAAAgUAAAAFYXNzZXQJAARMAAAAAgkBAAAAB1JlaXNzdWUAAAADBQAAAAdhc3NldElkAAAAAAAAAAMJBwkABEwAAAACCQEAAAAEQnVybgAAAAIFAAAAB2Fzc2V0SWQAAAAAAAAAApoJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAAWBQAAAAdhc3NldElkCQAETAAAAAIJAQAAAApTcG9uc29yRmVlAAAAAgUAAAAHYXNzZXRJZAAAAAAAAAAAAwkABEwAAAACBQAAAAdsZWFzaW5nCQAETAAAAAIJAQAAAAtMZWFzZUNhbmNlbAAAAAEFAAAACWxlYXNpbmdJZAUAAAADbmlsAAAAAGImg7M=", "height": 2266473, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HjdtSt2hFHjddQT2Si2ZAZTgxNedM61zNrxPW8sCo2hd Next: none Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func lease (recipient,amount) = [Lease(addressFromStringValue(recipient), amount)]
8-
9-
10-
11-@Callable(i)
12-func cancel (leaseId) = [LeaseCancel(fromBase58String(leaseId))]
7+func call () = {
8+ let asset = Issue("Asset", "Test asset", 10, 1, true)
9+ let assetId = calculateAssetId(asset)
10+ let leasing = Lease(i.caller, 123456789)
11+ let leasingId = calculateLeaseId(leasing)
12+[BinaryEntry("bin", base58'aaaa'), BooleanEntry("bool", true), IntegerEntry("int", 100500), StringEntry("str", "some string"), StringEntry("del", "this will be deleted"), DeleteEntry("del"), asset, Reissue(assetId, 777, false), Burn(assetId, 666), ScriptTransfer(i.caller, 22, assetId), SponsorFee(assetId, 3), leasing, LeaseCancel(leasingId)]
13+ }
1314
1415
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func lease (recipient,amount) = [Lease(addressFromStringValue(recipient), amount)]
8-
9-
10-
11-@Callable(i)
12-func cancel (leaseId) = [LeaseCancel(fromBase58String(leaseId))]
7+func call () = {
8+ let asset = Issue("Asset", "Test asset", 10, 1, true)
9+ let assetId = calculateAssetId(asset)
10+ let leasing = Lease(i.caller, 123456789)
11+ let leasingId = calculateLeaseId(leasing)
12+[BinaryEntry("bin", base58'aaaa'), BooleanEntry("bool", true), IntegerEntry("int", 100500), StringEntry("str", "some string"), StringEntry("del", "this will be deleted"), DeleteEntry("del"), asset, Reissue(assetId, 777, false), Burn(assetId, 666), ScriptTransfer(i.caller, 22, assetId), SponsorFee(assetId, 3), leasing, LeaseCancel(leasingId)]
13+ }
1314
1415

github/deemru/w8io/026f985 
22.72 ms