tx · GQRapYFpqLv2STesp1fKMp2Gf8c7BFEVyXPfgeNQq1Rb
3NCSGE2TxTB6Cn6DTKC42n6M8haQfiHouwE: -0.01000000 Waves
2019.08.17 12:04 [634892] smart account 3NCSGE2TxTB6Cn6DTKC42n6M8haQfiHouwE > SELF 0.00000000 Waves
{
"type": 13,
"id": "GQRapYFpqLv2STesp1fKMp2Gf8c7BFEVyXPfgeNQq1Rb",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1566032627821,
"version": 1,
"sender": "3NCSGE2TxTB6Cn6DTKC42n6M8haQfiHouwE",
"senderPublicKey": "EvPUjsxyruVgEpKaEdR1n38CvAf2i4eLBX36CKYEJf6b",
"proofs": [
"5CrpgYe3gyqVe9vk4oZgf3ziRrTwz9coKdK3GnXVP57kT4d2tRQsj2yyqTmq1j86SSfr1atxB3L3RQ1DuZdHJfRH"
],
"script": "base64:AwQAAAAKZHVuZ1B1YmtleQEAAAAgA5DqgE5iCa7fxY/bqg3FahWIWCDrSJ5DX0YX65aGLX0EAAAAC3ZlbnVzUHVia2V5AQAAACC+b0eR6lhR92oUC4dBzjVqFztL4CzTQc1phmciKRuVJgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAB9AAAAAMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAACWJvZHlCeXRlcwUAAAAKZHVuZ1B1YmtleQkAAGYAAAACAAAAAAAAAABkCAUAAAABdAAAAAZhbW91bnQHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABBJc3N1ZVRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAACWJvZHlCeXRlcwUAAAAKZHVuZ1B1YmtleQfQF1lz",
"chainId": 84,
"height": 634892,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let dungPubkey = base58'EvPUjsxyruVgEpKaEdR1n38CvAf2i4eLBX36CKYEJf6' |
---|
| 4 | + | let venusPubkey = base58'DpNsyFcCArJWbf4FFh5V5kMABDbTLfzoZhZWbdorFqnu' |
---|
| 5 | + | match tx { |
---|
| 6 | + | case t: TransferTransaction => |
---|
| 7 | + | if (sigVerify(tx.proofs[0], tx.bodyBytes, dungPubkey)) |
---|
| 8 | + | then (100 > t.amount) |
---|
| 9 | + | else false |
---|
| 10 | + | case t: IssueTransaction => |
---|
| 11 | + | sigVerify(tx.proofs[0], tx.bodyBytes, dungPubkey) |
---|
| 12 | + | case _ => |
---|
| 13 | + | false |
---|
| 14 | + | } |
---|