tx · 3rwubdqL6j7gaQgkV1CDCT8bHBmJ9Nn6TE8uDk3Kdii5

3MpRDrT92zK6yWJh47UdA8mRDH7f2F3CSzH:  -0.01400000 Waves

2021.05.17 02:03 [1528871] smart account 3MpRDrT92zK6yWJh47UdA8mRDH7f2F3CSzH > SELF 0.00000000 Waves

{ "type": 13, "id": "3rwubdqL6j7gaQgkV1CDCT8bHBmJ9Nn6TE8uDk3Kdii5", "fee": 1400000, "feeAssetId": null, "timestamp": 1621206250033, "version": 2, "chainId": 84, "sender": "3MpRDrT92zK6yWJh47UdA8mRDH7f2F3CSzH", "senderPublicKey": "6it1s6XyHkFTbzgCJPXSeHjyLYixDHy6hJgzzfbntDGB", "proofs": [ "4uz6H6X1EP1AcQHnH9QwpRRb366dhNGBsL2HWW1EqLL4cURwS56kYyNzxAt7v56SdEZxnbPsnFQrcap62gNTvqzP" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAABAAAAAAGbWlkaUlkAQAAACAGLtZERQwp0mc9GkII6TL8MrO9FCVbUZ4Q1IdRUGKaigAAAAAEZGF0ZQgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAAAAAABmFtTWlkaQAAAAAAAAAAAAEAAAALaXNQYXltZW50T2sAAAABAAAAAWkDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAUUGF5bWVudCBub3QgYXR0YWNoZWQEAAAAAXAJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAEAAAAByRtYXRjaDAIBQAAAAFwAAAAB2Fzc2V0SWQJAABnAAAAAgAAABtI61fgAAgFAAAAAXAAAAAGYW1vdW50AAAAAQAAAAFpAQAAAAdidXltaWRpAAAAAQAAAAR3aGF0AwkBAAAAC2lzUGF5bWVudE9rAAAAAQUAAAABaQQAAAACcHAJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAEAAAABGFtbnQIBQAAAAJwcAAAAAZhbW91bnQEAAAACGVsQW1vdW50CQAAaAAAAAIJAABpAAAAAgUAAAAEYW1udAAAAAAAAAAnEAAAAAAAAAAXcAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAACGVsQW1vdW50BQAAAAZtaWRpSWQFAAAAA25pbAkAAAIAAAABAgAAAB1Xcm9uZyBwYXltZW50IGFtb3VudCBvciBhc3NldAAAAACzCEZc", "height": 1528871, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GgDHAPCZoXsvyNpmrh134vJ3UwJ3ZrAJnNdPwuT6o6pp Next: 7y8oygm4SyCDPPX3mt1SmbA2fMejRyx3cQE2dGr991tR Diff:
OldNewDifferences
2121 then {
2222 let i = e.payments[0]
2323 let j = i.amount
24- let k = ((j / 100000000) * 6000)
24+ let k = ((j / 10000) * 6000)
2525 [ScriptTransfer(e.caller, k, a)]
2626 }
2727 else throw("Wrong payment amount or asset")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'R8sQUmwwAENBL6B5ejGztDh3RzJ3MbKRqK7GtspFxKT'
55
66 let b = lastBlock.timestamp
77
88 let c = 0
99
1010 func d (e) = if ((size(e.payments) == 0))
1111 then throw("Payment not attached")
1212 else {
1313 let f = e.payments[0]
1414 let g = f.assetId
1515 (30000000000000 >= f.amount)
1616 }
1717
1818
1919 @Callable(e)
2020 func buymidi (h) = if (d(e))
2121 then {
2222 let i = e.payments[0]
2323 let j = i.amount
24- let k = ((j / 100000000) * 6000)
24+ let k = ((j / 10000) * 6000)
2525 [ScriptTransfer(e.caller, k, a)]
2626 }
2727 else throw("Wrong payment amount or asset")
2828
2929

github/deemru/w8io/169f3d6 
28.85 ms