tx · CEqU3DyWQKgcnKDSjTxbq1ZrY49oZfdeQNhULVYVamUv

3NCv9hyL5NUbMMkTXYnN9hL9AMQd6f2eVww:  -0.01400000 Waves

2020.10.06 15:49 [1208724] smart account 3NCv9hyL5NUbMMkTXYnN9hL9AMQd6f2eVww > SELF 0.00000000 Waves

{ "type": 13, "id": "CEqU3DyWQKgcnKDSjTxbq1ZrY49oZfdeQNhULVYVamUv", "fee": 1400000, "feeAssetId": null, "timestamp": 1601988571559, "version": 2, "chainId": 84, "sender": "3NCv9hyL5NUbMMkTXYnN9hL9AMQd6f2eVww", "senderPublicKey": "CNQtsB6HAGUVvb5L3NshmGW2pD94ysV6dzV6Zcf6BFCq", "proofs": [ "3HiXyZFE4mFjdvhmGLPE2gQRMPvgJo4Z8Q3mmskaAL35snqRCfXHhaz7rcUq9eVPaTJvimraz5eFtbDWHjjoFM2h" ], "script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAAAAAAEAAAABaQEAAAAHZGVwb3NpdAAAAAAEAAAAA3BtdAkBAAAAB2V4dHJhY3QAAAABCAUAAAABaQAAAAdwYXltZW50BAAAAANsYmgIBQAAAAlsYXN0QmxvY2sAAAAGaGVpZ2h0AwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAANwbXQAAAAHYXNzZXRJZAkAAAIAAAABAgAAACFjYW4gaG9kbCB3YXZlcyBvbmx5IGF0IHRoZSBtb21lbnQEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEJAAQdAAAAAgUAAAAEdGhpcwUAAAAKY3VycmVudEtleQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAKY3VycmVudEtleQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAABG5ld18JAAGkAAAAAQgFAAAAA3BtdAAAAAZhbW91bnQCAAAAAV8JAAGkAAAAAQkAAGgAAAACCQAAaQAAAAIIBQAAAANwbXQAAAAGYW1vdW50AAAAAAAAAABkAAAAAAAAAAB4AgAAAAFfCQABpAAAAAEJAABpAAAAAgkAAGgAAAACCQAAaQAAAAIIBQAAAANwbXQAAAAGYW1vdW50AAAAAAAAAABkAAAAAAAAAAB4AAAAAAAAAAASAgAAAANfMF8JAAGkAAAAAQUAAAADbGJoAgAAAANfMTAFAAAAA25pbAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAKY3VycmVudEtleQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAABG9sZF8JAAGkAAAAAQgFAAAAA3BtdAAAAAZhbW91bnQCAAAAAV8JAAGkAAAAAQkAAGgAAAACCQAAaQAAAAIIBQAAAANwbXQAAAAGYW1vdW50AAAAAAAAAABkAAAAAAAAAAB4AgAAAAFfCQABpAAAAAEJAABpAAAAAgkAAGgAAAACCQAAaQAAAAIIBQAAAANwbXQAAAAGYW1vdW50AAAAAAAAAABkAAAAAAAAAAB4AAAAAAAAAAASAgAAAANfMF8JAAGkAAAAAQUAAAADbGJoAgAAAANfMTAFAAAAA25pbAAAAADYDvYs", "height": 1208724, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AtFHYfBKVmSmwYDuSsw43oseM6tZ3nK1YxZGV4XyMnVU Next: He1ZULkxXitzLNcGVSLhTpTFJmRb7QuJgUuEzD8rHQBN Diff:
OldNewDifferences
1212 else {
1313 let currentKey = toBase58String(i.caller.bytes)
1414 if (!(isDefined(getString(this, currentKey))))
15- then WriteSet([DataEntry(currentKey, (((((((("222_" + toString(pmt.amount)) + "_") + toString(((pmt.amount / 100) * 120))) + "_") + toString((((pmt.amount / 100) * 120) / 18))) + "_0_") + toString(lbh)) + "_10"))])
16- else WriteSet([DataEntry(currentKey, (((((((("333_" + toString(pmt.amount)) + "_") + toString(((pmt.amount / 100) * 120))) + "_") + toString((((pmt.amount / 100) * 120) / 18))) + "_0_") + toString(lbh)) + "_10"))])
15+ then WriteSet([DataEntry(currentKey, (((((((("new_" + toString(pmt.amount)) + "_") + toString(((pmt.amount / 100) * 120))) + "_") + toString((((pmt.amount / 100) * 120) / 18))) + "_0_") + toString(lbh)) + "_10"))])
16+ else WriteSet([DataEntry(currentKey, (((((((("old_" + toString(pmt.amount)) + "_") + toString(((pmt.amount / 100) * 120))) + "_") + toString((((pmt.amount / 100) * 120) / 18))) + "_0_") + toString(lbh)) + "_10"))])
1717 }
1818 }
1919
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func deposit () = {
88 let pmt = extract(i.payment)
99 let lbh = lastBlock.height
1010 if (isDefined(pmt.assetId))
1111 then throw("can hodl waves only at the moment")
1212 else {
1313 let currentKey = toBase58String(i.caller.bytes)
1414 if (!(isDefined(getString(this, currentKey))))
15- then WriteSet([DataEntry(currentKey, (((((((("222_" + toString(pmt.amount)) + "_") + toString(((pmt.amount / 100) * 120))) + "_") + toString((((pmt.amount / 100) * 120) / 18))) + "_0_") + toString(lbh)) + "_10"))])
16- else WriteSet([DataEntry(currentKey, (((((((("333_" + toString(pmt.amount)) + "_") + toString(((pmt.amount / 100) * 120))) + "_") + toString((((pmt.amount / 100) * 120) / 18))) + "_0_") + toString(lbh)) + "_10"))])
15+ then WriteSet([DataEntry(currentKey, (((((((("new_" + toString(pmt.amount)) + "_") + toString(((pmt.amount / 100) * 120))) + "_") + toString((((pmt.amount / 100) * 120) / 18))) + "_0_") + toString(lbh)) + "_10"))])
16+ else WriteSet([DataEntry(currentKey, (((((((("old_" + toString(pmt.amount)) + "_") + toString(((pmt.amount / 100) * 120))) + "_") + toString((((pmt.amount / 100) * 120) / 18))) + "_0_") + toString(lbh)) + "_10"))])
1717 }
1818 }
1919
2020

github/deemru/w8io/3ef1775 
35.03 ms