tx · C47uGo41NXbpZiHS4nw4zcia8qriPYstt3hByTXGkCsV 3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7: -0.01000000 Waves 2021.09.23 19:43 [1716147] smart account 3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7 > SELF 0.00000000 Waves
{ "type": 13, "id": "C47uGo41NXbpZiHS4nw4zcia8qriPYstt3hByTXGkCsV", "fee": 1000000, "feeAssetId": null, "timestamp": 1632426265985, "version": 1, "sender": "3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7", "senderPublicKey": "8bucJnjo1rN155Zycpsunmsw9y98tqwuFbimJV4onPSe", "proofs": [ "3DWFgdryx6kPx5AY14tUxrowSWQM74H4dZSkxpdvHKFoVsWfYNH4Lx4xU4FxigyHDXsHVJtC8rS6U8KFs41J4SKn" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAIZGF0YWJhc2UAAAAABAAAAARiYXNlCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQEAAAABWtiYXNlCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAEYmFzZQUAAAAEYmFzZQUAAAAEYmFzZQUAAAAEYmFzZQUAAAAEYmFzZQkAAS8AAAACBQAAAARiYXNlAAAAAAAAAAAgBAAAAARrbnVtAAAAAAAAAABkCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAAEa251bQUAAAAFa2Jhc2UGBQAAAANuaWwAAAAArsgcrw==", "chainId": 84, "height": 1716147, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8Svtc24UGtWZt1PxA17qTacBg7YQWMTG9YpepPP2QDyx Next: HV6jjsGdcS8TbPvEi5tivZMvGmPhjDmPMzSCxQydDN2E Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func proxy (dapp,fn,args) = { | |
8 | - | let call = invoke(addressFromStringValue(dapp), fn, split(args, ":"), i.payments) | |
9 | - | if ((call == call)) | |
10 | - | then nil | |
11 | - | else throw("Strict value is not equal to itself.") | |
12 | - | } | |
13 | - | ||
14 | - | ||
15 | - | ||
16 | - | @Callable(i) | |
17 | - | func record (value) = [StringEntry(((toBase58String(i.caller.bytes) + ":") + toBase58String(i.transactionId)), ((toBase58String(i.originCaller.bytes) + ":") + value))] | |
18 | - | ||
19 | - | ||
20 | - | ||
21 | - | @Callable(i) | |
22 | - | func dd (dapp1,fn1,args1,dapp2,fn2,args2) = { | |
23 | - | let call1 = invoke(addressFromStringValue(dapp1), fn1, split(args1, "/"), nil) | |
24 | - | if ((call1 == call1)) | |
25 | - | then { | |
26 | - | let call2 = invoke(addressFromStringValue(dapp2), fn2, split(args2, "/"), nil) | |
27 | - | if ((call2 == call2)) | |
28 | - | then nil | |
29 | - | else throw("Strict value is not equal to itself.") | |
30 | - | } | |
31 | - | else throw("Strict value is not equal to itself.") | |
7 | + | func database () = { | |
8 | + | let base = toBase58String(i.transactionId) | |
9 | + | let kbase = (((((base + base) + base) + base) + base) + take(base, 32)) | |
10 | + | let knum = 100 | |
11 | + | [BooleanEntry((toString(knum) + kbase), true)] | |
32 | 12 | } | |
33 | 13 | ||
34 | 14 |
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(i) | |
7 | - | func proxy (dapp,fn,args) = { | |
8 | - | let call = invoke(addressFromStringValue(dapp), fn, split(args, ":"), i.payments) | |
9 | - | if ((call == call)) | |
10 | - | then nil | |
11 | - | else throw("Strict value is not equal to itself.") | |
12 | - | } | |
13 | - | ||
14 | - | ||
15 | - | ||
16 | - | @Callable(i) | |
17 | - | func record (value) = [StringEntry(((toBase58String(i.caller.bytes) + ":") + toBase58String(i.transactionId)), ((toBase58String(i.originCaller.bytes) + ":") + value))] | |
18 | - | ||
19 | - | ||
20 | - | ||
21 | - | @Callable(i) | |
22 | - | func dd (dapp1,fn1,args1,dapp2,fn2,args2) = { | |
23 | - | let call1 = invoke(addressFromStringValue(dapp1), fn1, split(args1, "/"), nil) | |
24 | - | if ((call1 == call1)) | |
25 | - | then { | |
26 | - | let call2 = invoke(addressFromStringValue(dapp2), fn2, split(args2, "/"), nil) | |
27 | - | if ((call2 == call2)) | |
28 | - | then nil | |
29 | - | else throw("Strict value is not equal to itself.") | |
30 | - | } | |
31 | - | else throw("Strict value is not equal to itself.") | |
7 | + | func database () = { | |
8 | + | let base = toBase58String(i.transactionId) | |
9 | + | let kbase = (((((base + base) + base) + base) + base) + take(base, 32)) | |
10 | + | let knum = 100 | |
11 | + | [BooleanEntry((toString(knum) + kbase), true)] | |
32 | 12 | } | |
33 | 13 | ||
34 | 14 |
github/deemru/w8io/169f3d6 25.80 ms ◑