tx · HZkSsJbz9KTKhSng72iDMcpZRKZAbiKMv65Yu68Y3mWU

3MuKr2p5fJ6uUSgWg1NY3QVS7vXYuJgwDzP:  -0.01000000 Waves

2023.02.03 00:54 [2432554] smart account 3MuKr2p5fJ6uUSgWg1NY3QVS7vXYuJgwDzP > SELF 0.00000000 Waves

{ "type": 13, "id": "HZkSsJbz9KTKhSng72iDMcpZRKZAbiKMv65Yu68Y3mWU", "fee": 1000000, "feeAssetId": null, "timestamp": 1675374868739, "version": 2, "chainId": 84, "sender": "3MuKr2p5fJ6uUSgWg1NY3QVS7vXYuJgwDzP", "senderPublicKey": "7PbZ3pkb6NytYcEUdWrHcEkHGm9RW3TmLtDgYoycFC3", "proofs": [ "4oKpCgm3TsnXm7ihPVxfLNeogspGBTBVXZ5ECQX2dAhkJCKyHyZGN6VYpBCUGPw2dMMuTWMcr7mSRFsuMwb2z88w" ], "script": "base64:AwQAAAAPYXBwcm92ZWRBZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUo4lQ9+y8gk/TmX/9IVpDNJD1VPEBJd3CBAAAABFvbmVNb250aFRpbWVzdGFtcAkAAGQAAAACBQAAAAZoZWlnaHQJAABoAAAAAgAAAAAAAAAAAwAAAAAAAAAAPAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBAAAABN0cmFuc2ZlclRyYW5zYWN0aW9uBQAAAAJ0eAMDCQAAAAAAAAIIBQAAABN0cmFuc2ZlclRyYW5zYWN0aW9uAAAACXJlY2lwaWVudAUAAAAPYXBwcm92ZWRBZGRyZXNzCQAAZgAAAAIFAAAAEW9uZU1vbnRoVGltZXN0YW1wBQAAAAZoZWlnaHQHCQAAAgAAAAECAAAAK1RyYW5zZmVyIGlzIG5vdCBhbGxvd2VkIGZvciB0aGUgZmlyc3QgbW9udGgDCQEAAAACIT0AAAACCAUAAAATdHJhbnNmZXJUcmFuc2FjdGlvbgAAAAlyZWNpcGllbnQFAAAAD2FwcHJvdmVkQWRkcmVzcwkAAAIAAAABAgAAACxUcmFuc2ZlciBpcyBvbmx5IGFsbG93ZWQgdG8gYXBwcm92ZWQgYWRkcmVzcwYJAAACAAAAAQIAAAAmT25seSB0cmFuc2ZlciB0cmFuc2FjdGlvbnMgYXJlIGFsbG93ZWRx9APR", "height": 2432554, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let approvedAddress = Address(base58'3N4pnR6G64ASbwSRrpZKKdfUt5UvXryDN8y')
4+let oneMonthTimestamp = (height + (3 * 60))
5+match tx {
6+ case tx: TransferTransaction =>
7+ let transferTransaction = tx
8+ if (if ((transferTransaction.recipient == approvedAddress))
9+ then (oneMonthTimestamp > height)
10+ else false)
11+ then throw("Transfer is not allowed for the first month")
12+ else if ((transferTransaction.recipient != approvedAddress))
13+ then throw("Transfer is only allowed to approved address")
14+ else true
15+ case _ =>
16+ throw("Only transfer transactions are allowed")
17+}

github/deemru/w8io/169f3d6 
13.21 ms