tx · DHbN7tF2vMFyYtjCMTYufxtaU8zQc3PxmZ5zGcpUNRR3

3NBMNNBV1QFFXu6aabBgG4eCm9fBK5PVdUe:  -0.01400000 Waves

2021.04.14 13:08 [1481982] smart account 3NBMNNBV1QFFXu6aabBgG4eCm9fBK5PVdUe > SELF 0.00000000 Waves

{ "type": 13, "id": "DHbN7tF2vMFyYtjCMTYufxtaU8zQc3PxmZ5zGcpUNRR3", "fee": 1400000, "feeAssetId": null, "timestamp": 1618394948250, "version": 1, "sender": "3NBMNNBV1QFFXu6aabBgG4eCm9fBK5PVdUe", "senderPublicKey": "4RF2wUnbc397QmNhFdRQrWybJM96eQJD2b9o79y5oPHo", "proofs": [ "3ZPLyqp7RBtAzNDWqYosP8rVFkZ8ea1p21Whh2DFTQmfUy493MfKGz8cBwgn93nekQwaSY7258PnYXzCRHHQPZPo", "3DtNWoDLSqkScrBuTsfJq6WXP2AinLmWLLJ5vi9Jy7BxoeiyHF8P8Ey4J13zQKgREntgU8aNd3PWVhwwjcFoKXH1" ], "script": "base64:BAQAAAALZGlnaWxpcmFQYXkBAAAAID0HOFHYXYpCB2C8RjDY8m3ndBlb8WihoYLw1tvHVwgrBAAAAAdnYXRld2F5AQAAACA9BzhR2F2KQgdgvEYw2PJt53QZW/FooaGC8Nbbx1cIKwQAAAAMc3BvbnNvclRva2VuAQAAACBdMQvtJ8LandQsV/WP/p1LGsITDG9E0fNlo+TMuhD4PgQAAAAMcGF5bWVudFRva2VuAQAAACDVGtVycuVAveqx7rkVfKA7PZohin1VCKHosAamGXf54gQAAAANcmVjb3ZlcnlUb2tlbgEAAAAg1RrVcnLlQL3qse65FXygOz2aIYp9VQih6LAGphl3+eIEAAAACnByb3h5V2F2ZXMBAAAABBOr2TMEAAAACXJlY292ZXJ5MQEAAAAgPQc4UdhdikIHYLxGMNjybed0GVvxaKGhgvDW28dXCCsEAAAACXJlY292ZXJ5MgEAAAAgPQc4UdhdikIHYLxGMNjybed0GVvxaKGhgvDW28dXCCsEA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AAAAAMIBQAAAAF0AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABdAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAC2RpZ2lsaXJhUGF5AAAAAAAAAAABAAAAAAAAAAAAAwkAAAAAAAACCQAAZAAAAAIFAAAAAnMxBQAAAAJzMgAAAAAAAAAAAgYJAAACAAAAAQIAAAAXSW50ZWdyaXR5IENoZWNrIEZhaWxlZCEDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFkxlYXNlQ2FuY2VsVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAEExlYXNlVHJhbnNhY3Rpb24EAAAAAXgFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQEAAAAIcmVjb3ZlcnkAAAAANjiyjw==", "chainId": 84, "height": 1481982, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E7WJnPdi2jhGW7yuJf5soVsPUQuKKddN7aWoicpQK1G6 Next: 8KzqXvYzGSzSMAmjbDpND9KKp4uCsLN53vmyZGBkFbLP Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let digiliraPay = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4'
44 let gateway = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4'
55 let sponsorToken = base58'7GnHzTaDe3YbDiCD9rueHiSfPB7hdanPpN4Ab79fJGtD'
66 let paymentToken = base58'FLsa9hfu1jvXC6jhDP2x6DHHQHK2qiKPtS7D74ZFNsE1'
77 let recoveryToken = base58'FLsa9hfu1jvXC6jhDP2x6DHHQHK2qiKPtS7D74ZFNsE1'
88 let proxyWaves = base58'WAVES'
99 let recovery1 = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4'
1010 let recovery2 = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4'
1111 let recovery3 = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4'
1212 let banned = 403000
1313 let digiliraPayOnly = 99
1414 let transferBlock = 100
1515 let paymentBlock = 200
1616 let paymentFundBlock = 300
1717 let fundBlock = 400
1818 func recovery () = {
1919 let s1 = if (sigVerify(tx.bodyBytes, tx.proofs[0], recovery1))
2020 then 1
2121 else 0
2222 let s2 = if (sigVerify(tx.bodyBytes, tx.proofs[1], recovery2))
2323 then 1
2424 else 0
2525 let s3 = if (sigVerify(tx.bodyBytes, tx.proofs[2], recovery3))
2626 then 1
2727 else 0
2828 if ((((s1 + s2) + s3) >= 2))
2929 then true
3030 else throw("Unauthorized")
3131 }
3232
3333 func checkFee (w) = {
3434 let fee = w.fee
3535 let isFeePaymentToken = (w.feeAssetId == paymentToken)
3636 let isFeeSponsorToken = (w.feeAssetId == sponsorToken)
3737 let unScriptedFee = 5
3838 let scriptedFee = 9
3939 let isScripted = match assetInfo(valueOrElse(w.assetId, proxyWaves)) {
4040 case asset: Asset =>
4141 if (asset.scripted)
4242 then true
4343 else false
4444 case _ =>
4545 false
4646 }
4747 if (if (!(isFeePaymentToken))
4848 then !(isFeeSponsorToken)
4949 else false)
5050 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5151 else if (if (if (isScripted)
5252 then (fee == scriptedFee)
5353 else false)
5454 then true
5555 else if (!(isScripted))
5656 then (fee == unScriptedFee)
5757 else false)
5858 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5959 else throw((toString(fee) + " feeAmount is wrong"))
6060 }
6161
6262 func getStatus (key) = valueOrElse(getInteger(addressFromPublicKey(digiliraPay), toBase58String(key)), 0)
6363
6464 match tx {
6565 case w: TransferTransaction =>
6666 let myStatus = getStatus(w.sender.bytes)
6767 let recipientStatus = getStatus(addressFromRecipient(w.recipient).bytes)
6868 let assetStatus = getStatus(valueOrElse(w.assetId, proxyWaves))
6969 let digiliraRecipient = (recipientStatus > 0)
7070 let myStatusBanned = (myStatus == banned)
7171 let recipientStatusBanned = (recipientStatus == banned)
7272 let assetStatusBanned = (assetStatus == banned)
7373 let isFeeRecoveryToken = (w.feeAssetId == recoveryToken)
7474 let isRecipientGateway = (w.recipient == addressFromPublicKey(gateway))
7575 let isFeePaymentToken = (w.feeAssetId == paymentToken)
7676 let isFeeSponsorToken = (w.feeAssetId == sponsorToken)
7777 let isExclusiveToken = (digiliraPayOnly == valueOrElse(assetStatus, 0))
7878 let isDigiliraPayExclusive = (digiliraPayOnly > valueOrElse(assetStatus, 0))
7979 let permissionTransferToDP = if ((valueOrElse(assetStatus, banned) > valueOrElse(recipientStatus, 0)))
8080 then true
8181 else (valueOrElse(assetStatus, banned) > valueOrElse(myStatus, 0))
8282 let permissionPayment = if ((fundBlock > valueOrElse(assetStatus, 0)))
8383 then (valueOrElse(assetStatus, 0) >= paymentBlock)
8484 else false
8585 let permissionTransferNotDP = if ((transferBlock > valueOrElse(assetStatus, 0)))
8686 then true
8787 else (valueOrElse(assetStatus, 0) >= paymentFundBlock)
8888 let isRecovery = if (if (if (digiliraRecipient)
8989 then isFeeRecoveryToken
9090 else false)
9191 then isRecipientGateway
9292 else false)
9393 then myStatusBanned
9494 else false
9595 if (if (isRecovery)
9696 then recovery()
9797 else false)
9898 then true
9999 else if (digiliraRecipient)
100100 then {
101101 let prolog = "Transfer to DigiliraPay recipient: "
102102 if (myStatusBanned)
103103 then throw((prolog + "This account has been suspended."))
104104 else if (recipientStatusBanned)
105105 then throw((prolog + "Recipient's account has been suspended."))
106106 else if (assetStatusBanned)
107107 then throw((prolog + "Asset cannot be transfered."))
108108 else if (permissionTransferToDP)
109109 then throw((prolog + "Asset cannot be transfered. Recipient/Sender is not eligible."))
110110 else if (isDigiliraPayExclusive)
111111 then throw((prolog + "Non-Transferable Token."))
112112 else if (isRecipientGateway)
113113 then if (if (permissionPayment)
114114 then true
115115 else isExclusiveToken)
116116 then checkFee(w)
117117 else throw((prolog + "Asset cannot be used on payments."))
118118 else if (isFeePaymentToken)
119119 then throw((prolog + "Payment Token cannot be used."))
120120 else checkFee(w)
121121 }
122122 else {
123123 let prolog = "Transfer to not DigiliraPay recipient: "
124124 if (isFeePaymentToken)
125125 then throw((prolog + "Payment Token cannot be used."))
126126 else if (myStatusBanned)
127127 then throw((prolog + "This account has been suspended."))
128128 else if (permissionTransferNotDP)
129129 then throw((prolog + "This asset cannot be transfered."))
130130 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
131131 }
132132 case t: InvokeScriptTransaction|DataTransaction|SetScriptTransaction =>
133133 let s1 = if (sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey))
134134 then 1
135135 else 0
136136 let s2 = if (sigVerify(t.bodyBytes, t.proofs[1], digiliraPay))
137137 then 1
138138 else 0
139139 if (((s1 + s2) == 2))
140140 then true
141141 else throw("Integrity Check Failed!")
142142 case x: InvokeScriptTransaction|LeaseCancelTransaction|LeaseTransaction =>
143143 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
144144 case _ =>
145145 recovery()
146146 }

github/deemru/w8io/026f985 
31.88 ms