tx · Bo5DR168A5ahqMVQWwzYRxH6YEZ34ZjmjQ64vb3nykFc
3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7: -0.01000000 Waves
2021.09.23 23:01 [1716161] smart account 3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7 > SELF 0.00000000 Waves
{
"type": 13,
"id": "Bo5DR168A5ahqMVQWwzYRxH6YEZ34ZjmjQ64vb3nykFc",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1632427342072,
"version": 1,
"sender": "3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7",
"senderPublicKey": "8bucJnjo1rN155Zycpsunmsw9y98tqwuFbimJV4onPSe",
"proofs": [
"2jow92eAHSHUarwMagwwA7pA6UsjrVRApCJynXidKQk3hK54PG7z5nUBDkcu5r7XnQ1XYMpTFASTwHUvTHo6fFJu"
],
"script": "base64:AAIFAAAAAAAAABUIAhIECgIBCBIECgIIARIFCgMIAQgAAAAAAAAAAwAAAAFpAQAAAAhkYXRhYmFzZQAAAAIAAAAFdmFsdWUAAAAEc29tZQQAAAAEYmFzZQkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkBAAAAANrZXkJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAARiYXNlBQAAAARiYXNlBQAAAARiYXNlBQAAAARiYXNlBQAAAARiYXNlCQABLwAAAAIFAAAABGJhc2UAAAAAAAAAACAEAAAABGNhbGwJAAP8AAAABAUAAAAEdGhpcwIAAAAJa2V5dmFsdWUyCQAETAAAAAIFAAAAA2tleQkABEwAAAACCQAAZQAAAAIFAAAABXZhbHVlAAAAAAAAAAABCQAETAAAAAIFAAAABHNvbWUFAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAARjYWxsBQAAAARjYWxsBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAWkBAAAACWt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AAAAA25pbAAAAAC7+fPE",
"chainId": 84,
"height": 1716161,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: HV6jjsGdcS8TbPvEi5tivZMvGmPhjDmPMzSCxQydDN2E
Next: 5nDEJ7kYjUD4VVqTDpus8Pxp3EjFCg2KquXMALbSiqq6
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | | - | func database (b) = { |
---|
8 | | - | let c = toBase58String(a.transactionId) |
---|
9 | | - | let d = (((((c + c) + c) + c) + c) + take(c, 32)) |
---|
10 | | - | let e = invoke(this, "keyvalue", [d, (b - 1)], nil) |
---|
11 | | - | if ((e == e)) |
---|
| 7 | + | func database (b,c) = { |
---|
| 8 | + | let d = toBase58String(a.transactionId) |
---|
| 9 | + | let e = (((((d + d) + d) + d) + d) + take(d, 32)) |
---|
| 10 | + | let f = invoke(this, "keyvalue2", [e, (b - 1), c], nil) |
---|
| 11 | + | if ((f == f)) |
---|
12 | 12 | | then nil |
---|
13 | 13 | | else throw("Strict value is not equal to itself.") |
---|
14 | 14 | | } |
---|
|
16 | 16 | | |
---|
17 | 17 | | |
---|
18 | 18 | | @Callable(a) |
---|
19 | | - | func keyvalue (d,b) = if ((b > 0)) |
---|
| 19 | + | func keyvalue1 (e,b) = if ((b > 0)) |
---|
20 | 20 | | then { |
---|
21 | | - | let f = invoke(this, "keyvalue", [d, (b - 1)], nil) |
---|
22 | | - | if ((f == f)) |
---|
23 | | - | then [BooleanEntry((toString((100 + b)) + d), true)] |
---|
| 21 | + | let g = invoke(this, "keyvalue", [e, (b - 1)], nil) |
---|
| 22 | + | if ((g == g)) |
---|
| 23 | + | then [BooleanEntry((toString((100 + b)) + e), true)] |
---|
24 | 24 | | else throw("Strict value is not equal to itself.") |
---|
25 | 25 | | } |
---|
26 | | - | else [BooleanEntry((toString(100) + d), true)] |
---|
| 26 | + | else [BooleanEntry((toString(100) + e), true)] |
---|
| 27 | + | |
---|
| 28 | + | |
---|
| 29 | + | |
---|
| 30 | + | @Callable(a) |
---|
| 31 | + | func keyvalue2 (e,b,c) = if ((b > 0)) |
---|
| 32 | + | then { |
---|
| 33 | + | let g = invoke(this, "keyvalue", [e, (b - 1)], nil) |
---|
| 34 | + | if ((g == g)) |
---|
| 35 | + | then [StringEntry((toString((100 + b)) + e), c)] |
---|
| 36 | + | else throw("Strict value is not equal to itself.") |
---|
| 37 | + | } |
---|
| 38 | + | else [StringEntry((toString(100) + e), c)] |
---|
27 | 39 | | |
---|
28 | 40 | | |
---|
Full:
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 database (b) = { |
---|
8 | | - | let c = toBase58String(a.transactionId) |
---|
9 | | - | let d = (((((c + c) + c) + c) + c) + take(c, 32)) |
---|
10 | | - | let e = invoke(this, "keyvalue", [d, (b - 1)], nil) |
---|
11 | | - | if ((e == e)) |
---|
| 7 | + | func database (b,c) = { |
---|
| 8 | + | let d = toBase58String(a.transactionId) |
---|
| 9 | + | let e = (((((d + d) + d) + d) + d) + take(d, 32)) |
---|
| 10 | + | let f = invoke(this, "keyvalue2", [e, (b - 1), c], nil) |
---|
| 11 | + | if ((f == f)) |
---|
12 | 12 | | then nil |
---|
13 | 13 | | else throw("Strict value is not equal to itself.") |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | |
---|
18 | 18 | | @Callable(a) |
---|
19 | | - | func keyvalue (d,b) = if ((b > 0)) |
---|
| 19 | + | func keyvalue1 (e,b) = if ((b > 0)) |
---|
20 | 20 | | then { |
---|
21 | | - | let f = invoke(this, "keyvalue", [d, (b - 1)], nil) |
---|
22 | | - | if ((f == f)) |
---|
23 | | - | then [BooleanEntry((toString((100 + b)) + d), true)] |
---|
| 21 | + | let g = invoke(this, "keyvalue", [e, (b - 1)], nil) |
---|
| 22 | + | if ((g == g)) |
---|
| 23 | + | then [BooleanEntry((toString((100 + b)) + e), true)] |
---|
24 | 24 | | else throw("Strict value is not equal to itself.") |
---|
25 | 25 | | } |
---|
26 | | - | else [BooleanEntry((toString(100) + d), true)] |
---|
| 26 | + | else [BooleanEntry((toString(100) + e), true)] |
---|
| 27 | + | |
---|
| 28 | + | |
---|
| 29 | + | |
---|
| 30 | + | @Callable(a) |
---|
| 31 | + | func keyvalue2 (e,b,c) = if ((b > 0)) |
---|
| 32 | + | then { |
---|
| 33 | + | let g = invoke(this, "keyvalue", [e, (b - 1)], nil) |
---|
| 34 | + | if ((g == g)) |
---|
| 35 | + | then [StringEntry((toString((100 + b)) + e), c)] |
---|
| 36 | + | else throw("Strict value is not equal to itself.") |
---|
| 37 | + | } |
---|
| 38 | + | else [StringEntry((toString(100) + e), c)] |
---|
27 | 39 | | |
---|
28 | 40 | | |
---|