tx · 8s85MpJVPwtYP1PsMQLcSqxsPvftPeioe33i2k3rf3xr
3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB: -0.01000000 Waves
2022.03.21 23:39 [1974188] smart account 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB > SELF 0.00000000 Waves
{
"type": 13,
"id": "8s85MpJVPwtYP1PsMQLcSqxsPvftPeioe33i2k3rf3xr",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1647895154043,
"version": 2,
"chainId": 84,
"sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB",
"senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf",
"proofs": [
"r1KDRsJfqjfxAaptLgZxiYhFCyxvWbVztTrVR4LCV2Mwn46PVA36fFmxfg8fo9V3LzTLjpZrTVnPu3ubbvBqr53"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAFemFyQXQAAAAABAAAAAN1bmkAAAAAAAAPQkAEAAAAA3RpYwMJAABmAAAAAgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAAIAAAABAgAAABhObyBNb25leSBObyBGdW5ueSBIb25leS4DCQAAAAAAAAIIBQAAAAN0aWMAAAAGYW1vdW50AAAAAAAAD0JABAAAAANnSUQJAASxAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAQAAAABcgkAAGQAAAACCQAAagAAAAIJAABkAAAAAgkAAGQAAAACCQAAZAAAAAIIBQAAAAlsYXN0QmxvY2sAAAAGaGVpZ2h0CAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAgFAAAACWxhc3RCbG9jawAAAApiYXNlVGFyZ2V0BQAAAANnSUQAAAAAAAAAAAYAAAAAAAAAAAEEAAAAAXoJAABkAAAAAgkAAGoAAAACCQAAZAAAAAIJAABkAAAAAgkAAGQAAAACCQAEsQAAAAEICAUAAAAJbGFzdEJsb2NrAAAACWdlbmVyYXRvcgAAAAVieXRlcwgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAIBQAAAAlsYXN0QmxvY2sAAAAKYmFzZVRhcmdldAUAAAADZ0lEAAAAAAAAAAAGAAAAAAAAAAABAwkAAAAAAAACBQAAAAFyBQAAAAF6CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGgAAAACCQAAaAAAAAIFAAAAAXIAAAAAAAAAAAMFAAAAA3VuaQUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAANOdW0JAAEsAAAAAgkAASwAAAACCQABpAAAAAEFAAAAAXICAAAAASAJAAGkAAAAAQUAAAABegUAAAADbmlsCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGkAAAACCQAAaAAAAAIJAABkAAAAAgUAAAABcgUAAAABegUAAAADdW5pAAAAAAAAAAACBQAAAAR1bml0CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAA051bQkAASwAAAACCQABLAAAAAIJAAGkAAAAAQUAAAABcgIAAAABIAkAAaQAAAABBQAAAAF6BQAAAANuaWwJAAACAAAAAQIAAAAxVGlja2V0cyBhcmUgMC4wMSBXQVZFUy4gUGxlYXNlIHNlbnQgZXhhY3QgYW1vdW50LgAAAAAfeoZ1",
"height": 1974188,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 5XXdGm6Tm8LixUBffypWbkM9qHiDDiiadHi8qHSV7hay
Next: 4fr224DEAcM69VBVaY32HPEF7NuftTGSpmWh85qT8K59
Diff:
Old | New | | Differences |
---|
9 | 9 | | let c = if ((size(a.payments) > 0)) |
---|
10 | 10 | | then a.payments[0] |
---|
11 | 11 | | else throw("No Money No Funny Honey.") |
---|
12 | | - | if ((c.amount == 10000000)) |
---|
| 12 | + | if ((c.amount == 1000000)) |
---|
13 | 13 | | then { |
---|
14 | 14 | | let d = toInt(a.transactionId) |
---|
15 | 15 | | let e = (((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) + d) % 6) + 1) |
---|
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 | 7 | | func zarAt () = { |
---|
8 | 8 | | let b = 1000000 |
---|
9 | 9 | | let c = if ((size(a.payments) > 0)) |
---|
10 | 10 | | then a.payments[0] |
---|
11 | 11 | | else throw("No Money No Funny Honey.") |
---|
12 | | - | if ((c.amount == 10000000)) |
---|
| 12 | + | if ((c.amount == 1000000)) |
---|
13 | 13 | | then { |
---|
14 | 14 | | let d = toInt(a.transactionId) |
---|
15 | 15 | | let e = (((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) + d) % 6) + 1) |
---|
16 | 16 | | let f = (((((toInt(lastBlock.generator.bytes) + lastBlock.timestamp) + lastBlock.baseTarget) + d) % 6) + 1) |
---|
17 | 17 | | if ((e == f)) |
---|
18 | 18 | | then [ScriptTransfer(a.caller, ((e * 3) * b), unit), StringEntry("Num", ((toString(e) + " ") + toString(f)))] |
---|
19 | 19 | | else [ScriptTransfer(a.caller, (((e + f) * b) / 2), unit), StringEntry("Num", ((toString(e) + " ") + toString(f)))] |
---|
20 | 20 | | } |
---|
21 | 21 | | else throw("Tickets are 0.01 WAVES. Please sent exact amount.") |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|