tx · B6G2npUoaPQsZLRKe1x7sKkPM6Dy8VfN15stSCmKKhfB
3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883: -0.01400000 Waves
2023.01.17 10:38 [2408643] smart account 3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883 > SELF 0.00000000 Waves
{
"type": 13,
"id": "B6G2npUoaPQsZLRKe1x7sKkPM6Dy8VfN15stSCmKKhfB",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1673941077422,
"version": 2,
"chainId": 84,
"sender": "3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883",
"senderPublicKey": "4Th7ZmZ8q1gJTWYroiTqkP8SHd97aJUT2bQyKgCyvqZF",
"proofs": [
"46zUimmHqU2teyH4xHcr16Ac8AWNPs9nZjdA7BiEE6pvJEcAEp9EWUUvVkVwRA8p2r9VsqvrjpgN1LcbVpsKLyTd"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAQAAAAALYWRtaW5yaWdodHMJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMCAAAAEURBcHBfQWRtaW5fUmlnaHRzAAAAAQAAAAFpAQAAAA5CdXlUTldpdGhXYXZlcwAAAAAEAAAADlNwZW5kVVNETlZhbHVlAAAAAAAUQ/0ABAAAABFEYXBwZmVlcGVyY2VudGFnZQAAAAAAAAAAYAQAAAANY2FsbGVyYWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAwkBAAAAAiE9AAAAAgUAAAALYWRtaW5yaWdodHMFAAAADWNhbGxlcmFkZHJlc3MJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAIkkga25vdyBZb3UgYXJlIG5vdCBBbiBBZG1pbi4gT25seSAFAAAAC2FkbWlucmlnaHRzAgAAABQgaGFzIHJpZ2h0cyB0byBTaWduLgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAARZ2xvYmFsX1ROX2JhbGFuY2UAAAAbrLShx2YJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAO2dsb2JhbF9FendhRjU4c3NBTGNVQ1o5RmJ5ZUQxR1RTdGVvWkFRWkVEVHFCQVhIZnE4eV9iYWxhbmNlAAAAABGsZFrDCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAEURBcHBfQWRtaW5fUmlnaHRzAgAAACMzTjdtdFhWSG5BTDN6ZENSelZocms4cnp6WENRU0w0a0hKbgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmkBDWJ",
"height": 2408643,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DWxHmWeKtPz9xfTZFqmxxJq1QPdi9jYPhKEBsKsra7rE
Next: AWm2JFTM36YtWxdmtvjdMCGysyR8kdTv6o4J1rJThpWC
Diff:
Old | New | | Differences |
---|
8 | 8 | | let c = 340000000 |
---|
9 | 9 | | let d = 96 |
---|
10 | 10 | | let e = toBase58String(b.caller.bytes) |
---|
11 | | - | [IntegerEntry("global_TN_balance", 30428578826086), IntegerEntry("global_EzwaF58ssALcUCZ9FbyeD1GTSteoZAQZEDTqBAXHfq8y_balance", 75906702019), StringEntry("DApp_Admin_Rights", "3N7mtXVHnAL3zdCRzVhrk8rzzXCQSL4kHJn")] |
---|
| 11 | + | if ((a != e)) |
---|
| 12 | + | then throw((("I know You are not An Admin. Only " + a) + " has rights to Sign.")) |
---|
| 13 | + | else [IntegerEntry("global_TN_balance", 30428578826086), IntegerEntry("global_EzwaF58ssALcUCZ9FbyeD1GTSteoZAQZEDTqBAXHfq8y_balance", 75906702019), StringEntry("DApp_Admin_Rights", "3N7mtXVHnAL3zdCRzVhrk8rzzXCQSL4kHJn")] |
---|
12 | 14 | | } |
---|
13 | 15 | | |
---|
14 | 16 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = getStringValue(this, "DApp_Admin_Rights") |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | 7 | | func BuyTNWithWaves () = { |
---|
8 | 8 | | let c = 340000000 |
---|
9 | 9 | | let d = 96 |
---|
10 | 10 | | let e = toBase58String(b.caller.bytes) |
---|
11 | | - | [IntegerEntry("global_TN_balance", 30428578826086), IntegerEntry("global_EzwaF58ssALcUCZ9FbyeD1GTSteoZAQZEDTqBAXHfq8y_balance", 75906702019), StringEntry("DApp_Admin_Rights", "3N7mtXVHnAL3zdCRzVhrk8rzzXCQSL4kHJn")] |
---|
| 11 | + | if ((a != e)) |
---|
| 12 | + | then throw((("I know You are not An Admin. Only " + a) + " has rights to Sign.")) |
---|
| 13 | + | else [IntegerEntry("global_TN_balance", 30428578826086), IntegerEntry("global_EzwaF58ssALcUCZ9FbyeD1GTSteoZAQZEDTqBAXHfq8y_balance", 75906702019), StringEntry("DApp_Admin_Rights", "3N7mtXVHnAL3zdCRzVhrk8rzzXCQSL4kHJn")] |
---|
12 | 14 | | } |
---|
13 | 15 | | |
---|
14 | 16 | | |
---|
15 | 17 | | @Verifier(f) |
---|
16 | 18 | | func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
17 | 19 | | |
---|