tx · F8L8TtQ2oXbTetNwQUKxVzTj5YUZxEjrd22cdjCMT93a

3N8cRYJhpn8GYz6jhcXYWdXSi87jkCTtEnT:  -0.01400000 Waves

2021.05.13 14:14 [1523819] smart account 3N8cRYJhpn8GYz6jhcXYWdXSi87jkCTtEnT > SELF 0.00000000 Waves

{ "type": 13, "id": "F8L8TtQ2oXbTetNwQUKxVzTj5YUZxEjrd22cdjCMT93a", "fee": 1400000, "feeAssetId": null, "timestamp": 1620904580000, "version": 1, "sender": "3N8cRYJhpn8GYz6jhcXYWdXSi87jkCTtEnT", "senderPublicKey": "CcLoa3or12wZhAh7RFD4eTwaRsytR984taxi3UK1rFWY", "proofs": [ "347MXz68KMqwdKEepseVNRYDSxhB62aiMbVgH4cZUWyonPDzzCqAxjT6n2cmC6ZpBQF2pAj8d3ZRPveQgTZsydEk" ], "script": "base64:BAQAAAALZGlnaWxpcmFQYXkBAAAAID0HOFHYXYpCB2C8RjDY8m3ndBlb8WihoYLw1tvHVwgrBAAAAAdnYXRld2F5AQAAACA9BzhR2F2KQgdgvEYw2PJt53QZW/FooaGC8Nbbx1cIKwQAAAAMc3BvbnNvclRva2VuAQAAACBdMQvtJ8LandQsV/WP/p1LGsITDG9E0fNlo+TMuhD4PgQAAAAMcGF5bWVudFRva2VuAQAAACDVGtVycuVAveqx7rkVfKA7PZohin1VCKHosAamGXf54gQAAAANcmVjb3ZlcnlUb2tlbgEAAAAg1RrVcnLlQL3qse65FXygOz2aIYp9VQih6LAGphl3+eIEAAAACnByb3h5V2F2ZXMBAAAABBOr2TMEAAAACXJlY292ZXJ5MQEAAAAgPQc4UdhdikIHYLxGMNjybed0GVvxaKGhgvDW28dXCCsEAAAACXJlY292ZXJ5MgEAAAAgPQc4UdhdikIHYLxGMNjybed0GVvxaKGhgvDW28dXCCsEAAAACXJlY292ZXJ5MwEAAAAgPQc4UdhdikIHYLxGMNjybed0GVvxaKGhgvDW28dXCCsEAAAABmJhbm5lZAAAAAAAAAYmOAQAAAAPZ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GF5AAAAAAAAAAABAAAAAAAAAAAAAwkAAAAAAAACCQAAZAAAAAIFAAAAAnMxBQAAAAJzMgAAAAAAAAAAAgYJAAACAAAAAQIAAAAXSW50ZWdyaXR5IENoZWNrIEZhaWxlZCEDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFkxlYXNlQ2FuY2VsVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAEExlYXNlVHJhbnNhY3Rpb24EAAAAAXgFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQEAAAAIcmVjb3ZlcnkAAAAANjiyjw==", "chainId": 84, "height": 1523819, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 4 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let digiliraPay = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4'
4+let gateway = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4'
5+let sponsorToken = base58'7GnHzTaDe3YbDiCD9rueHiSfPB7hdanPpN4Ab79fJGtD'
6+let paymentToken = base58'FLsa9hfu1jvXC6jhDP2x6DHHQHK2qiKPtS7D74ZFNsE1'
7+let recoveryToken = base58'FLsa9hfu1jvXC6jhDP2x6DHHQHK2qiKPtS7D74ZFNsE1'
8+let proxyWaves = base58'WAVES'
9+let recovery1 = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4'
10+let recovery2 = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4'
11+let recovery3 = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4'
12+let banned = 403000
13+let digiliraPayOnly = 99
14+let transferBlock = 100
15+let paymentBlock = 200
16+let paymentFundBlock = 300
17+let fundBlock = 400
18+func recovery () = {
19+ let s1 = if (sigVerify(tx.bodyBytes, tx.proofs[0], recovery1))
20+ then 1
21+ else 0
22+ let s2 = if (sigVerify(tx.bodyBytes, tx.proofs[1], recovery2))
23+ then 1
24+ else 0
25+ let s3 = if (sigVerify(tx.bodyBytes, tx.proofs[2], recovery3))
26+ then 1
27+ else 0
28+ if ((((s1 + s2) + s3) >= 2))
29+ then true
30+ else throw("Unauthorized")
31+ }
32+
33+func checkFee (w) = {
34+ let fee = w.fee
35+ let isFeePaymentToken = (w.feeAssetId == paymentToken)
36+ let isFeeSponsorToken = (w.feeAssetId == sponsorToken)
37+ let unScriptedFee = 5
38+ let scriptedFee = 9
39+ let isScripted = match assetInfo(valueOrElse(w.assetId, proxyWaves)) {
40+ case asset: Asset =>
41+ if (asset.scripted)
42+ then true
43+ else false
44+ case _ =>
45+ false
46+ }
47+ if (if (!(isFeePaymentToken))
48+ then !(isFeeSponsorToken)
49+ else false)
50+ then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
51+ else if (if (if (isScripted)
52+ then (fee == scriptedFee)
53+ else false)
54+ then true
55+ else if (!(isScripted))
56+ then (fee == unScriptedFee)
57+ else false)
58+ then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
59+ else throw((toString(fee) + " feeAmount is wrong"))
60+ }
61+
62+func getStatus (key) = valueOrElse(getInteger(addressFromPublicKey(digiliraPay), toBase58String(key)), 0)
63+
64+match tx {
65+ case w: TransferTransaction =>
66+ let myStatus = getStatus(w.sender.bytes)
67+ let recipientStatus = getStatus(addressFromRecipient(w.recipient).bytes)
68+ let assetStatus = getStatus(valueOrElse(w.assetId, proxyWaves))
69+ let digiliraRecipient = (recipientStatus > 0)
70+ let myStatusBanned = (myStatus == banned)
71+ let recipientStatusBanned = (recipientStatus == banned)
72+ let assetStatusBanned = (assetStatus == banned)
73+ let isFeeRecoveryToken = (w.feeAssetId == recoveryToken)
74+ let isRecipientGateway = (w.recipient == addressFromPublicKey(gateway))
75+ let isFeePaymentToken = (w.feeAssetId == paymentToken)
76+ let isFeeSponsorToken = (w.feeAssetId == sponsorToken)
77+ let isExclusiveToken = (digiliraPayOnly == valueOrElse(assetStatus, 0))
78+ let isDigiliraPayExclusive = (digiliraPayOnly > valueOrElse(assetStatus, 0))
79+ let permissionTransferToDP = if ((valueOrElse(assetStatus, banned) > valueOrElse(recipientStatus, 0)))
80+ then true
81+ else (valueOrElse(assetStatus, banned) > valueOrElse(myStatus, 0))
82+ let permissionPayment = if ((fundBlock > valueOrElse(assetStatus, 0)))
83+ then (valueOrElse(assetStatus, 0) >= paymentBlock)
84+ else false
85+ let permissionTransferNotDP = if ((transferBlock > valueOrElse(assetStatus, 0)))
86+ then true
87+ else (valueOrElse(assetStatus, 0) >= paymentFundBlock)
88+ let isRecovery = if (if (if (digiliraRecipient)
89+ then isFeeRecoveryToken
90+ else false)
91+ then isRecipientGateway
92+ else false)
93+ then myStatusBanned
94+ else false
95+ if (if (isRecovery)
96+ then recovery()
97+ else false)
98+ then true
99+ else if (digiliraRecipient)
100+ then {
101+ let prolog = "Transfer to DigiliraPay recipient: "
102+ if (myStatusBanned)
103+ then throw((prolog + "This account has been suspended."))
104+ else if (recipientStatusBanned)
105+ then throw((prolog + "Recipient's account has been suspended."))
106+ else if (assetStatusBanned)
107+ then throw((prolog + "Asset cannot be transfered."))
108+ else if (permissionTransferToDP)
109+ then throw((prolog + "Asset cannot be transfered. Recipient/Sender is not eligible."))
110+ else if (isDigiliraPayExclusive)
111+ then throw((prolog + "Non-Transferable Token."))
112+ else if (isRecipientGateway)
113+ then if (if (permissionPayment)
114+ then true
115+ else isExclusiveToken)
116+ then checkFee(w)
117+ else throw((prolog + "Asset cannot be used on payments."))
118+ else if (isFeePaymentToken)
119+ then throw((prolog + "Payment Token cannot be used."))
120+ else checkFee(w)
121+ }
122+ else {
123+ let prolog = "Transfer to not DigiliraPay recipient: "
124+ if (isFeePaymentToken)
125+ then throw((prolog + "Payment Token cannot be used."))
126+ else if (myStatusBanned)
127+ then throw((prolog + "This account has been suspended."))
128+ else if (permissionTransferNotDP)
129+ then throw((prolog + "This asset cannot be transfered."))
130+ else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
131+ }
132+ case t: InvokeScriptTransaction|DataTransaction|SetScriptTransaction =>
133+ let s1 = if (sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey))
134+ then 1
135+ else 0
136+ let s2 = if (sigVerify(t.bodyBytes, t.proofs[1], digiliraPay))
137+ then 1
138+ else 0
139+ if (((s1 + s2) == 2))
140+ then true
141+ else throw("Integrity Check Failed!")
142+ case x: InvokeScriptTransaction|LeaseCancelTransaction|LeaseTransaction =>
143+ sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
144+ case _ =>
145+ recovery()
146+}

github/deemru/w8io/169f3d6 
23.18 ms