tx · HWmuLL1RbgLqdWAMZhBdAFgw7gSc2ZJNUhbDfeC4AQnY

3N2hBea4tJ4vmGdTnr7iGEfeCwsDkLyCbWK:  -0.14000000 Waves

2019.01.10 20:25 [444139] smart account 3N2hBea4tJ4vmGdTnr7iGEfeCwsDkLyCbWK > SELF 0.00000000 Waves

{ "type": 13, "id": "HWmuLL1RbgLqdWAMZhBdAFgw7gSc2ZJNUhbDfeC4AQnY", "fee": 14000000, "feeAssetId": null, "timestamp": 1547141176163, "version": 1, "sender": "3N2hBea4tJ4vmGdTnr7iGEfeCwsDkLyCbWK", "senderPublicKey": "9vCFiiQT1mT2SMoSSoShakxyfJND9mzVDfjiaiVdh7y5", "proofs": [ "3khUsTf915XYW6drWqN9kFSyhkvYBxciXH44gTG4WmymwKnGLZbiEv1yGRxucv2QEUsWELdUG6Bj6UKM7z6gBLsn" ], "script": "base64:AQQAAAAEdGhpcwkBAAAAB2V4dHJhY3QAAAABCAUAAAACdHgAAAAGc2VuZGVyBAAAAAVhc3NldAEAAAAgtq+x+Lyp0OJdcspblOG40c0ZJIRwpLdaI6skeeO/GpMEAAAAAU4JAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAR0aGlzAgAAAAFOBAAAABBsYXN0VXBkYXRlSGVpZ2h0CQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAEdGhpcwIAAAAQbGFzdFVwZGF0ZUhlaWdodAQAAAARbGFzdFVwZGF0ZUJhbGFuY2UJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAR0aGlzAgAAABFsYXN0VXBkYXRlQmFsYW5jZQQAAAAOdmFsaWRpdHlQZXJpb2QAAAAAAAAAA+gEAAAADmN1cnJlbnRCYWxhbmNlCQAD6wAAAAIFAAAABHRoaXMFAAAABWFzc2V0BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAA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AAAAAgUAAAAEbmV3TgAAAAAAAAAAIAAAAAAAAAAAIAUAAAAEbmV3TgcJAAAAAAAAAgkBAAAAB2V4dHJhY3QAAAABCQAEEAAAAAIIBQAAAAJ0eAAAAARkYXRhAgAAABBsYXN0VXBkYXRlSGVpZ2h0BQAAAAZoZWlnaHQHCQAAAAAAAAIJAQAAAAdleHRyYWN0AAAAAQkABBAAAAACCAUAAAACdHgAAAAEZGF0YQIAAAARbGFzdFVwZGF0ZUJhbGFuY2UFAAAADmN1cnJlbnRCYWxhbmNlBwkAAAAAAAACCAUAAAACdHgAAAADZmVlAAAAAAAAB6EgBwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXm1Xl1f", "chainId": 84, "height": 444139, "spentComplexity": 0 } View: original | compacted Prev: H9eKnnZXbrgj5fVoq6Mb3Kwdzp1ZBeezT8b7SB71XFxX Next: none Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let this = extract(tx.sender)
4-let asset = base58'CtEHu47UnHDtvQhVZiNQNtj3qT3EX8nLXn8kpW5DeoMY'
4+let asset = base58'DJ8b2j2iRxuW8URdz3r87ww3TvCjksJe8AqaBp1uGjZL'
55 let N = extract(getInteger(this, "N"))
66 let lastUpdateHeight = extract(getInteger(this, "lastUpdateHeight"))
77 let lastUpdateBalance = extract(getInteger(this, "lastUpdateBalance"))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let this = extract(tx.sender)
4-let asset = base58'CtEHu47UnHDtvQhVZiNQNtj3qT3EX8nLXn8kpW5DeoMY'
4+let asset = base58'DJ8b2j2iRxuW8URdz3r87ww3TvCjksJe8AqaBp1uGjZL'
55 let N = extract(getInteger(this, "N"))
66 let lastUpdateHeight = extract(getInteger(this, "lastUpdateHeight"))
77 let lastUpdateBalance = extract(getInteger(this, "lastUpdateBalance"))
88 let validityPeriod = 1000
99 let currentBalance = assetBalance(this, asset)
1010 match tx {
1111 case tx: TransferTransaction =>
1212 let firstBytes = toBase58String(take(tx.id, N))
1313 let transferAmount = ((currentBalance / 100) + 1)
1414 if (if (if (if (if ((validityPeriod > (height - lastUpdateHeight)))
1515 then isDefined(getBoolean(this, firstBytes))
1616 else false)
1717 then (tx.amount == transferAmount)
1818 else false)
1919 then (tx.assetId == asset)
2020 else false)
2121 then (tx.fee == 500000)
2222 else false)
2323 then !(isDefined(tx.feeAssetId))
2424 else false
2525 case tx: DataTransaction =>
2626 let newN = ((N + ((lastUpdateBalance - currentBalance) / 100)) - 1)
2727 if (if (if (if (if (((height - lastUpdateHeight) >= validityPeriod))
2828 then (size(tx.data) == 3)
2929 else false)
3030 then (extract(getInteger(tx.data, "N")) == (if ((1 > newN))
3131 then 1
3232 else if ((newN > 32))
3333 then 32
3434 else newN))
3535 else false)
3636 then (extract(getInteger(tx.data, "lastUpdateHeight")) == height)
3737 else false)
3838 then (extract(getInteger(tx.data, "lastUpdateBalance")) == currentBalance)
3939 else false)
4040 then (tx.fee == 500000)
4141 else false
4242 case _ =>
4343 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
4444 }

github/deemru/w8io/026f985 
21.90 ms