tx · 8mNdY7fQR5RksT1KgvU7CRDT44yvHkdoqrYMtuEog8vT

3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883:  -0.01400000 Waves

2023.01.17 10:34 [2408641] smart account 3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883 > SELF 0.00000000 Waves

{ "type": 13, "id": "8mNdY7fQR5RksT1KgvU7CRDT44yvHkdoqrYMtuEog8vT", "fee": 1400000, "feeAssetId": null, "timestamp": 1673940925196, "version": 2, "chainId": 84, "sender": "3N993f67Vv3Jz3F2VXhGqDR37w6Sw3z3883", "senderPublicKey": "4Th7ZmZ8q1gJTWYroiTqkP8SHd97aJUT2bQyKgCyvqZF", "proofs": [ "3e47tU52vjxfj7p36fr3D61xfrTPihuguWL4dHKkTn8Ntq9eZUjxqtSC4PjKhUNjeP7qFZZLZDNSoFnQ1LQxNfXF" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAQAAAAALYWRtaW5yaWdodHMJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMCAAAAEURBcHBfQWRtaW5fUmlnaHRzAAAAAQAAAAFpAQAAAA5CdXlUTldpdGhXYXZlcwAAAAAEAAAADlNwZW5kVVNETlZhbHVlAAAAAAAUQ/0ABAAAABFEYXBwZmVlcGVyY2VudGFnZQAAAAAAAAAAYAQAAAANY2FsbGVyYWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAwkBAAAAAiE9AAAAAgUAAAALYWRtaW5yaWdodHMFAAAADWNhbGxlcmFkZHJlc3MJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAIkkga25vdyBZb3UgYXJlIG5vdCBBbiBBZG1pbi4gT25seSAFAAAAC2FkbWlucmlnaHRzAgAAABQgaGFzIHJpZ2h0cyB0byBTaWduLgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAARZ2xvYmFsX1ROX2JhbGFuY2UAAAAbrLShx2YJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAO2dsb2JhbF9FendhRjU4c3NBTGNVQ1o5RmJ5ZUQxR1RTdGVvWkFRWkVEVHFCQVhIZnE4eV9iYWxhbmNlAAAAABGsZFrDCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAEURBcHBfQWRtaW5fUmlnaHRzAgAAACMzTjdtdFhWSG5BTDN6ZENSelZocms4cnp6WENRU0w0a0hKbgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmkBDWJ", "height": 2408641, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 12fjv5eHHETesLpaV6XLyHod2YpihLKHyyN6GTTr7cc6 Next: DWxHmWeKtPz9xfTZFqmxxJq1QPdi9jYPhKEBsKsra7rE Diff:
OldNewDifferences
44 let adminrights = getStringValue(this, "DApp_Admin_Rights")
55
66 @Callable(i)
7-func BuyTNWithWaves (BuyAmount) = {
7+func BuyTNWithWaves () = {
88 let SpendUSDNValue = 340000000
99 let Dappfeepercentage = 96
1010 let calleraddress = toBase58String(i.caller.bytes)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let adminrights = getStringValue(this, "DApp_Admin_Rights")
55
66 @Callable(i)
7-func BuyTNWithWaves (BuyAmount) = {
7+func BuyTNWithWaves () = {
88 let SpendUSDNValue = 340000000
99 let Dappfeepercentage = 96
1010 let calleraddress = toBase58String(i.caller.bytes)
1111 if ((adminrights != calleraddress))
1212 then throw((("I know You are not An Admin. Only " + adminrights) + " has rights to Sign."))
1313 else [IntegerEntry("global_TN_balance", 30428578826086), IntegerEntry("global_EzwaF58ssALcUCZ9FbyeD1GTSteoZAQZEDTqBAXHfq8y_balance", 75906702019), StringEntry("DApp_Admin_Rights", "3N7mtXVHnAL3zdCRzVhrk8rzzXCQSL4kHJn")]
1414 }
1515
1616
1717 @Verifier(tx)
1818 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1919

github/deemru/w8io/169f3d6 
22.24 ms