tx · 5JkDtHWX1UCfnYwXC1YvMtHqGfJKV47YwWFXrs5y1o4n

3MvS1bspvRxaPr7anzER3guutNxRerNq2at:  -0.01400000 Waves

2021.02.05 10:43 [1384590] smart account 3MvS1bspvRxaPr7anzER3guutNxRerNq2at > SELF 0.00000000 Waves

{ "type": 13, "id": "5JkDtHWX1UCfnYwXC1YvMtHqGfJKV47YwWFXrs5y1o4n", "fee": 1400000, "feeAssetId": null, "timestamp": 1612511033000, "version": 1, "sender": "3MvS1bspvRxaPr7anzER3guutNxRerNq2at", "senderPublicKey": "3ikefM2geT4WiXs66kSYd1Gsw3dQropRxTS3XiLBatZ4", "proofs": [ "SCgkoorWFZDio6aFLtRMdQ7eGXnuw3gkkhTVbFSz1gAgy5CAvVa1TmrL4NczuqAokT6rZnuCsCXvJR8sbxzV6v5", "3yFBZikKm448fGJR83e2zuv8dm2dpErp4eWwAVLr4gW5n6zS79zvKX25QLePbGSSjUo6df91XuCgnexFT9XsVcSm" ], "script": "base64:BAQAAAALZGlnaWxpcmFQYXkBAAAAID0HOFHYXYpCB2C8RjDY8m3ndBlb8WihoYLw1tvHVwgrBAAAAAdnYXRld2F5AQAAACA9BzhR2F2KQgdgvEYw2PJt53QZW/FooaGC8Nbbx1cIKwQAAAAMc3BvbnNvclRva2VuAQAAACBdMQvtJ8LandQsV/WP/p1LGsITDG9E0fNlo+TMuhD4PgQAAAAMcGF5bWVudFRva2VuAQAAACDVGtVycuVAveqx7rkVfKA7PZohin1VCKHosAamGXf54gQAAAANcmVjb3ZlcnlUb2tlbgEAAAAg1RrVcnLlQL3qse65FXygOz2aIYp9VQih6LAGphl3+eIEAAAACnByb3h5V2F2ZXMBAAAABBOr2TMEAAAACXJlY292ZXJ5MQEAAAAgPQc4UdhdikIHYLxGMNjybed0GVvxaKGhgvDW28dXCCsEAAAACXJlY292ZXJ5MgEAAAAgPQc4UdhdikIHYLxGMNjybed0GVvxaKGhgvDW28dXCCsEAAAACXJlY292ZXJ5MwEAAAAgPQc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kaWdpbGlyYVBheQAAAAAAAAAAAQAAAAAAAAAAAAMJAAAAAAAAAgkAAGQAAAACBQAAAAJzMQUAAAACczIAAAAAAAAAAAIGCQAAAgAAAAECAAAAF0ludGVncml0eSBDaGVjayBGYWlsZWQhCQEAAAAIcmVjb3ZlcnkAAAAAHZWHww==", "chainId": 84, "height": 1384590, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HzeQUqUbwY8EgqiBYisLvAc1GQzwWH3D7NcqbQaptrUi Next: none Diff:
OldNewDifferences
121121 }
122122 else {
123123 let prolog = "Transfer to not DigiliraPay recipient: "
124- if (isFeeSponsorToken)
125- then throw((prolog + "Sponsor Token cannot be used."))
126- else if (isFeePaymentToken)
127- then throw((prolog + "Payment Token cannot be used."))
128- else if (myStatusBanned)
129- then throw((prolog + "This account has been suspended."))
130- else if (permissionTransferNotDP)
131- then throw((prolog + "This asset cannot be transfered."))
132- else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
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)
133131 }
134132 case t: DataTransaction|SetScriptTransaction =>
135133 let s1 = if (sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey))
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: "
124- if (isFeeSponsorToken)
125- then throw((prolog + "Sponsor Token cannot be used."))
126- else if (isFeePaymentToken)
127- then throw((prolog + "Payment Token cannot be used."))
128- else if (myStatusBanned)
129- then throw((prolog + "This account has been suspended."))
130- else if (permissionTransferNotDP)
131- then throw((prolog + "This asset cannot be transfered."))
132- else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
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)
133131 }
134132 case t: DataTransaction|SetScriptTransaction =>
135133 let s1 = if (sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey))
136134 then 1
137135 else 0
138136 let s2 = if (sigVerify(t.bodyBytes, t.proofs[1], digiliraPay))
139137 then 1
140138 else 0
141139 if (((s1 + s2) == 2))
142140 then true
143141 else throw("Integrity Check Failed!")
144142 case _ =>
145143 recovery()
146144 }

github/deemru/w8io/026f985 
48.73 ms