tx · DWxHmWeKtPz9xfTZFqmxxJq1QPdi9jYPhKEBsKsra7rE
3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883: -0.01400000 Waves
2023.01.17 10:35 [2408642] smart account 3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883 > SELF 0.00000000 Waves
{
"type": 13,
"id": "DWxHmWeKtPz9xfTZFqmxxJq1QPdi9jYPhKEBsKsra7rE",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1673941013843,
"version": 2,
"chainId": 84,
"sender": "3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883",
"senderPublicKey": "4Th7ZmZ8q1gJTWYroiTqkP8SHd97aJUT2bQyKgCyvqZF",
"proofs": [
"41pW1dt4c2Qtrh6JvjSNFu1KyamzWEEFF8nhrZuHL2hmNEWoH1HKY3srhP9s1a5xjRiy2qJkCi5A4XcqMXNP75aF"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAQAAAAALYWRtaW5yaWdodHMJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMCAAAAEURBcHBfQWRtaW5fUmlnaHRzAAAAAQAAAAFpAQAAAA5CdXlUTldpdGhXYXZlcwAAAAAEAAAADlNwZW5kVVNETlZhbHVlAAAAAAAUQ/0ABAAAABFEYXBwZmVlcGVyY2VudGFnZQAAAAAAAAAAYAQAAAANY2FsbGVyYWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAABFnbG9iYWxfVE5fYmFsYW5jZQAAABustKHHZgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAA7Z2xvYmFsX0V6d2FGNThzc0FMY1VDWjlGYnllRDFHVFN0ZW9aQVFaRURUcUJBWEhmcTh5X2JhbGFuY2UAAAAAEaxkWsMJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAARREFwcF9BZG1pbl9SaWdodHMCAAAAIzNON210WFZIbkFMM3pkQ1J6VmhyazhyenpYQ1FTTDRrSEpuBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQUi9fY=",
"height": 2408642,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 8mNdY7fQR5RksT1KgvU7CRDT44yvHkdoqrYMtuEog8vT
Next: B6G2npUoaPQsZLRKe1x7sKkPM6Dy8VfN15stSCmKKhfB
Diff:
Old | New | | Differences |
---|
8 | 8 | | let SpendUSDNValue = 340000000 |
---|
9 | 9 | | let Dappfeepercentage = 96 |
---|
10 | 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")] |
---|
| 11 | + | [IntegerEntry("global_TN_balance", 30428578826086), IntegerEntry("global_EzwaF58ssALcUCZ9FbyeD1GTSteoZAQZEDTqBAXHfq8y_balance", 75906702019), StringEntry("DApp_Admin_Rights", "3N7mtXVHnAL3zdCRzVhrk8rzzXCQSL4kHJn")] |
---|
14 | 12 | | } |
---|
15 | 13 | | |
---|
16 | 14 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let adminrights = getStringValue(this, "DApp_Admin_Rights") |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func BuyTNWithWaves () = { |
---|
8 | 8 | | let SpendUSDNValue = 340000000 |
---|
9 | 9 | | let Dappfeepercentage = 96 |
---|
10 | 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")] |
---|
| 11 | + | [IntegerEntry("global_TN_balance", 30428578826086), IntegerEntry("global_EzwaF58ssALcUCZ9FbyeD1GTSteoZAQZEDTqBAXHfq8y_balance", 75906702019), StringEntry("DApp_Admin_Rights", "3N7mtXVHnAL3zdCRzVhrk8rzzXCQSL4kHJn")] |
---|
14 | 12 | | } |
---|
15 | 13 | | |
---|
16 | 14 | | |
---|
17 | 15 | | @Verifier(tx) |
---|
18 | 16 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
19 | 17 | | |
---|