tx · 3PYtKbKhUc6XtgoLikudgmpMpzNzT9T6Z3VdHokCy53g
3Myz3YAQ8jDakkEPFHfWThsEPVJKdx4wPCk: -0.01400000 Waves
2020.07.29 05:40 [1108277] smart account 3Myz3YAQ8jDakkEPFHfWThsEPVJKdx4wPCk > SELF 0.00000000 Waves
{
"type": 13,
"id": "3PYtKbKhUc6XtgoLikudgmpMpzNzT9T6Z3VdHokCy53g",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1595990411064,
"version": 1,
"sender": "3Myz3YAQ8jDakkEPFHfWThsEPVJKdx4wPCk",
"senderPublicKey": "GbjUvBjt3YsDCrNQbGAxiic7UeGiYbZjwChMpmdrXSg9",
"proofs": [
"5XdNdL38xtwxsqUY24qJwLw5k2mayF1SvTRxNU7qEH4k7nW8W84a3E65s8SUYSFCmu4Zf4HLCijfe3kTuDpzLUdp"
],
"script": "base64:AwQAAAAMc2lnbmVyUHViS2V5AQAAACCnj+rYJeAj9j1gmW03C1SxjxMa0/bv1uDwBbMaziHGBwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAAAXQAAAAHYXNzZXRJZAkAAGYAAAACCQAAZQAAAAIJAQAAAAx3YXZlc0JhbGFuY2UAAAABBQAAAAR0aGlzCAUAAAABdAAAAAZhbW91bnQAAAAAAACYloAHBgkAAAIAAAABAgAAAC5XYXZlcyBkZSBtYW51dGVuw6fDo28gbsOjbyBwb2RlbSBzZXIgcmV0aXJhZG9zBpk0rZk=",
"chainId": 84,
"height": 1108277,
"spentComplexity": 0
}
View: original | compacted
Prev: CGA3ytQXucEytZNUttHr3Rk67GpPijT6BGPw84NuEB9s
Next: AN7N8ByGSJNbGPfmCFmd1jTFY4YyK3Z4a8yJf5r4gzJx
Diff:
Old | New | | Differences |
---|
3 | 3 | | let signerPubKey = base58'CH6NGp8BFPQ8gm6cPeVG9S3ZWp7m39eQnZU3eTdZgayU' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | | - | if (!(isDefined(t.assetId))) |
---|
7 | | - | then throw("token não autorizado") |
---|
8 | | - | else true |
---|
| 6 | + | if (if (!(isDefined(t.assetId))) |
---|
| 7 | + | then ((wavesBalance(this) - t.amount) > 10000000) |
---|
| 8 | + | else false) |
---|
| 9 | + | then true |
---|
| 10 | + | else throw("Waves de manutenção não podem ser retirados") |
---|
9 | 11 | | case _ => |
---|
10 | 12 | | true |
---|
11 | 13 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let signerPubKey = base58'CH6NGp8BFPQ8gm6cPeVG9S3ZWp7m39eQnZU3eTdZgayU' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | | - | if (!(isDefined(t.assetId))) |
---|
7 | | - | then throw("token não autorizado") |
---|
8 | | - | else true |
---|
| 6 | + | if (if (!(isDefined(t.assetId))) |
---|
| 7 | + | then ((wavesBalance(this) - t.amount) > 10000000) |
---|
| 8 | + | else false) |
---|
| 9 | + | then true |
---|
| 10 | + | else throw("Waves de manutenção não podem ser retirados") |
---|
9 | 11 | | case _ => |
---|
10 | 12 | | true |
---|
11 | 13 | | } |
---|