tx · EcH1QMEkjG6p1pnQWj1uTSPnLDM5FuNUUaFVLMso9ujg

3MqxNQues3HH3kBjuzTSnJ7UKwmS9hgnxxx:  -0.01400000 Waves

2022.09.05 05:09 [2215195] smart account 3MqxNQues3HH3kBjuzTSnJ7UKwmS9hgnxxx > SELF 0.00000000 Waves

{ "type": 13, "id": "EcH1QMEkjG6p1pnQWj1uTSPnLDM5FuNUUaFVLMso9ujg", "fee": 1400000, "feeAssetId": null, "timestamp": 1662343747532, "version": 2, "chainId": 84, "sender": "3MqxNQues3HH3kBjuzTSnJ7UKwmS9hgnxxx", "senderPublicKey": "3karvhVe3LgRMXprezaPpdeYknh9ju1rETVV3zdunQ1p", "proofs": [ "5rtK4466oszDJuRnGfiVzQE3ZZwZh2tmh3fKKBdD8zRgunYWdjmvh13hdn6WsYwyWz25PR2VUMpjcps3bXFoc6tu" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAQAAAAALQ09ERUFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAAAQAAAAFpAQAAAAhSZWNoYXJnZQAAAAEAAAAIVXNlck5hbWUEAAAABHBtdDEJAQAAAAV2YWx1ZQAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAEAAAABHBtdDIJAQAAAAV2YWx1ZQAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAEEAAAAEURlcG9zaXRDT0RFQW1vdW50BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAACFVzZXJOYW1lAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAAFG5ld0RlcG9zaXRDT0RFQW1vdW50CQAAZAAAAAIFAAAAEURlcG9zaXRDT0RFQW1vdW50CAUAAAAEcG10MQAAAAZhbW91bnQDCQEAAAACIT0AAAACCAUAAAAEcG10MQAAAAdhc3NldElkBQAAAAtDT0RFQXNzZXRJRAkAAAIAAAABAgAAAFBJbmNvcnJlY3QgYXNzZXQgYXR0YWNoZWQgZm9yIGluIHBheW1lbnRbMV0sIHBsZWFzZSBhdHRhY2ggbWluaW11bSAxMCBDT0RFIFRva2VuLgMJAABmAAAAAgAAAAAAAAAD6AgFAAAABHBtdDEAAAAGYW1vdW50CQAAAgAAAAECAAAAIkxlc3MgdGhhbiAxMCBDT0RFIGFtb3VudCBhdHRhY2hlZC4DCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABHBtdDIAAAAHYXNzZXRJZAkAAAIAAAABAgAAAD9JbmNvcnJlY3QgYXNzZXQgYXR0YWNoZWQgZm9yIFBheW1lbnRbMl0sIHBsZWFzZSBhdHRhY2ggVE4gb25seS4DCQAAZgAAAAIJAABrAAAAAwgFAAAABHBtdDEAAAAGYW1vdW50AAAAAAAAAAABAAAAAAAAAAAKCAUAAAAEcG10MgAAAAZhbW91bnQJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAP0luY29ycmVjdCBhbW91bnQgb2YgcGF5bWVudFsyXSBhdHRhY2hlZCwgcGxlYXNlIGF0dGFjaCBtaW5pbXVtIAkAAaQAAAABCQAAawAAAAMIBQAAAARwbXQxAAAABmFtb3VudAAAAAAAAAAAAQAAAAAAAAAACgIAAAAQLzEwMDAwMDAwMC4gW1ROXQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAIVXNlck5hbWUFAAAAFG5ld0RlcG9zaXRDT0RFQW1vdW50BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleUquxD0=", "height": 2215195, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ApQkRhczP6rodK6eWj2wS14bpUguDQCRhw1KyKsVGfWK Next: B1b1MzcPsWWyuiWaJ9YyEG1VpTbMvw5hDgKvEfQ2UUMh Diff:
OldNewDifferences
1919 let i = (f + d.amount)
2020 if ((d.assetId != a))
2121 then throw("Incorrect asset attached for in payment[1], please attach minimum 10 CODE Token.")
22- else if ((200000000 > d.amount))
22+ else if ((1000 > d.amount))
2323 then throw("Less than 10 CODE amount attached.")
2424 else if (isDefined(e.assetId))
2525 then throw("Incorrect asset attached for Payment[2], please attach TN only.")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 @Callable(b)
77 func Recharge (c) = {
88 let d = value(b.payments[0])
99 let e = value(b.payments[1])
1010 let f = {
1111 let g = getInteger(this, c)
1212 if ($isInstanceOf(g, "Int"))
1313 then {
1414 let h = g
1515 h
1616 }
1717 else 0
1818 }
1919 let i = (f + d.amount)
2020 if ((d.assetId != a))
2121 then throw("Incorrect asset attached for in payment[1], please attach minimum 10 CODE Token.")
22- else if ((200000000 > d.amount))
22+ else if ((1000 > d.amount))
2323 then throw("Less than 10 CODE amount attached.")
2424 else if (isDefined(e.assetId))
2525 then throw("Incorrect asset attached for Payment[2], please attach TN only.")
2626 else if ((fraction(d.amount, 1, 10) > e.amount))
2727 then throw((("Incorrect amount of payment[2] attached, please attach minimum " + toString(fraction(d.amount, 1, 10))) + "/100000000. [TN]"))
2828 else [IntegerEntry(c, i)]
2929 }
3030
3131
3232 @Verifier(j)
3333 func k () = sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey)
3434

github/deemru/w8io/169f3d6 
21.74 ms