tx · 6ekYVVvWeTh4AM31wBEuaVXjciLKBeC3pC11DVos7GLF
3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS: -0.01000000 Waves
2022.02.07 13:21 [1913078] smart account 3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS > SELF 0.00000000 Waves
{
"type": 13,
"id": "6ekYVVvWeTh4AM31wBEuaVXjciLKBeC3pC11DVos7GLF",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1644229306155,
"version": 2,
"chainId": 84,
"sender": "3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS",
"senderPublicKey": "ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC",
"proofs": [
"4FnWvuKEiVKgoptxH7wWDyKQX2Zu7zVeH9NE9zzUJR1eW8LdmM5tueqEP3mursyRxiEkeUEwptB3KAmSVDkUpvWT"
],
"script": "base64:BQQAAAALZEFwcEFkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSwehBabUKjkzBoAZLtSASWEcAT604G0noEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQAAAADaW52BQAAAAckbWF0Y2gwBAAAAAFhAwkAAAAAAAACCAUAAAADaW52AAAABGRBcHAFAAAAC2RBcHBBZGRyZXNzCQAAAAAAAAIIBQAAAANpbnYAAAAIZnVuY3Rpb24CAAAABHRlc3QHBQAAAAFhCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleSDy9nQ=",
"height": 1913078,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6wh6cc9o5oLPGnod6J9XgmMZt4EoEx8eX6c5P2CUkXBz
Next: 6ny2tSsLfv1GkjgdUhcEqdrQ4fwJ9gjusB1cEFS7f4RP
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let dAppAddress = Address(base58'3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph') |
---|
| 4 | + | match tx { |
---|
| 5 | + | case inv: InvokeScriptTransaction => |
---|
| 6 | + | let a = if ((inv.dApp == dAppAddress)) |
---|
| 7 | + | then (inv.function == "test") |
---|
| 8 | + | else false |
---|
| 9 | + | a |
---|
| 10 | + | case _ => |
---|
| 11 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 12 | + | } |
---|