tx · 9NDyJKWYnWDKMHQFP2czF5Z7CZPRE9oTZVCDLmQsP48b 3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt: -0.01000000 Waves 2023.05.22 10:43 [2588891] smart account 3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt > SELF 0.00000000 Waves
{ "type": 13, "id": "9NDyJKWYnWDKMHQFP2czF5Z7CZPRE9oTZVCDLmQsP48b", "fee": 1000000, "feeAssetId": null, "timestamp": 1684741457813, "version": 2, "chainId": 84, "sender": "3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt", "senderPublicKey": "6VehQ4nhpSn9EW76xuyThbHcUFYhjEbb4sJDrys5ZEx5", "proofs": [ "29RVqzhdrqYAQaHKYXuusHvcCjz8ZBJGwdKYdpXG1eL9esrbA7XJLZxof95SKdSgsH47BEfPveQDFQBMHr38txBX" ], "script": "base64:BgIOCAISABIDCgEBEgMKAQEAAwFpAQZnZXROdW0ACQCUCgIFA25pbAAHAWkBDnNldHRlcklOVEVSTkFMAQFuBAVjaGVjawMJAAACCAUBaQZjYWxsZXIFBHRoaXMGCQACAQIHRVJST1IgMQMJAAACBQVjaGVjawUFY2hlY2sEBnRpbWVzdAQHJG1hdGNoMAkA7QcBBQZoZWlnaHQDCQABAgUHJG1hdGNoMAIJQmxvY2tJbmZvBAJiaQUHJG1hdGNoMAgFAmJpCXRpbWVzdGFtcAkAAgECB0VSUk9SIDIJAMwIAgkBDEludGVnZXJFbnRyeQICCG51bVZhbHVlBQFuCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgFoBQZoZWlnaHQJAMwIAgkBDEludGVnZXJFbnRyeQICAXQFBnRpbWVzdAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBBnNldHRlcgEBbgQNb3RoZXJDb250cmFjdAkBEUBleHRyTmF0aXZlKDEwNjIpAQIjM01wTXVHTjhyVzlFcFB3ekVUQVF6ODhQZTlUUWhTd2lyaXEEAnRjCQD8BwQFBHRoaXMCDnNldHRlcklOVEVSTkFMCQDMCAIFAW4FA25pbAUDbmlsAwkAAAIFAnRjBQJ0YwQCb2MJAPwHBAUNb3RoZXJDb250cmFjdAIGdXBkYXRlBQNuaWwFA25pbAkAlAoCBQNuaWwFAm9jCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAP7rZYI=", "height": 2588891, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Ey6EjbJoETB49aqMLQf3bYRx99mHNSewkxF7HQtoD47X Next: B7Wf966y9YKVJPyzFPmxaWQ7GA2uqrLCF5G7fmpicnMY Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(i) | |
7 | + | func getNum () = $Tuple2(nil, 7) | |
8 | + | ||
4 | 9 | ||
5 | 10 | ||
6 | 11 | @Callable(i) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(i) | |
7 | + | func getNum () = $Tuple2(nil, 7) | |
8 | + | ||
4 | 9 | ||
5 | 10 | ||
6 | 11 | @Callable(i) | |
7 | 12 | func setterINTERNAL (n) = { | |
8 | 13 | let check = if ((i.caller == this)) | |
9 | 14 | then true | |
10 | 15 | else throw("ERROR 1") | |
11 | 16 | if ((check == check)) | |
12 | 17 | then { | |
13 | 18 | let timest = match blockInfoByHeight(height) { | |
14 | 19 | case bi: BlockInfo => | |
15 | 20 | bi.timestamp | |
16 | 21 | case _ => | |
17 | 22 | throw("ERROR 2") | |
18 | 23 | } | |
19 | 24 | [IntegerEntry("numValue", n), IntegerEntry("h", height), IntegerEntry("t", timest)] | |
20 | 25 | } | |
21 | 26 | else throw("Strict value is not equal to itself.") | |
22 | 27 | } | |
23 | 28 | ||
24 | 29 | ||
25 | 30 | ||
26 | 31 | @Callable(i) | |
27 | 32 | func setter (n) = { | |
28 | 33 | let otherContract = addressFromStringValue("3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq") | |
29 | 34 | let tc = invoke(this, "setterINTERNAL", [n], nil) | |
30 | 35 | if ((tc == tc)) | |
31 | 36 | then { | |
32 | 37 | let oc = invoke(otherContract, "update", nil, nil) | |
33 | 38 | $Tuple2(nil, oc) | |
34 | 39 | } | |
35 | 40 | else throw("Strict value is not equal to itself.") | |
36 | 41 | } | |
37 | 42 | ||
38 | 43 |
github/deemru/w8io/169f3d6 23.78 ms ◑