tx · FEmCioqH7Jq3gZ2qSuZHkm8AK5utEpVp5YmizMUmyjVU 3NCUSxFG35TxkPL9zvrVuLdzE7fgAJZBYnT: -0.01000000 Waves 2021.11.24 19:59 [1805398] smart account 3NCUSxFG35TxkPL9zvrVuLdzE7fgAJZBYnT > SELF 0.00000000 Waves
{ "type": 13, "id": "FEmCioqH7Jq3gZ2qSuZHkm8AK5utEpVp5YmizMUmyjVU", "fee": 1000000, "feeAssetId": null, "timestamp": 1637773260461, "version": 2, "chainId": 84, "sender": "3NCUSxFG35TxkPL9zvrVuLdzE7fgAJZBYnT", "senderPublicKey": "AarQtnrvNTQaxY7KcUxui6hKMhgpdiScPuExhx692hzY", "proofs": [ "3hEoB4Q1Jwa8eZn4fAc2q7pmyG12hHy2NJ5F3Kz6EEdRvALELUW3S5zmmiaxJyGCbvkmPbd5aQLZjwNpk1pE9LeG" ], "script": "base64:AAIFAAAAAAAAAF4IAhIAEgASAwoBCBoJCgJhMRIDaW52GgsKAmEyEgVpc3N1ZRoYCgJhMxISYW5vdGhlckRBcHBBZGRyZXNzGhEKAmE0Egtpbm5lckludm9rZRoMCgJhNRIGdmVyaWZ5AAAAAAAAAAMAAAACYTEBAAAACnNpbXBsZUNhbGwAAAAABQAAAANuaWwAAAACYTEBAAAADWNhbGxXaXRoSXNzdWUAAAAABAAAAAJhMgkABEMAAAAHAgAAAApUZXN0IEFzc2V0AgAAAAAAAAAAAAAAA+gAAAAAAAAAAAIGBQAAAAR1bml0AAAAAAAAAAABCQAETAAAAAIFAAAAAmEyCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAB2Fzc2V0SWQJAAJYAAAAAQkABDgAAAABBQAAAAJhMgUAAAADbmlsAAAAAmExAQAAABJjYWxsV2l0aElubmVySXNzdWUAAAABAAAAAmEzBAAAAAJhMgkABEMAAAAHAgAAAApUZXN0IEFzc2V0AgAAAAAAAAAAAAAAA+gAAAAAAAAAAAIGBQAAAAR1bml0AAAAAAAAAAAABAAAAAJhNAkAA/wAAAAECQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAACYTMCAAAADWNhbGxXaXRoSXNzdWUFAAAAA25pbAgFAAAAAmExAAAACHBheW1lbnRzAwkAAAAAAAACBQAAAAJhNAUAAAACYTQJAARMAAAAAgUAAAACYTIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAHYXNzZXRJZAkAAlgAAAABCQAEOAAAAAEFAAAAAmEyBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAACYTUAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleWQFJ3k=", "height": 1805398, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9okKRngaV2ohjukD7ecyBQVGSwyvTBg7kj7qvWtKCEUQ Next: H3LoTCP7sWMmWREsVFFJawfAgBBPgjzvfEExJBcZ91EC Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(inv) | |
7 | + | func simpleCall () = nil | |
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | @Callable(inv) | |
12 | + | func callWithIssue () = { | |
13 | + | let issue = Issue("Test Asset", "", 1000, 2, true, unit, 1) | |
14 | + | [issue, StringEntry("assetId", toBase58String(calculateAssetId(issue)))] | |
15 | + | } | |
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | @Callable(inv) | |
20 | + | func callWithInnerIssue (anotherDAppAddress) = { | |
21 | + | let issue = Issue("Test Asset", "", 1000, 2, true, unit, 0) | |
22 | + | let innerInvoke = invoke(Address(fromBase58String(anotherDAppAddress)), "callWithIssue", nil, inv.payments) | |
23 | + | if ((innerInvoke == innerInvoke)) | |
24 | + | then [issue, StringEntry("assetId", toBase58String(calculateAssetId(issue)))] | |
25 | + | else throw("Strict value is not equal to itself.") | |
26 | + | } | |
27 | + | ||
28 | + | ||
29 | + | @Verifier(tx) | |
30 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
31 | + |
github/deemru/w8io/026f985 22.23 ms ◑