tx · 12fjv5eHHETesLpaV6XLyHod2YpihLKHyyN6GTTr7cc6 3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883: -0.01400000 Waves 2023.01.17 10:34 [2408641] smart account 3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883 > SELF 0.00000000 Waves
{ "type": 13, "id": "12fjv5eHHETesLpaV6XLyHod2YpihLKHyyN6GTTr7cc6", "fee": 1400000, "feeAssetId": null, "timestamp": 1673940903945, "version": 2, "chainId": 84, "sender": "3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883", "senderPublicKey": "4Th7ZmZ8q1gJTWYroiTqkP8SHd97aJUT2bQyKgCyvqZF", "proofs": [ "dWmhxnVvRAWoaBsWpaCvRFAZGTn88aoSsRcJMmDjgvC8jZRLrdcVgnQYWLtJMbAG75pv9WXJCt4ovgMGoLaPx4y" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAQAAAAALYWRtaW5yaWdodHMJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMCAAAAEURBcHBfQWRtaW5fUmlnaHRzAAAAAQAAAAFpAQAAAA5CdXlUTldpdGhXYXZlcwAAAAEAAAAJQnV5QW1vdW50BAAAAA5TcGVuZFVTRE5WYWx1ZQAAAAAAFEP9AAQAAAARRGFwcGZlZXBlcmNlbnRhZ2UAAAAAAAAAAGAEAAAADWNhbGxlcmFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwMJAQAAAAIhPQAAAAIFAAAAC2FkbWlucmlnaHRzBQAAAA1jYWxsZXJhZGRyZXNzCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACAgAAACJJIGtub3cgWW91IGFyZSBub3QgQW4gQWRtaW4uIE9ubHkgBQAAAAthZG1pbnJpZ2h0cwIAAAAUIGhhcyByaWdodHMgdG8gU2lnbi4JAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAEWdsb2JhbF9UTl9iYWxhbmNlAAAAG6y0ocdmCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAADtnbG9iYWxfRXp3YUY1OHNzQUxjVUNaOUZieWVEMUdUU3Rlb1pBUVpFRFRxQkFYSGZxOHlfYmFsYW5jZQAAAAARrGRawwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAABFEQXBwX0FkbWluX1JpZ2h0cwIAAAAjM043bXRYVkhuQUwzemRDUnpWaHJrOHJ6elhDUVNMNGtISm4FAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5YXRD+g==", "height": 2408641, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 8mNdY7fQR5RksT1KgvU7CRDT44yvHkdoqrYMtuEog8vT Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let adminrights = getStringValue(this, "DApp_Admin_Rights") | |
5 | + | ||
6 | + | @Callable(i) | |
7 | + | func BuyTNWithWaves (BuyAmount) = { | |
8 | + | let SpendUSDNValue = 340000000 | |
9 | + | let Dappfeepercentage = 96 | |
10 | + | let calleraddress = toBase58String(i.caller.bytes) | |
11 | + | if ((adminrights != calleraddress)) | |
12 | + | then throw((("I know You are not An Admin. Only " + adminrights) + " has rights to Sign.")) | |
13 | + | else [IntegerEntry("global_TN_balance", 30428578826086), IntegerEntry("global_EzwaF58ssALcUCZ9FbyeD1GTSteoZAQZEDTqBAXHfq8y_balance", 75906702019), StringEntry("DApp_Admin_Rights", "3N7mtXVHnAL3zdCRzVhrk8rzzXCQSL4kHJn")] | |
14 | + | } | |
15 | + | ||
16 | + | ||
17 | + | @Verifier(tx) | |
18 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
19 | + |
github/deemru/w8io/026f985 17.12 ms ◑