tx · pmZkPUZ2FzDiVAoFg5SQt7MyUPoQ27MByTHvKCAR6QF 3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W: -0.01000000 Waves 2021.09.16 04:07 [1704921] smart account 3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W > SELF 0.00000000 Waves
{ "type": 13, "id": "pmZkPUZ2FzDiVAoFg5SQt7MyUPoQ27MByTHvKCAR6QF", "fee": 1000000, "feeAssetId": null, "timestamp": 1631754481441, "version": 2, "chainId": 84, "sender": "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W", "senderPublicKey": "4Tgbt8hFUrh9Ljuh7RR6JU7FGF6Vy8J55djUNpJj8DvX", "proofs": [ "QKknUZLgAoQACqUx14emEoVdJcKhUsaiNUE4rAiBmCbNjypd2Zv3YP2wBZfyMTAXSPXU7Dh7nj6nvZKjudyEHFH" ], "script": "base64:AAIFAAAAAAAAAN4IAhIFCgMICAgaBwoCYTESAWkaDAoCYTISBmFjdGlvbhoKCgJhMxIEdHlwZRoRCgJhNBILdmFsdWVBY3Rpb24aEwoCYTUSDXRyYW5zYWN0aW9uSWQaEAoCYTYSCmN1cnJlbnRLZXkaDwoCYTcSCXBheUFtb3VudBoVCgJhOBIPY3VycmVudEtleUJ5dGVzGg0KAmE5EgduYW1lTmZ0GhAKAmIxEgpoaXN0b3JpY0lkGg0KAmIyEgckbWF0Y2gwGgcKAmIzEgF0GhUKAmI0Eg9pbml0aWFsUG93ZXJOZnQAAAAAAAAAAQAAAAJhMQEAAAAFc3RhcnQAAAADAAAAAmEyAAAAAmEzAAAAAmE0BAAAAAJhNQkAAlgAAAABCAUAAAACYTEAAAANdHJhbnNhY3Rpb25JZAQAAAACYTYIBQAAAAJhMQAAAAZjYWxsZXIEAAAAAmE3CQEAAAAFdmFsdWUAAAABCAkAAZEAAAACCAUAAAACYTEAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAAJhOAkAAlgAAAABCAgFAAAAAmExAAAABmNhbGxlcgAAAAVieXRlcwQAAAACYTkJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAAAmEzAgAAAAFfCQABLwAAAAIFAAAAAmE1AAAAAAAAAAAKAgAAAAFfBQAAAAJhOAIAAAABXwUAAAACYTUEAAAAAmIxBAAAAAJiMgkABBoAAAACBQAAAAR0aGlzAgAAAApoaXN0b3JpY0lkAwkAAAEAAAACBQAAAAJiMgIAAAADSW50BAAAAAJiMwUAAAACYjIFAAAAAmIzAAAAAAAAAAAABAAAAAJiNAQAAAACYjIJAAQaAAAAAgUAAAAEdGhpcwUAAAACYTMDCQAAAQAAAAIFAAAAAmIyAgAAAANJbnQEAAAAAmIzBQAAAAJiMgUAAAACYjMAAAAAAAAAAGQDCQAAAAAAAAIFAAAAAmEyAgAAAAdCdXkgTkZUCQAETAAAAAIJAARCAAAABQkAASwAAAACCQABLAAAAAIFAAAAAmEzAgAAAAFfCQABLwAAAAIFAAAAAmE1AAAAAAAAAAAKAgAAAAAAAAAAAAAAAAEAAAAAAAAAAAAHCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAAJhOQUAAAACYjQFAAAAA25pbAMDCQAAAAAAAAIFAAAAAmEyAgAAAAhTZW5kIE5GVAkAAAAAAAACBQAAAAJhOAIAAAAjM043WW0xV0szWmFGcDdWZmp2ejZLRlJHRjZBeHNBWG03NlcHCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAAAdBZGRyZXNzAAAAAQkAAlkAAAABBQAAAAJhMwAAAAAAAAAAAQkAAlkAAAABBQAAAAJhNAUAAAADbmlsCQAAAgAAAAECAAAALUFsZ28gZGV1IGVycmFkbyEgVmVyaWZpcXVlIHN1YSBzb2xpY2l0YcOnw6NvIQAAAADP5Ded", "height": 1704921, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EDHsc42eTkV6u2T1qm6TqgFN1P2dZcH4jYUqR8uFNnZe Next: GaxQW4QBKW2cxehZUhCkjiQeSCiYGzyopAth8cFF1wqq Diff:
Old | New | Differences | |
---|---|---|---|
34 | 34 | then (h == "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W") | |
35 | 35 | else false) | |
36 | 36 | then [ScriptTransfer(Address(fromBase58String(c)), 1, fromBase58String(d))] | |
37 | - | else throw(" | |
37 | + | else throw("Algo deu errado! Verifique sua solicitação!") | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 |
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 start (b,c,d) = { | |
8 | 8 | let e = toBase58String(a.transactionId) | |
9 | 9 | let f = a.caller | |
10 | 10 | let g = value(a.payments[0].amount) | |
11 | 11 | let h = toBase58String(a.caller.bytes) | |
12 | 12 | let i = ((((((c + "_") + take(e, 10)) + "_") + h) + "_") + e) | |
13 | 13 | let j = { | |
14 | 14 | let k = getInteger(this, "historicId") | |
15 | 15 | if ($isInstanceOf(k, "Int")) | |
16 | 16 | then { | |
17 | 17 | let l = k | |
18 | 18 | l | |
19 | 19 | } | |
20 | 20 | else 0 | |
21 | 21 | } | |
22 | 22 | let m = { | |
23 | 23 | let k = getInteger(this, c) | |
24 | 24 | if ($isInstanceOf(k, "Int")) | |
25 | 25 | then { | |
26 | 26 | let l = k | |
27 | 27 | l | |
28 | 28 | } | |
29 | 29 | else 100 | |
30 | 30 | } | |
31 | 31 | if ((b == "Buy NFT")) | |
32 | 32 | then [Issue(((c + "_") + take(e, 10)), "", 1, 0, false), IntegerEntry(i, m)] | |
33 | 33 | else if (if ((b == "Send NFT")) | |
34 | 34 | then (h == "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W") | |
35 | 35 | else false) | |
36 | 36 | then [ScriptTransfer(Address(fromBase58String(c)), 1, fromBase58String(d))] | |
37 | - | else throw(" | |
37 | + | else throw("Algo deu errado! Verifique sua solicitação!") | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 |
github/deemru/w8io/fabc49c 22.44 ms ◑