tx · Ac7CPt1w8vNhRu7zpN4TetfHoLhybbvUcGvf7uT1kxGB

3Mz7a57rADDtRecm7MDRaqUgHMCcGJ2acKf:  -0.05000000 Waves

2022.12.20 10:23 [2368305] smart account 3Mz7a57rADDtRecm7MDRaqUgHMCcGJ2acKf > SELF 0.00000000 Waves

{ "type": 13, "id": "Ac7CPt1w8vNhRu7zpN4TetfHoLhybbvUcGvf7uT1kxGB", "fee": 5000000, "feeAssetId": null, "timestamp": 1671521103434, "version": 2, "chainId": 84, "sender": "3Mz7a57rADDtRecm7MDRaqUgHMCcGJ2acKf", "senderPublicKey": "6UfqzdFKp882zVyUTkmsrHe8n7qWMPhoVhBHkh18kmWH", "proofs": [ "2mC8sLYcnjNbMZtgkqeHNSgWCUbRAEQEMKf57VjGunY4kab3EGCFa5M2D1QUWNGQERZfU358gqEi3DwiFkRu4fUW" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAHZGVmYXVsdAAAAAAEAAAAC2RBcHBBZGRyZXNzAgAAACMzTXRNWlBWb2hSeXhja1JrMTFSWk00Z2V1bjZpdFNobWNYeQQAAAAFdHhGZWUIBQAAAAFpAAAAA2ZlZQQAAAALdXNkbkFzc2V0SWQBAAAAIPd26vf3g8pl224T7gI7z1gplanB0Y3yS9ps2B1igMjeBAAAAAZhbW91bnQAAAAAAAAAAAoDCQAAAAAAAAIFAAAABXR4RmVlAAAAAAAADbugBAAAAAF5CQAD/AAAAAQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAAC2RBcHBBZGRyZXNzAgAAABBpbmNyZWFzZVBvc2l0aW9uCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAJiWgAkABEwAAAACAAAAAAAANPXbCQAETAAAAAICAAAAAAUAAAADbmlsCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACBQAAAAt1c2RuQXNzZXRJZAkAAGgAAAACBQAAAAZhbW91bnQAAAAAAAAPQkAFAAAAA25pbAMJAAAAAAAAAgUAAAABeQUAAAABeQUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgMJAAAAAAAAAgUAAAAFdHhGZWUAAAAAAAANu6EEAAAAAXkJAAP8AAAABAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAALZEFwcEFkZHJlc3MCAAAAEGluY3JlYXNlUG9zaXRpb24JAARMAAAAAgAAAAAAAAAAAgkABEwAAAACAAAAAAAAmJaACQAETAAAAAIAAAAAAAA09dsJAARMAAAAAgIAAAAABQAAAANuaWwJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAAC3VzZG5Bc3NldElkCQAAaAAAAAIFAAAABmFtb3VudAAAAAAAAA9CQAUAAAADbmlsAwkAAAAAAAACBQAAAAF5BQAAAAF5BQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAABmVycm9yIQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5uWlwew==", "height": 2368305, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AHcRpA8N7iqAoL7q5fJqeREQheKUAa5pyb71DjtfFhMJ Next: Ahr4DgX3dHR9zGwbYzBjfcSLGE2TWYeHZw1ZoPKbKRsM Diff:
OldNewDifferences
88 let dAppAddress = "3MtMZPVohRyxckRk11RZM4geun6itShmcXy"
99 let txFee = i.fee
1010 let usdnAssetId = base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ'
11- let amount = 100
11+ let amount = 10
1212 if ((txFee == 900000))
1313 then {
14- let y = invoke(addressFromStringValue(dAppAddress), "increasePosition", [1, 5000000, 3470811, ""], [AttachedPayment(usdnAssetId, (amount * 1000000))])
14+ let y = invoke(addressFromStringValue(dAppAddress), "increasePosition", [1, 10000000, 3470811, ""], [AttachedPayment(usdnAssetId, (amount * 1000000))])
1515 if ((y == y))
1616 then nil
1717 else throw("Strict value is not equal to itself.")
1818 }
1919 else if ((txFee == 900001))
2020 then {
21- let y = invoke(addressFromStringValue(dAppAddress), "increasePosition", [2, 5000000, 3470811, ""], [AttachedPayment(usdnAssetId, (amount * 1000000))])
21+ let y = invoke(addressFromStringValue(dAppAddress), "increasePosition", [2, 10000000, 3470811, ""], [AttachedPayment(usdnAssetId, (amount * 1000000))])
2222 if ((y == y))
2323 then nil
2424 else throw("Strict value is not equal to itself.")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func default () = {
88 let dAppAddress = "3MtMZPVohRyxckRk11RZM4geun6itShmcXy"
99 let txFee = i.fee
1010 let usdnAssetId = base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ'
11- let amount = 100
11+ let amount = 10
1212 if ((txFee == 900000))
1313 then {
14- let y = invoke(addressFromStringValue(dAppAddress), "increasePosition", [1, 5000000, 3470811, ""], [AttachedPayment(usdnAssetId, (amount * 1000000))])
14+ let y = invoke(addressFromStringValue(dAppAddress), "increasePosition", [1, 10000000, 3470811, ""], [AttachedPayment(usdnAssetId, (amount * 1000000))])
1515 if ((y == y))
1616 then nil
1717 else throw("Strict value is not equal to itself.")
1818 }
1919 else if ((txFee == 900001))
2020 then {
21- let y = invoke(addressFromStringValue(dAppAddress), "increasePosition", [2, 5000000, 3470811, ""], [AttachedPayment(usdnAssetId, (amount * 1000000))])
21+ let y = invoke(addressFromStringValue(dAppAddress), "increasePosition", [2, 10000000, 3470811, ""], [AttachedPayment(usdnAssetId, (amount * 1000000))])
2222 if ((y == y))
2323 then nil
2424 else throw("Strict value is not equal to itself.")
2525 }
2626 else throw("error!")
2727 }
2828
2929
3030 @Verifier(tx)
3131 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3232

github/deemru/w8io/026f985 
29.78 ms