tx · CGA3ytQXucEytZNUttHr3Rk67GpPijT6BGPw84NuEB9s
3Myz3YAQ8jDakkEPFHfWThsEPVJKdx4wPCk: -0.01400000 Waves
2020.07.29 05:11 [1108247] smart account 3Myz3YAQ8jDakkEPFHfWThsEPVJKdx4wPCk > SELF 0.00000000 Waves
{
"type": 13,
"id": "CGA3ytQXucEytZNUttHr3Rk67GpPijT6BGPw84NuEB9s",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1595988709028,
"version": 1,
"sender": "3Myz3YAQ8jDakkEPFHfWThsEPVJKdx4wPCk",
"senderPublicKey": "GbjUvBjt3YsDCrNQbGAxiic7UeGiYbZjwChMpmdrXSg9",
"proofs": [
"3Ne3vipJPtDX4M64Dh4hmGX7v6j6ipgE3FSeKJW5qCi5Yu7gT3xjAG4eUwaeQreAd3DvQw8NLPkUNAFhUxpAGapu"
],
"script": "base64:AwQAAAAMc2lnbmVyUHViS2V5AQAAACCnj+rYJeAj9j1gmW03C1SxjxMa0/bv1uDwBbMaziHGBwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAABdAAAAAdhc3NldElkCQAAAgAAAAECAAAAFXRva2VuIG7Do28gYXV0b3JpemFkbwYGf/aKXg==",
"chainId": 84,
"height": 1108247,
"spentComplexity": 0
}
View: original | compacted
Prev: BUQPY2v9Y1oRhoECA1aGr4cz6mAcFtJqe4qgAoMrHoCt
Next: 3PYtKbKhUc6XtgoLikudgmpMpzNzT9T6Z3VdHokCy53g
Diff:
Old | New | | Differences |
---|
3 | 3 | | let signerPubKey = base58'CH6NGp8BFPQ8gm6cPeVG9S3ZWp7m39eQnZU3eTdZgayU' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | | - | if ((t.assetId == base58'')) |
---|
7 | | - | then false |
---|
| 6 | + | if (!(isDefined(t.assetId))) |
---|
| 7 | + | then throw("token não autorizado") |
---|
8 | 8 | | else true |
---|
9 | 9 | | case _ => |
---|
10 | 10 | | true |
---|
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 ((t.assetId == base58'')) |
---|
7 | | - | then false |
---|
| 6 | + | if (!(isDefined(t.assetId))) |
---|
| 7 | + | then throw("token não autorizado") |
---|
8 | 8 | | else true |
---|
9 | 9 | | case _ => |
---|
10 | 10 | | true |
---|
11 | 11 | | } |
---|