tx · Hfxbmge5Ug9hy5vWzttBTmLdoQWm41E1DJ4dzSSFmG9P
3N6GuFb7Ucxs3cZjmwYDusKtfLaAigDtav5: -0.01000000 Waves
2023.05.29 14:20 [2599193] smart account 3N6GuFb7Ucxs3cZjmwYDusKtfLaAigDtav5 > SELF 0.00000000 Waves
{
"type": 13,
"id": "Hfxbmge5Ug9hy5vWzttBTmLdoQWm41E1DJ4dzSSFmG9P",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685359235759,
"version": 2,
"chainId": 84,
"sender": "3N6GuFb7Ucxs3cZjmwYDusKtfLaAigDtav5",
"senderPublicKey": "EMAuwff72FwVoiJK9xHyuUUMbpKmgV5temqeLU2aEsiS",
"proofs": [
"4fNc2Hb4r3fAMWNYRj2zVQ2ZLrxCsEw7qH4wbLZB6Srg1eivCn8smsdudPZgesV5qivWjEkKCWPBFvbf9EL6YPrG"
],
"script": "base64:BgIMCAISABIAEgASABIAAwEPZ2V0UmFuZG9tTnVtYmVyAAQPcmFuZG9tU2VlZEJsb2NrCQEFdmFsdWUBCQDtBwEAAgQKcmFuZG9tSGFzaAkA1BYBCQEFdmFsdWUBCAUPcmFuZG9tU2VlZEJsb2NrA3ZyZgkAsQkBBQpyYW5kb21IYXNoAQd0ZXN0NWgxAQdhZGRyZXNzCQDMCAIJAQtTdHJpbmdFbnRyeQICCGFkZHJlc3MyBQdhZGRyZXNzBQNuaWwBBGNhbGMAAAMFAWkBBXRlc3QxAAQGcmVzdWx0CQEEY2FsYwAJAJQKAgUDbmlsBQZyZXN1bHQBaQEFdGVzdDMABAdhZGRyZXNzCQDYBAEICAUBaQZjYWxsZXIFYnl0ZXMJAMwIAgkBC1N0cmluZ0VudHJ5AgIHYWRkcmVzcwUHYWRkcmVzcwUDbmlsAWkBBXRlc3Q0AAQHYWRkcmVzcwkA2AQBCAgFAWkGY2FsbGVyBWJ5dGVzCQACAQUHYWRkcmVzcwFpAQV0ZXN0NQAEB2FkZHJlc3MJANgEAQgIBQFpBmNhbGxlcgVieXRlcwkBB3Rlc3Q1aDEBBQdhZGRyZXNzAWkBBXRlc3Q2AAQHYWRkcmVzcwkA2AQBCAgFAWkGY2FsbGVyBWJ5dGVzBAFyCQEHdGVzdDVoMQEFB2FkZHJlc3MJAAIBBQdhZGRyZXNzANuLyAs=",
"height": 2599193,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 9aojXmsXVxXeqZVepu6bdzn96ajfakxcnLd7iip7KRNe
Next: GFDz3zfQCWLqqVU9QCs6qTR4KQgdTCZUqWDKprTRMP9m
Diff:
Old | New | | Differences |
---|
8 | 8 | | } |
---|
9 | 9 | | |
---|
10 | 10 | | |
---|
11 | | - | func test5h1 (address) = [StringEntry("address1", address)] |
---|
| 11 | + | func test5h1 (address) = [StringEntry("address2", address)] |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | func calc () = 3 |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func getRandomNumber () = { |
---|
5 | 5 | | let randomSeedBlock = value(blockInfoByHeight(2)) |
---|
6 | 6 | | let randomHash = sha256_16Kb(value(randomSeedBlock.vrf)) |
---|
7 | 7 | | toInt(randomHash) |
---|
8 | 8 | | } |
---|
9 | 9 | | |
---|
10 | 10 | | |
---|
11 | | - | func test5h1 (address) = [StringEntry("address1", address)] |
---|
| 11 | + | func test5h1 (address) = [StringEntry("address2", address)] |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | func calc () = 3 |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | @Callable(i) |
---|
18 | 18 | | func test1 () = { |
---|
19 | 19 | | let result = calc() |
---|
20 | 20 | | $Tuple2(nil, result) |
---|
21 | 21 | | } |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
25 | 25 | | @Callable(i) |
---|
26 | 26 | | func test3 () = { |
---|
27 | 27 | | let address = toBase58String(i.caller.bytes) |
---|
28 | 28 | | [StringEntry("address", address)] |
---|
29 | 29 | | } |
---|
30 | 30 | | |
---|
31 | 31 | | |
---|
32 | 32 | | |
---|
33 | 33 | | @Callable(i) |
---|
34 | 34 | | func test4 () = { |
---|
35 | 35 | | let address = toBase58String(i.caller.bytes) |
---|
36 | 36 | | throw(address) |
---|
37 | 37 | | } |
---|
38 | 38 | | |
---|
39 | 39 | | |
---|
40 | 40 | | |
---|
41 | 41 | | @Callable(i) |
---|
42 | 42 | | func test5 () = { |
---|
43 | 43 | | let address = toBase58String(i.caller.bytes) |
---|
44 | 44 | | test5h1(address) |
---|
45 | 45 | | } |
---|
46 | 46 | | |
---|
47 | 47 | | |
---|
48 | 48 | | |
---|
49 | 49 | | @Callable(i) |
---|
50 | 50 | | func test6 () = { |
---|
51 | 51 | | let address = toBase58String(i.caller.bytes) |
---|
52 | 52 | | let r = test5h1(address) |
---|
53 | 53 | | throw(address) |
---|
54 | 54 | | } |
---|
55 | 55 | | |
---|
56 | 56 | | |
---|