tx · 9eSRfHzBtBuGGXvSnmYe2F1QsAtk8wBeQQ4WFJaASWeU
3Mr1hN3jLU3Sj8hEmdZNDsxLBaTNva2o239: -0.01400000 Waves
2022.03.01 00:25 [1943997] smart account 3Mr1hN3jLU3Sj8hEmdZNDsxLBaTNva2o239 > SELF 0.00000000 Waves
{
"type": 13,
"id": "9eSRfHzBtBuGGXvSnmYe2F1QsAtk8wBeQQ4WFJaASWeU",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1646083521619,
"version": 1,
"sender": "3Mr1hN3jLU3Sj8hEmdZNDsxLBaTNva2o239",
"senderPublicKey": "AjFHZWozndQRRhGspBwKZ9ztKm6BWJqPpw1caZzsAk8B",
"proofs": [
"5Z5YcHfB8MfCGeo9BMr8ao2ZarT5PZjopENd256fXq3vzg9FpxLEszL28pZn5fxw1SgWzGZAVJvfTaDrbpvjHKGK",
"XwxgEeymSHaUpPoeKteGfgg4DD9AvV4kYyCtacHS69m9vM38NuxM9g38ScdMrY693nwv4oHQxRQvbQTPeU9bx2b"
],
"script": "base64:BQQAAAALRGVzdGluYXRpb24JAARMAAAAAgkABCYAAAABAgAAACMzTXBzemhOc2R4NGVFenNKclRBZW9XTkFGTTFEa3lkUHY0bQUAAAADbmlsBAAAAAlDdW1sZUFsZW0JAARMAAAAAgkABCYAAAABAgAAACMzTXdBQXpEalB6ZHFROGtYZkc4aDJ4Zzh0SDFxS0syeE1yMQkABEwAAAACCQAEJgAAAAECAAAAIzNNeWdYMU1TTTl6d0J4ZHZvY3NncDlDOW5UaWNrQVo1MkFUBQAAAANuaWwEAAAABE5vZGUJAARMAAAAAgkABCYAAAABAgAAACMzTkIxWXo3ZkgxYkoyZ1ZEanlKbnV5S05UZE1GQVJrS0VwVgUAAAADbmlsBAAAAApQZXJtaXNzaW9uAQAAACApFM0SnhL8DQKdSV/ixvDIZ0n+fujOTbNfwd+MeH9wDgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAQAAAA9jb250YWluc0VsZW1lbnQAAAACBQAAAAtEZXN0aW5hdGlvbggFAAAAAXQAAAAJcmVjaXBpZW50AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABbQUAAAAHJG1hdGNoMAMJAQAAAA9jb250YWluc0VsZW1lbnQAAAACBQAAAAlDdW1sZUFsZW0ICQABkQAAAAIIBQAAAAFtAAAACXRyYW5zZmVycwAAAAAAAAAAAAAAAAlyZWNpcGllbnQGBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQTGVhc2VUcmFuc2FjdGlvbgQAAAABbAUAAAAHJG1hdGNoMAkBAAAAD2NvbnRhaW5zRWxlbWVudAAAAAIFAAAABE5vZGUIBQAAAAFsAAAACXJlY2lwaWVudAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAWTGVhc2VDYW5jZWxUcmFuc2FjdGlvbgQAAAACbGMFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAClBlcm1pc3Npb24H9dTuOA==",
"chainId": 84,
"height": 1943997,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Drfxi9CTmPJviXDaDBFvK2LM4wz3uJ3LUEJ1BAg3wgNw
Next: Af3suDRBuM7HvqdpxjL3gcxE6FirF3Gh1q5RJqopj2XB
Diff:
Old | New | | Differences |
---|
8 | 8 | | case t: TransferTransaction => |
---|
9 | 9 | | containsElement(Destination, t.recipient) |
---|
10 | 10 | | case m: MassTransferTransaction => |
---|
11 | | - | containsElement(CumleAlem, m.transfers[1].recipient) |
---|
| 11 | + | if (containsElement(CumleAlem, m.transfers[0].recipient)) |
---|
| 12 | + | then true |
---|
| 13 | + | else false |
---|
12 | 14 | | case l: LeaseTransaction => |
---|
13 | 15 | | containsElement(Node, l.recipient) |
---|
14 | 16 | | case lc: LeaseCancelTransaction => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let Destination = [addressFromString("3MpszhNsdx4eEzsJrTAeoWNAFM1DkydPv4m")] |
---|
4 | 4 | | let CumleAlem = [addressFromString("3MwAAzDjPzdqQ8kXfG8h2xg8tH1qKK2xMr1"), addressFromString("3MygX1MSM9zwBxdvocsgp9C9nTickAZ52AT")] |
---|
5 | 5 | | let Node = [addressFromString("3NB1Yz7fH1bJ2gVDjyJnuyKNTdMFARkKEpV")] |
---|
6 | 6 | | let Permission = base58'3mN7WMrRG9X7Za32DrdEHqt3oEQ1YdJEHagR6XKpVpys' |
---|
7 | 7 | | match tx { |
---|
8 | 8 | | case t: TransferTransaction => |
---|
9 | 9 | | containsElement(Destination, t.recipient) |
---|
10 | 10 | | case m: MassTransferTransaction => |
---|
11 | | - | containsElement(CumleAlem, m.transfers[1].recipient) |
---|
| 11 | + | if (containsElement(CumleAlem, m.transfers[0].recipient)) |
---|
| 12 | + | then true |
---|
| 13 | + | else false |
---|
12 | 14 | | case l: LeaseTransaction => |
---|
13 | 15 | | containsElement(Node, l.recipient) |
---|
14 | 16 | | case lc: LeaseCancelTransaction => |
---|
15 | 17 | | true |
---|
16 | 18 | | case s: SetScriptTransaction => |
---|
17 | 19 | | sigVerify(tx.bodyBytes, tx.proofs[1], Permission) |
---|
18 | 20 | | case _ => |
---|
19 | 21 | | false |
---|
20 | 22 | | } |
---|