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:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func lease (b,c) = [Lease(addressFromStringValue(b), c)] | |
8 | - | ||
9 | - | ||
10 | - | ||
11 | - | @Callable(a) | |
12 | - | func cancel (d) = [LeaseCancel(fromBase58String(d))] | |
7 | + | func call () = { | |
8 | + | let b = Issue("Asset", "Test asset", 10, 1, true) | |
9 | + | let c = calculateAssetId(b) | |
10 | + | let d = Lease(a.caller, 123456789) | |
11 | + | let e = calculateLeaseId(d) | |
12 | + | [BinaryEntry("bin", base58'aaaa'), BooleanEntry("bool", true), IntegerEntry("int", 100500), StringEntry("str", "some string"), StringEntry("del", "this will be deleted"), DeleteEntry("del"), b, Reissue(c, 777, false), Burn(c, 666), ScriptTransfer(a.caller, 22, c), SponsorFee(c, 3), d, LeaseCancel(e)] | |
13 | + | } | |
13 | 14 | ||
14 | 15 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func lease (b,c) = [Lease(addressFromStringValue(b), c)] | |
8 | - | ||
9 | - | ||
10 | - | ||
11 | - | @Callable(a) | |
12 | - | func cancel (d) = [LeaseCancel(fromBase58String(d))] | |
7 | + | func call () = { | |
8 | + | let b = Issue("Asset", "Test asset", 10, 1, true) | |
9 | + | let c = calculateAssetId(b) | |
10 | + | let d = Lease(a.caller, 123456789) | |
11 | + | let e = calculateLeaseId(d) | |
12 | + | [BinaryEntry("bin", base58'aaaa'), BooleanEntry("bool", true), IntegerEntry("int", 100500), StringEntry("str", "some string"), StringEntry("del", "this will be deleted"), DeleteEntry("del"), b, Reissue(c, 777, false), Burn(c, 666), ScriptTransfer(a.caller, 22, c), SponsorFee(c, 3), d, LeaseCancel(e)] | |
13 | + | } | |
13 | 14 | ||
14 | 15 |
github/deemru/w8io/026f985 24.14 ms ◑